63 Commits

Author SHA1 Message Date
as-op d73d46bdda [#42761] Date formatting in XLS export from Cost Report is wrong
https://community.openproject.org/work_packages/42761
2025-08-20 15:14:48 +02:00
Klaus Zanders 8a8a1ad1e1 Fix Excel export of costs 2025-07-09 10:41:20 +02:00
ulferts c8c725437f adapt cost reports date handling - date from database 2025-03-04 21:27:46 +01:00
Alexander Brandon Coles 1d707895c6 Grammar fixes in code, docs: possessive its/it's
- **it's** is a contraction of _it is_ or _it has_. It requires an
apostrophe.
- **its** is the posssive form of _it_, denoting ownership. It should
not use an apostrophe.
2025-02-12 06:36:46 -03:00
Klaus Zanders cb97863bbc fix routing specs 2024-11-21 13:54:50 +01:00
Klaus Zanders d7f5496b6c fix all usages of Setting.plugin_costs 2024-11-21 13:54:47 +01:00
Ivan Kuchin fa5d03eae0 rubocop safe autocorrect all except Rails/WhereRange 2024-05-30 19:54:08 +02:00
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Oliver Günther 56f6c926eb Fix XLS export with empty activity 2023-12-19 09:33:37 +01:00
Klaus Zanders f64fde1c15 Fixes Performance/StringReplacement offenses 2023-09-06 13:08:22 +02:00
Oliver Günther 363a4cf8f8 Move export functionality into reporting module to avoid patching 2023-07-13 15:28:41 +02:00
Oliver Günther 8b33f119b4 Perform Cost reports XLS export in background 2023-07-13 15:28:41 +02:00
Christophe Bliard 3967b051e8 Bump ruby to 3.2.0 2022-12-29 18:21:52 +01:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +02:00
ulferts 6ad2713141 avoid autoloading ApplicationHelper during initialization 2022-04-04 16:04:46 +02:00
Oliver Günther e904a7e59d Add representation formats to API 2021-11-02 16:15:03 +01:00
Oliver Günther 9dc267f9c6 Add basic XLS exporter for projects 2021-11-02 16:15:01 +01:00
Oliver Günther eb4d7a19d9 Add CSV project export functionality 2021-11-02 16:14:59 +01:00
Oliver Günther d86aded425 Prepare export structure to allow more models to provide exporters 2021-11-02 16:13:34 +01:00
luzpaz 2ae53bd252 Fix typos in user facing and non-user facing code (#9497)
* Fix typos in user facing and non-user facing code

Found via `codespell -q 3 -S ./config/locales -L ba,nd,parms,sur,varius`

* Fix strings in specs
2021-07-21 17:26:31 +02:00
Henriette Darge 2ee3a06c63 * Remove dead links (#9453)
* Use .org website address consistently
* Remove community address as homepage as it does not really offer any value
2021-07-14 15:51:09 +02:00
Oliver Günther af4922ebf6 [37124] Add formatter classes for estimated hours and generalize (#9252)
Only xls exporter had formatter classes which are generic enough
to replace all other exporter formating methods.

https://community.openproject.org/wp/37124
2021-05-12 09:25:42 +02:00
ulferts 5cb227796c Fix/hook service to openproject (#9214)
* move specs from legacy

* move Hook into OpenProject namespace

* replace class variables
2021-05-03 20:58:15 +02:00
ulferts 1bdd2ab9ae safe automatic fixes by rubocop (#8994) 2021-02-11 16:02:18 +01:00
ulferts 6826f90ee2 Feature/remove timelog (#8557)
* rename costs, introduce budgets

* move files from costs to budgets

* rename cost_object to budget

* remove unused code

* move hook - should be turned into standard code in the long run

* move type attributes change over to budgets

* move patch to work_package proper

* move budget menu item up

* combine reporting, time and cost module

* remove rails based time_entries & reports code

* rename cost object filter

* adapt menu spec expectations

* use cost project module name in administration

* include timeline labels in migration

* properly place budget linking method

* fix permitted params

* remove outdated routing spec

* adapt budget request specs

* ensure order of descendent updates

* remove outdated specs

* fix checking for reporting to be enabled

* fix displaying spent units

* fix time entries activity event url

* reenable current rate tab

* fix path on budget page

* allow bulk editing of budgets only in one project scenario

* fix sanitizing reference in controller

* include module required for format_date

* fix reference to correct units from work package spent units

* linting

* remove outdated spec

* remove outdated views and permission references

* remove acts_as_event from time_entries

There is no atom link for time entries

* remove acts_as_event from projects

There are no atom links for projects

* introduce budget filter for cost reports

* remove actions added to removed controller

* move time entries to the costs module

* factor in view_own permission when calculating time entry visibility

* linting

* move mounting of time entries

* include budgets into api v3 documentation
2020-08-18 08:24:34 +02:00
Oliver Günther a1b9a1415f Merge remote-tracking branch 'origin/release/10.6' into dev 2020-05-18 11:14:52 +02:00
Henriette Darge a61bcc7132 Rename cost reports module && Correct author_urls 2020-05-15 15:06:21 +02:00
ulferts ceb2e61733 use 2 decimal points precision for numbers in cost xls export 2020-05-14 17:15:32 +02:00
ulferts 7709c5b84c sort by date & id on time entry xls export (#8339) 2020-05-05 11:54:07 +02:00
ulferts 97901d721b allow underscore in xls export (#8313) 2020-04-27 07:35:53 +02:00
ulferts 4cb0d0ff91 Feature/delayed bcf export (#8275)
* delayed bcf export

* remove unnecessary eager loading

* Update rxjs polling statement with loading indicator

* Avoid error handling due to JSON parsing

* delay all wp list exports

Co-authored-by: Oliver Günther <mail@oliverguenther.de>

[ci skip]
2020-04-20 16:16:01 +02:00
ulferts 0b15db3c9a rename fixed_version to version 2020-03-27 09:10:44 +01:00
ulferts 399e8c3ed9 rename according to zeitwerk 2020-02-21 20:47:25 +01:00
ulferts 9e2287bfcc rename and inflect according to zeitwerk 2020-02-21 20:47:24 +01:00
ulferts 20847e19af escape invalid xls worksheet names
Apparently the name for an xls worksheet (not to be mistaken with the overall spreadsheet name) can only consist of 31 characters and cannot contain the following characters:

/
\
*
:
?
[
]

Those characters are now escaped by replacing them with a # character and the name is eclipsed, if it would be too long.
2020-02-12 10:09:28 +01:00
ulferts fe3559ae5b no 404 on AR records not found for xls export 2020-02-10 10:00:40 +01:00
ulferts 19c6ee58d2 rename outdated xls export key 2020-02-07 16:44:07 +01:00
ulferts e1a37db428 linting 2020-01-31 15:42:21 +01:00
ulferts 9c42477d5a limit to single xls export format 2020-01-31 15:15:25 +01:00
ulferts 16bfb8465c bold sums 2020-01-30 17:12:15 +01:00
ulferts 62a7122dd2 factor currency affixes into column width calculation 2020-01-30 16:46:19 +01:00
ulferts e49015aaca minimum working version of pivot table export 2020-01-30 14:34:14 +01:00
ulferts de720189fa move xls export trigger to toolbar 2020-01-30 13:32:05 +01:00
ulferts d0cb492197 fix column format for simple report 2020-01-30 13:32:05 +01:00
ulferts 4ba558a962 extract into superclass 2020-01-30 13:32:05 +01:00
ulferts 9dab30fcc2 linting and method extraction 2020-01-30 13:32:05 +01:00
ulferts 77fbf20025 extract method and fix currency 2020-01-30 13:32:05 +01:00
ulferts 5884c740f5 extract methods 2020-01-30 13:32:05 +01:00