Commit graph

403 commits

Author SHA1 Message Date
Matt Rogers
04e3aebabe Use rails helpers for the promote to project menu item 2015-02-18 22:07:42 -06:00
Matt Rogers
8bb92833b5 Use rails helpers for the delete dependency menu item 2015-02-18 22:05:05 -06:00
Matt Rogers
6677af6f8f Use Rails helpers for the delete menu item
Instead of creating id and routes manually, use the helpers that Rails
provides in order to do this for us.
2015-02-18 08:24:08 -06:00
Matt Rogers
3bef4daacc Use Rails helpers for the edit button
Instead of creating id and routes manually, use the helpers that Rails
provides in order to do this for us.
2015-02-18 08:22:59 -06:00
Carsten Otto
dfe8735c0d rename repeating -> recurring, repeat -> recurrence 2015-02-10 16:25:27 +01:00
Carsten Otto
d480569629 occurence -> occurrence 2015-02-10 15:49:13 +01:00
Carsten Otto
bef79d135a fix test error message 2015-02-09 23:24:19 +01:00
Carsten Otto
705f307bfb fix typos 2015-02-09 23:24:19 +01:00
Matteo Giaccone
0d6e0efcee Fix warnings for Ruby 2.2 update 2015-01-01 13:43:48 -05:00
Matteo Giaccone
2ca90537ae Fix #1724 2014-12-19 21:17:35 +00:00
Dan Rice
b9f3b9685f Merge pull request #1733 from dnrce/password-hashing
Remove support for deprecated password hashing algorithm
2014-12-14 14:35:32 -05:00
Dan Rice
ea0d40060a Remove support for deprecated password-hashing algorithm
* Remove all methods implementing and checking for the old algorithm
* Document a pre-upgrade step to check for remaining obsolete passwords
* Remove config.salt
2014-11-15 10:28:29 -05:00
Matt Rogers
8d24f5105a Add a Sidebar class to represent the side bar
Start using it throughout the rest of the app instead of the various
instance variables
2014-11-11 19:55:00 -06:00
Reinier Balt
2883d1b7f4 Statistics for longest running projects now includes completed and hidden projects. fixes #1725 2014-11-05 17:07:21 +01:00
Reinier Balt
18b7a467c1 fix #1400 where deleting a user will clean up tags and dependencies too 2014-09-23 16:35:45 +02:00
Reinier Balt
f8d4f85a8c add test for deleting all stuff of a user when this users is deleted. Fixes #1447 2014-09-23 15:47:07 +02:00
Dan Rice
ccc73e80cd Remove migration check, not needed in Rails 4.1 2014-09-12 22:11:54 -04:00
Reinier Balt
1ff6f72a63 update gems and fix failing test
I don't know why the i18n setup code was in there, but it seems to do nothing important
2014-08-06 15:50:26 +02:00
Reinier Balt
ee3ba62152 fix #1712. Number of occurrences was not handled correctly 2014-08-06 14:40:30 +02:00
Reinier Balt
01c4b83101 update gems and fix test regressions 2014-07-18 09:41:27 +02:00
Reinier Balt
1e11d298a3 add basic tests for date label helper 2014-07-18 09:22:24 +02:00
Dan Rice
9125355313 Sync boilerplate with Rails 4.1.4 2014-07-07 21:25:24 -04:00
Reinier Balt
6c09fecd63 fix failing test 2014-07-01 22:45:04 +02:00
Dan Rice
d171e13e24 Bring a few details in line with Rails 4.1 2014-06-19 12:33:38 -04:00
Dan Rice
9b92306252 Return a valid RecurringTodo after creation error
Fixes #1463
2014-06-19 01:17:15 -04:00
Dan Rice
2386e67dec Simplify requiring of test helpers 2014-05-16 18:03:13 -04:00
Dan Rice
d0cec167a8 Replace Timecop with new ActiveSupport helpers 2014-05-16 13:25:22 -04:00
Reinier Balt
595806be87 add parameter to REST api for todos to limit result to active todos. Fixes #1388 2014-05-16 15:33:45 +02:00
Reinier Balt
85cfa1c366 fix running minimal test framework using minitest 2014-05-16 14:33:18 +02:00
Reinier Balt
2430fcb906 fix failing tests
not sure if the to_a fixes to get collections from activerecord is the right way
2014-05-16 14:33:18 +02:00
Reinier Balt
35cab99cea switch to minitest from test/unit
not sure if this is the right change, but tests seem to run
2014-05-16 14:33:18 +02:00
Reinier Balt
0839765e7b smaal refactoring and improvement of date handling in test 2014-03-31 11:22:23 +02:00
Reinier Balt
ed039d4c4a small refactorings and add some tests 2014-03-31 11:09:00 +02:00
Reinier Balt
3cb18cd875 move tests from recurring_todo_test to respective repeat_pattern_tests 2014-03-31 09:43:39 +02:00
Reinier Balt
0c153ef28c improve test of daily repeat pattern 2014-03-31 09:43:39 +02:00
Reinier Balt
a9fa955c33 move daily test to daily pattern test 2014-03-31 09:43:39 +02:00
Reinier Balt
b84adfc172 move recurrence text helpers into patterns. move next_date calculation into
respective models
2014-03-31 09:43:39 +02:00
Reinier Balt
cbdbb792a5 add basis tests for patterns and remove doubles from recurring_todo_test.rb 2014-03-31 09:43:39 +02:00
Reinier Balt
a7807a4b66 dry form_helper using meta programming.
not sure if this improves readability, but codeclimate should be happier...
2014-03-31 09:43:39 +02:00
Reinier Balt
5de96d7eda add some more tests 2014-03-31 09:43:39 +02:00
Reinier Balt
59a29c664a move form specific accessors out of model 2014-03-31 09:43:39 +02:00
Reinier Balt
29b815e998 move model validation into pattern classes and link from recurring_todo model 2014-03-31 09:43:39 +02:00
Reinier Balt
776a046465 move mapping of form attributes to model attributes from pattern to builder to make
pattern independent of form
2014-03-31 09:43:39 +02:00
Reinier Balt
c2c67f1640 use new model to handle updating of recurring todos 2014-03-31 09:43:39 +02:00
Reinier Balt
78c07d52b7 Start major refactoring of recurring_todos. Started with creating new recurring todos.
All current and new tests pass
2014-03-31 09:43:39 +02:00
Reinier Balt
39c52e03b4 fix failing tests
the date in fixtures is not set by timecop. That doesn't help here
2014-02-23 14:03:57 +01:00
Reinier Balt
1649d95374 update gemfile again and fix failing test 2014-01-31 17:44:54 +01:00
Reinier Balt
b15d195c45 fix test regressions. should run all tests before committing :-) 2014-01-26 15:10:36 +01:00
Reinier Balt
63af3bbcfa make todo_from_rich_message time zone aware. test was failing. 2014-01-26 15:05:27 +01:00
Reinier Balt
468274c5d1 fix tests for ruby 2.1 and add 2.1 to ci test matrix 2013-12-31 16:11:32 +01:00