Commit graph

3587 commits

Author SHA1 Message Date
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
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
1f36c27af8 small cleanups 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
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
Dan Rice
8e13059df1 Further improve time comparison in Project model 2014-03-30 21:49:12 -04:00
Dan Rice
ece69b8540 Use Date class to assist with date math in Project model
Fixes an intermittent failure in ProjectTest#test_age_in_days
2014-03-30 17:26:31 -04:00
Reinier Balt
8c90dd8f48 Merge pull request #217 from zoombody/crypted_pws
Add rake task to check for deprecated password hashes
2014-03-30 22:42:09 +02:00
Dan Rice
1a593d9796 Add rake task to check for deprecated password hashes 2014-03-30 15:02:41 -04:00
Dan Rice
64fddeaf7a Rename the tracks rakefile to match the namespace 2014-03-30 14:41:37 -04:00
Matt Rogers
e15d3f9e9b Update db/schema after running db:migrate from scratch 2014-03-22 08:53:14 -05:00
Reinier Balt
b543f530e8 add recent schema.rb 2014-03-04 17:08:22 +01:00
Reinier Balt
6077af3ed0 update gems including rails 2014-03-02 14:20:21 +01: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
a14686d1e2 Merge pull request #215 from maqiv/master
Added possibility to add tracks as webapp on chrome mobile.
2014-02-17 13:47:15 +01:00
maqiv
35d48ea4c4 Added possibility to add tracks as webapp on chrome mobile. 2014-02-17 13:38:49 +01:00
Reinier Balt
a67f88bcfa restore reset_password rake task 2014-02-09 14:56:05 +01:00
Reinier Balt
e0336f578e update Tolk to github master for rails 4 support. It currently needs protected_attributes
gem.
2014-02-09 14:39:36 +01:00
Dan Rice
a54f958f0d Fix a typo in the upgrade doc 2014-02-04 23:45:08 -05:00
Reinier Balt
1649d95374 update gemfile again and fix failing test 2014-01-31 17:44:54 +01:00
Reinier Balt
d14dc9a00c update Gemfile 2014-01-27 20:06:32 +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
Matt Rogers
76b0ec024a Merge pull request #214 from maddentim/fixes-recurring
Fix #1451 recurring todo overlay z-index to be on top of topbar
2014-01-24 19:50:24 -08:00
tim madden
311e63ddd1 Fix recurring todo overlay z-index to be on top of topbar 2014-01-24 16:42:14 -06:00
Reinier Balt
6238029b55 fix regressions 2014-01-11 14:33:14 +01:00
Reinier Balt
3b673f0838 fix some failing cucumber tests 2014-01-09 11:18:33 +01:00
Reinier Balt
def136374c fix regression. Still need to add test to controller tests 2014-01-09 08:05:14 +01:00
Reinier Balt
908149ea61 some features that were wip-ed because of cucumber issues seem to pass 2014-01-08 22:04:40 +01:00
Reinier Balt
5dabde222e dry previous commit even further 2014-01-07 20:49:37 +01:00
Reinier Balt
a23587370d remove some duplication in todos_controller 2014-01-07 20:42:19 +01:00
Matt Rogers
16f721aefb Remove an unneeded eval for an instance variable 2014-01-04 12:22:20 -06:00
Matt Rogers
3591911d7d Remove trailing whitespace 2014-01-04 12:22:20 -06:00
Reinier Balt
50dcbe92e0 force travis to use recent bundler to support ruby 2.1 2014-01-03 14:49:25 +01:00
Reinier Balt
8da5e5c220 fix #1446 by adding xml to path for google gadget on integration page 2014-01-02 20:01:05 +01:00
Reinier Balt
008d3d4c3d fix mysql error on old migration. prevented ci from running 2014-01-02 19:41:02 +01:00
Reinier Balt
77778da0f8 fix #1450 by adding CSRF-token to the mobile forms 2014-01-02 16:45:37 +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
Reinier Balt
17dca39d3a update gems and fix i18n and aasm deprecation warnings 2013-12-30 20:52:35 +01:00
Matt Rogers
b1c306b09e Fix the repo location in the install documentation 2013-11-05 19:24:39 -06:00
Reinier Balt
872ab50f83 Merge pull request #212 from GregSutcliffe/master
Extend Email subject format with new fields
2013-10-16 23:40:34 -07:00
Greg Sutcliffe
2f043911c6 Extend RichMessage format to include other data
Uses new Regex to detect:

 @ context
 ~ project
 > tickler-date
 < due-date
 # tag (repeatable)
 * (starred)
2013-10-16 21:25:47 +01:00
Matt Rogers
1441d53808 Compare against an array instead of joining them into a string
No need to create a string out of them to get a good comparison
2013-10-15 20:03:01 -05:00
Matt Rogers
9fd4b845de Don't depend on the environment in the test 2013-10-15 20:02:52 -05:00