Jyri-Petteri Paloposki
6383c3d998
Replace sass-rails with sassc-rails.
2020-08-19 13:24:34 +03:00
Jyri-Petteri Paloposki
320da8b72a
Compare int to int
2020-08-18 15:27:43 +03:00
Jyri-Petteri Paloposki
2d4ba48ad4
Move the access control to a dedicated helper
2020-08-18 11:51:16 +03:00
Jyri-Petteri Paloposki
0df6f19726
Fixed bug causing context change to hidden returning a server error
2019-05-22 16:09:46 +03:00
Matt Rogers
17f704a074
Convert after_filter to after_action
...
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:04:46 -05:00
Matt Rogers
5805c511bb
Convert render :text to render :body
...
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:03:35 -05:00
Matt Rogers
60ae4f6f5f
Convert before_filter to before_action
...
`before_filter` has been removed in future versions of rails.
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 12:55:27 -05: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
Reinier Balt
f7f10b8a61
remove old hack to set content type to application/html
...
This prevents attachments to be seen as something different than
html content. For example, message/rfc822 for email was being
replaced by application/html causing wrong application to be
started on the client.
2015-08-19 14:27:26 +02: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
Matt Rogers
aa41e20e46
Remove trailing whitespace and tabs
2014-08-14 21:05:05 -05:00
Reinier Balt
bafd55cf09
refactor due date tag on todo for mobile and non-mobile view
2014-07-17 13:56:08 +02:00
Dan Rice
9125355313
Sync boilerplate with Rails 4.1.4
2014-07-07 21:25:24 -04:00
Reinier Balt
3b673f0838
fix some failing cucumber tests
2014-01-09 11:18:33 +01:00
Matt Rogers
16f721aefb
Remove an unneeded eval for an instance variable
2014-01-04 12:22:20 -06:00
Reinier Balt
eaa66be698
fix deprecation warnings
2013-09-13 16:44:59 +02:00
Andrius Janauskas
0150e9f2c3
Refactor session expire method
2013-09-13 16:04:12 +03: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
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
671f64b419
move to strong_parameters of rails4.
2013-05-27 12:44:31 +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
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
Matt Rogers
c1597a7751
Rename to_xml_params to todo_xml_params
2013-04-30 22:52:22 -05:00
Matt Rogers
8fe343cccc
Push to_xml_params down to ApplicationController
2013-04-30 22:50:32 -05:00
Matt Rogers & Katrina Owen
a1b270699d
Extract creation of todos from recurrings todos
2013-04-25 20:45:14 -05:00
Dan Rice
dc311221f1
Render notes using RedCloth without formatize
...
Removes the outdated bluecloth dependency
2013-03-13 17:03:58 +02:00
Reinier Balt
583664be36
remove some dynamic finders (they are deprecated for rails4) and add test for untested method of context.rb
2013-02-25 10:21:04 +01:00
Reinier Balt
1b0d08bbb5
fix timing issues on failing scenarios. Fix deprecated jquery functions and update jqueryui
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2013-02-15 22:27:39 +01:00
Matt Rogers
4d2f25ab20
Refactor the fetching of done todos
...
Move the get_done_today, get_done_this_week, and get_done_this month
methods into their own class in lib/tracks and use the new class in the
context, project, and todo controllers.
This removes the complexity from the application controller, silos it
off, and slightly reduces the complexity of the other controllers so
that they don't have to duplicate as much code.
The tradeoff here is that the code that was moved out into its own class
was also duplicated in the todos controller due to a different use case
that I didn't see before. This is still an improvement however and so
I'm ok with going back and tackling the extra complexity added to
TodoController at a later date.
2012-11-27 23:07:46 -06:00
Dan Rice
5b6cbf566a
Don't sort todos when counting them
...
Grouping isn't as lax in PostgreSQL as it is in MySQL or SQLite. All
sort fields also need to be in the GROUP BY, or be aggregated. The order
isn't relevant when counting, so simply don't order in that case.
Fix #1336
2012-10-04 10:43:22 -04:00
Stefan Hacker
27adccb6e9
Remove unused layout and clear up naming
...
* scaffold.css is only used by login -> rename to login.css
* standard.html.erb is the default application layout -> rename to application.html.erb
* scaffold.html.erb is unused -> deleted
2012-09-02 14:20:17 +02:00
Matt Rogers
7d0c716366
Fix a few typos in the comment
2012-07-13 20:55:53 -05:00
Reinier Balt
bd8498f39c
fix #1287 . Fix various small bugs and some small improvements
2012-06-29 16:48:30 +02:00
Reinier Balt
901a5ff0d2
get project features to pass
2012-05-12 14:48:56 +02:00
Reinier Balt
d7aebf03a0
get context, dependencies and admin scenarios running
2012-05-01 15:45:58 +02:00
Reinier Balt
7bce774daa
get context list scenario passing
2012-05-01 09:39:53 +02:00
Reinier Balt
96db48dd86
get project integrations and login controller tests running
2012-04-30 13:56:40 +02:00
Reinier Balt
e964769553
home page is restored, so is context view
2012-04-30 13:56:37 +02:00
Reinier Balt
86afd42148
Work in progress: has_many_polymorphs does not work with rails 3.2 because of intrusive changes in rails internals. I think we need to rip out this dependency...
2012-04-30 13:56:34 +02:00
Reinier Balt
a83c8b3f92
initial upgrade to rails 3.2.3
2012-04-30 13:56:33 +02:00
Reinier Balt
e74f8842ae
Get more i18n fixed in for he locale. Include fallback to en locale and include pluralization mechanism
2012-04-16 13:19:04 +02:00
Reinier Balt
12d8915eda
Get all non-cucumber tests passing
2012-04-12 12:47:25 +02:00
Reinier Balt
bb8b5a4c72
store rendered notes of todos in database to avoid costly rendering when you load a page
2012-04-12 11:34:08 +02:00
Reinier Balt
f74370aab5
first refactoring of stats controller
2012-01-20 23:34:58 +01:00
Reinier Balt
4b6aff5502
hopefully fix failing recurring todos test. Timezones are a pain to get right
2011-11-16 22:05:06 +01:00
Matt Rogers
b387b27f4a
Show deferred actions on the project listing and sidebar
...
If a project does not have any active actions, then it will now display
that it has x number of deferred actions.
Fixes #1084
2011-10-20 21:05:57 -05:00
Reinier Balt
eb26f4f7b9
fix error on end of each request at cleanup_application
...
declaring self.method caused rails to error
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-30 19:49:18 +02:00
Jan Stępień
5d3829cfbf
Users with SHA-1 hashes are redirected to the password change page
2011-09-07 16:06:03 +02:00