Commit Graph

49 Commits (f9ec44ad97cc55f2e85419faadcfb01782bb5d7f)

Author SHA1 Message Date
Jens Ulferts d57fc17e00 fix showing labor costs when user only has the own_hourly_rate permission 9 years ago
Jens Ulferts 07f8231055 adapt representer spec to changed implementation 9 years ago
Jens Ulferts 7a3fbf3be6 remove user specific permission checks in tests 9 years ago
ulferts 04b9c94388 Feature/add cost attributes to work package api (#239) 9 years ago
Jens Ulferts c6007aa42c move spec to appropriate place 9 years ago
ulferts f929a6d7e0 alter representer cache key based on whether the costs module is activated (#236) 9 years ago
Oliver Günther 5341e2348b Remove current_user requirement for schema data 9 years ago
Jens Ulferts 7fa122f6d2 register costs associations for eager loading in representer 9 years ago
Oliver Günther 364def1f8c Set required=false 9 years ago
Oliver Günther 703a3f7f24 Create object for path helper 9 years ago
Markus Kahl ef27046915 only seed cost permissions for members once 9 years ago
Jan Sandbrink 4d40c029ee Adapt to enforced current_user in representers 9 years ago
Jan Sandbrink 5268a54a49 Fix spec for WorkPackageRepresenter 9 years ago
Jan Sandbrink 3b7d095a3d adapt to core changes w.r.t. APIv3 registration 9 years ago
Alex Coles ccb4268793 Normalise syntax with Rubocop 9 years ago
Jan Sandbrink 8f38951cf7 actually link aggregation endpoint and add specs 10 years ago
Jan Sandbrink 2c9602690f actually add cost entry endpoints 10 years ago
Jan Sandbrink 06c18ea305 provide minimal API for cost entries 10 years ago
Jan Sandbrink caf43b472f provide clean API for cost types 10 years ago
Alex Coles c44b17fd0d Convert specs to RSpec 3.2.0 syntax with Transpec 10 years ago
Jan Sandbrink c16d9cb51c include overallCosts in schema 10 years ago
Jan Sandbrink 0d74439f9a rename the link to the budget of a work package 10 years ago
Jan Sandbrink f57c683dcc copy shared example from core 10 years ago
Jan Sandbrink 4d012f2a6f modify visibility of spentTime in schema 10 years ago
Jan Sandbrink 24e858c396 include schema for budget 10 years ago
Jan Sandbrink 897dd0b078 add real endpoint for budgets 10 years ago
Jan Sandbrink 309b9764b3 rename cost_objects to budgets in API 10 years ago
Hagen Schink 1914e5fdf4 Test fractional hours 10 years ago
Jens Ulferts 752df734de also show spentTime value if the user has view_own_time_entries 10 years ago
Jens Ulferts 6fc0c2f8ce removes custom implementation of estimated hours 10 years ago
Hagen Schink e59e6ef05c Test cost entries created for varying user/project 10 years ago
Hagen Schink a86f311c10 Remove dependency to reform models from specs 10 years ago
Hagen Schink 9927072cc7 Adapt WP model changes in core 10 years ago
Hagen Schink 33952f34f1 Test deactivated cost module behavior for API 10 years ago
Hagen Schink 307defd3a3 Add WP representer test for 'log_cost' action link 10 years ago
Hagen Schink 0badc9552c Fix copyright header 10 years ago
Hagen Schink 5bcdd327cc Adapt core changes to API v3 10 years ago
Hagen Schink 92aecdfcc3 Test summarized cost entries 10 years ago
Hagen Schink 55551971fb Add work package representer spec 10 years ago
Hagen Schink 4df7e7bfd7 Add cost object representer spec 10 years ago
Hagen Schink ebc7a4a0eb Add cost object model spec 10 years ago
Jens Ulferts 84e89f0b90 completely removes custom allowance evaluation (granular_for, inheritance) 12 years ago
Jens Ulferts 8f2cb9bcec prevents exponential calls when having a permission that has a 12 years ago
Jens Ulferts 3d4ea2c4cc split up costlog controller edit into new, create, edit, update 13 years ago
Jens Ulferts a762a8d9af specfix: restoring original permissions so they do not interfere with other tests 13 years ago
Jens Ulferts 7a3f52f34c rewritten allowed_to? modification to be compatible with new core implementation 13 years ago