Colin Rymer
c71dc9afc9
remove boolean returning ternary expression
2013-07-18 15:22:46 -05:00
Colin Rymer
c5968b798c
better leverage Hash#each for metaprogramming
2013-07-18 15:13:30 -05:00
Colin Rymer
332589163c
metaprogramming and stylistic changes
...
- Use `define_method` to clean up definition of methods that only
vary by the name of the day they reference and the corresponding
numerical value.
- Remove calls to self, explicit return statements, etc.
2013-07-18 15:01:02 -05:00
Colin Rymer
45df84b739
consolidate validates_presence_of validations
2013-07-18 14:10:14 -05:00
Reinier Balt
c7aa8ca597
add submenu to todos
2013-07-06 13:20:58 +02:00
Reinier Balt
db29b84f69
add keyboard shortcuts and make todos selectable useing j and k
2013-07-01 15:56:54 +02:00
Reinier Balt
b725b7b137
clean up menu bar
2013-06-28 09:46:21 +02:00
Reinier Balt
8e0013d0df
add shortcuts, help dialog and start on add-action dialog
2013-06-27 22:47:34 +02:00
Reinier Balt
972210326a
change look of todo
2013-06-27 22:47:11 +02:00
Reinier Balt
ab0006dc34
initial port of context-show view
2013-06-22 16:04:17 +02:00
Reinier Balt
7da6c6cad4
add navigation to application layout
2013-06-22 13:48:06 +02:00
Reinier Balt
4770857d76
Merge branch 'rails4' into new-gui
2013-06-21 10:20:49 +02:00
Reinier Balt
d64f6e003e
Merge branch 'master' into rails4
...
Conflicts:
Gemfile.lock
2013-06-21 10:20:36 +02:00
Reinier Balt
b6dc330ab0
migrate login page
2013-06-21 10:18:02 +02:00
Reinier Balt
40eb14fc1a
remove niftycorners and superfish
2013-06-21 09:23:39 +02:00
Reinier Balt
a380799d74
remove old assets and archive layout files
2013-06-21 09:02:25 +02:00
Reinier Balt
680872aafc
install bootstrap
2013-06-21 08:53:35 +02:00
Reinier Balt
9bb3702d78
install mousetrap
2013-06-21 08:52:19 +02:00
Reinier Balt
f4908f2b7b
fix cache invariant for grouped todos in context and project view
2013-06-19 17:47:51 +02:00
Reinier Balt
64d3e802f2
fix #1406 . fix #1431 . set recurring_period first before setting other attributes
2013-06-19 16:42:35 +02:00
Reinier Balt
2daffef683
fix failing tests
2013-06-17 10:06:38 +02: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
56b884055f
fix #1270 . if start-from fits the recurrence pattern, the first todo should use the start-from date
...
this is use-case 2 mentioned in the ticket.
2013-06-11 23:38:30 +02:00
Reinier Balt
be1a9528d5
move the two toggle links in top-right to view menu
2013-06-11 16:13:46 +02:00
Reinier Balt
7084c11263
fix failing tests
2013-06-11 15:36:27 +02:00
Reinier Balt
0a57a68a87
Project and context view can now be grouped by context and project (using view menu)
2013-06-11 11:12:21 +02:00
Reinier Balt
9c56416dcb
Merge pull request #184 from mattr-/cucumber-login-backdoor
...
Move the expire_session route
2013-06-10 21:52:25 -07:00
Matt Rogers
931791edfd
Move the expire_session route
...
It's now in the cucumber login helper.
2013-06-10 14:30:12 -05:00
Reinier Balt
0e8552ac4e
fix #1273 . Used the wording suggested in this ticket.
2013-06-05 16:58:52 +02:00
Reinier Balt
651e45d389
merge i18n keys to better support fr locale and update en, fr and nl locale for the change
...
es was updated by tolk, but no changes in content
2013-06-04 11:47:47 +02:00
Reinier Balt
b6e110c917
fix #1422 . Changing default tags of a project is now remembered
...
when not updating the whole page
2013-06-04 10:50:42 +02:00
Reinier Balt
ee9951403e
fix #1419 for master too: do not show new todo that was added with show_from set
2013-06-04 10:31:29 +02:00
Reinier Balt
a8af880647
fix #1417 . We now handle unblocking a todo that is part of a hidden project or context
2013-06-04 10:07:02 +02:00
Reinier Balt
02d4afb724
fix #1429 by correctly handling tags with dots
...
This was a very old regression. This used to work before the rails 3.2 upgrade... Added tests
to prevent future unnoticed breakage
2013-06-03 15:20:13 +02:00
Reinier Balt
671f64b419
move to strong_parameters of rails4.
2013-05-27 12:44:31 +02:00
Reinier Balt
8ffacca393
fix cucumber scenario's.
...
One still fails on Cookie overflow, but works testing by hand...
2013-05-13 17:13:26 +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
80974fb0d5
empty non-saved project caused rss builder to fail
2013-05-13 12:50:10 +02:00
Reinier Balt
54b106d96b
remove use of .all on model
2013-05-13 12:33:01 +02:00
Reinier Balt
1234abb266
taggable_type should be accessible for test
2013-05-13 12:32:41 +02:00
Reinier Balt
ebff4cfc0c
start fixing deprecation warnings
2013-05-11 23:13:32 +02:00
Reinier Balt
0d0b36de29
remove duplication in feedlist controller
2013-05-11 10:49:38 +02:00
Reinier Balt
cdfb65d529
remove duplication of all_done_todos and done_todos in project and context container
2013-05-11 10:38:34 +02:00
Reinier Balt
101268f504
Introduce #onsite_redirect_to helper for onsite redirects
...
Prefer #onsite_redirect_to to #redirect_to when using untrusted input (e.g. cookies) in the redirect destination
Thanks @brynary
2013-05-07 09:41:48 +02:00
Reinier Balt
78f81ed29f
Do not symbolize arbitray locale params
...
* Validate locale is valid before assigning it
* Don't convert invalid locales to symbols (creates DoS risk)
thanks @brynary
2013-05-07 09:29:47 +02:00
Reinier Balt
0cc41bda87
Disable #yaml_import action for now
...
This was dead code anyway
thanks @brynary
2013-05-07 09:07:57 +02:00
Reinier Balt
7efb155928
fix regression
2013-05-05 20:54:12 +02:00
Reinier Balt
ccdaae038b
small refactorings
2013-05-05 20:32:32 +02:00
Reinier Balt
89cdfbc606
fix failing tests on ruby 1.9.3
...
funny, this is the first one not failing on 2.0.0 but failing on 1.9.3. Thanks for Travis!
2013-05-04 13:44:45 +02:00
Reinier Balt
5cfa115cdc
small refactorings
...
fix passing params in use of _collection
2013-05-03 21:54:03 +02:00