Jyri-Petteri Paloposki
86e36b07a6
Fix syntax errors for upgrade of Rails version
2024-06-06 01:43:48 +03:00
Carsten Otto
ed3bca22a4
Remove 'project_hidden' state
...
Compute it using project/context state
Notable change:
todo.hidden? now also returns true if the todo is completed
2016-04-16 09:27:33 +02:00
Jan-Yves Ruzicka
ccf13418f4
Extract rendering to helper method. Shift filename sanitization to controller.
2016-02-02 11:08:12 +00:00
Matt Rogers
3468d1ec13
Merge branch '2.3_branch'
2015-12-08 20:14:33 -06:00
Carsten Otto
e0143cf435
move actual activation to model
...
fixes #1881
2015-08-09 13:47:17 +02:00
Matt Rogers
1c0a70df75
Merge pull request #1903 from lrbalt/fix-test-errors
...
Fix failing tests for non-UTC timezones
2015-08-07 19:50:58 -04:00
Reinier Balt
2bd68fecb7
Create attachment model and hook it up to todo
...
An attachment has write permissions on group so that managing
attachments work from different users in same group, i.e. user apache
and user mail.
2015-08-05 16:05:19 +02:00
Reinier Balt
e58379e81f
This fixes failing tests when the timezone is different than utc
...
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
date verbatim
* calling a controller will set the timezone to the preference of the
current_user. So it could be changed while you do not realize this. I
fixed the failing test, but problems could be elsewhere
2015-08-05 11:50:33 +02:00
Dan Rice
1dbef179a7
Revert breaking commits
...
This reverts the following commits:
319d4b00cd
403cc1015e
37485013a0
d08ffb3806
2015-04-14 23:28:18 -04:00
Reinier Balt
319d4b00cd
fix failing tests with use of localtime
2015-04-13 15:57:57 +02:00
Carsten Otto
12ee2ed5e3
typo
2015-04-13 14:38:09 +02:00
Carsten Otto
cec2e535b2
fix #1754
2015-04-13 14:37:12 +02:00
Reinier Balt
17c5edd7ae
Merge pull request #1783 from C-Otto/bug-1778
...
do not activate already completed todos, fix #1778
2015-04-12 17:27:59 +02:00
Carsten Otto
1609546aa1
typo
2015-03-25 10:12:06 +01:00
Carsten Otto
0edc263c7e
fix #1754
2015-03-24 11:27:36 +01:00
Matteo Giaccone
13f8023ca0
Fix #1724
2015-01-01 18:16:40 -05:00
Matteo Giaccone
2ca90537ae
Fix #1724
2014-12-19 21:17:35 +00: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
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
17dca39d3a
update gems and fix i18n and aasm deprecation warnings
2013-12-30 20:52:35 +01:00
Reinier Balt
edb2ad7077
add missing tests for todo
2013-09-25 16:22:06 +02:00
Reinier Balt
cb46a8461e
fix show_from not being clear when a todo comes from tickler
2013-09-05 12:21:43 +02:00
Reinier Balt
6e654c5d03
fix failing test
2013-09-05 10:53:16 +02:00
Matt Bridges
c2111b2f8e
Extract behavior from Todo.from_rich_message
...
`Todo.from_rich_message` was partially tested from the MessageGateway,
but it is mostly untested and does not belong in Todo due to it's unique
nature. Extract it entirely from `Todo` into it's own dedicated object
for unit testing.
2013-07-18 16:35:51 -05:00
Reinier Balt
4a485558e2
Merge branch 'master' into rails4
...
Conflicts:
Gemfile.lock
config/routes.rb
2013-06-17 09:25:02 +02:00
Reinier Balt
08498fee4f
fix failing tests
...
Includes a monkey patch for Arel that may need to be removed when 4.0.0 final ships
2013-05-13 15:35:21 +02:00
Reinier Balt
0bc9b0397a
move tests to new directory
2013-05-11 23:13:16 +02:00