Reinier Balt
d769f27e9e
change message gateway to save received email as attachment to the todo
2015-08-04 12:57:13 +02:00
Reinier Balt
8c17578f38
add attachment model and add paperclip
2015-08-04 12:57:13 +02:00
Reinier Balt
47c686ce8e
refactor adding attachments in message_gateway
...
and remove gsub magic with correct tempfile parameter
2015-08-04 12:56:23 +02:00
Reinier Balt
42840bd661
add attachment model and add paperclip
2015-08-04 12:50:56 +02:00
Reinier Balt
eb4624ff69
set permissions on attachments so that users in same group can handle the attachments
...
if you run MessageGateway under user mail and Tracks under user apache, you cannot
delete attachments from the web ui since the default permissions is read-only. To
delete an attachment, you need w permission on the directory containing the
attachment
2015-08-04 12:47:31 +02:00
Reinier Balt
8226be68b3
fix failing tests
...
* tests failed on a local changes site.yml
* somehow universal_newline leaves \r, so bring back gsub to remove them
2015-08-04 12:47:31 +02:00
Reinier Balt
d2a6af63bd
refactor adding attachments in message_gateway
...
and remove gsub magic with correct tempfile parameter
2015-08-04 12:47:30 +02:00
Reinier Balt
a28edbd5d6
make attachments accesible from user model and fix cleaning up attachment on destroy
2015-08-04 12:46:38 +02:00
Reinier Balt
4d7c453ca7
change message gateway to save received email as attachment to the todo
2015-08-04 12:46:38 +02:00
Reinier Balt
76de5bf2b3
add attachment model and add paperclip
2015-08-04 12:46:38 +02:00
Carsten Otto
cc88d24d79
Projects with completed actions may be blocked
...
Currently, a project cannot be blocked if at least one completed
action exists. This was introduced in
acab98d4c7 ,
and I assume this change was not intended
2015-04-15 20:46:53 +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
d08ffb3806
do not compare at_midnight in different timezones.
...
Use localtime to make sure both dates are in the
same timezone
2015-04-13 15:35:09 +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
0edc263c7e
fix #1754
2015-03-24 11:27:36 +01:00
Carsten Otto
cfdafc69e3
do not activate already completed todos, fix #1778
2015-03-24 11:27:17 +01: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
Dan Rice
7f1246f42f
Make User.projects.actionize deterministic
...
Add project.id to the comparison to ensure consistent order when
counts are identical.
2015-01-03 18:12:11 -05: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
Matt Rogers
aa41e20e46
Remove trailing whitespace and tabs
2014-08-14 21:05:05 -05:00
Reinier Balt
ee3ba62152
fix #1712 . Number of occurrences was not handled correctly
2014-08-06 14:40:30 +02:00
Reinier Balt
bafd55cf09
refactor due date tag on todo for mobile and non-mobile view
2014-07-17 13:56:08 +02:00
Reinier Balt
cb8aba80ca
fix #1462
...
I do not understand why this works for daily but not for weekly repeating todos
2014-07-01 22:38:23 +02:00
Dan Rice
9b92306252
Return a valid RecurringTodo after creation error
...
Fixes #1463
2014-06-19 01:17:15 -04:00
Dan Rice
622291d98d
Purge UserTime from app/*
2014-06-12 21:24:31 -04:00
Reinier Balt
0f5a11882e
fix deleting dependencies
2014-05-16 16:14:50 +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
Dan Rice
1b3543c5de
Add stub for NullProject.persisted?
2014-05-06 21:51:39 -04: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
b84adfc172
move recurrence text helpers into patterns. move next_date calculation into
...
respective models
2014-03-31 09:43:39 +02:00
Reinier Balt
d8507bf8b7
move as_text helpers to respective pattern
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
5de96d7eda
add some more tests
2014-03-31 09:43:39 +02:00
Reinier Balt
b23338eaa2
fix updating of recurring todo and create a form helper for filling the recurring todo edit
...
form
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
bad91e8d10
make validations a bit more dry
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
00af159be7
remove unused code and refactor builder to remove duplication
2014-03-31 09:43:39 +02:00