Matt Rogers
b5faedb4ff
Use reload to reload AR models
...
Passing a boolean to the model method will stop working in Rails 5.
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:12:23 -05:00
Matt Rogers
506f3f991a
Convert render :nothing => true to head :ok
...
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:06:38 -05: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
Heiner Wohner
3786d12e5a
removes bootstrap css class from main view
2018-09-03 13:30:48 +02:00
Heiner Wohner
5117ec7d99
add searchbar to navbar
2018-09-03 12:39:05 +02:00
ericmoon
6dcaa76f09
cucumber removal
2018-07-24 12:34:55 -07:00
Matt Rogers
a65ab48b9f
Merge pull request #2096 from RyanTruran/origin
...
A more rational way to load the text input with the previous names
2018-01-03 09:31:36 -06:00
Ryan Truran
db7603f799
A more rational way to decode the html entities in editable
...
a more rational way to handle edit fields
revert to previous
add html_safe
2017-12-28 10:01:54 -06:00
Matt Rogers
500892e1a4
Fix the top 10 longest running projects list
...
Sorting by running time without a reverse takes the shortest running
projects.
2017-06-13 17:12:15 -05:00
Carsten Otto
2e89a36345
also update project name in multiple-actions mode
...
fixes #2048
2017-03-19 19:32:23 +01:00
Carsten Otto
b7bada0791
reorder buttons for recurring todos to make the order uniform
...
fixes #2069
2017-03-18 14:42:34 +01:00
Carsten Otto
ccac45b377
fix typo
2017-03-05 13:56:36 +01:00
Carsten Otto
238b2fd670
add missing space
...
bug introduced in c46e5a9e1d
fixes #2063
2017-02-28 22:16:48 +01:00
Dan Rice
55c5d07aff
Limit swf_fu to the stats page
...
Fixes #2061
2017-02-12 15:27:00 -05:00
scripty
9c28bc737c
make drag&drop todos from/to contexts work again
2017-01-21 00:32:59 +01:00
Dan Rice
1ba829e960
Merge branch '2.3_branch'
2016-10-15 13:13:02 -04:00
Matt Rogers
e01872d515
Merge pull request #2016 from C-Otto/fix-feeds-2.3
...
use @not_done_todos for feeds
2016-08-27 10:12:59 -05:00
Matt Rogers
c2296b5b99
Use Arel to generate case insensitve tag searches
2016-08-25 23:10:40 -05:00
Carsten Otto
a2726de78c
fix typo
2016-07-19 19:10:15 +02:00
Dan Rice
5a5d293b80
Fix navbar link title of "Recurring Todos"
2016-06-25 20:16:22 -04:00
Dan Rice
23a22413f5
Load jquery-ui-rails CSS via "require" instead of "import"
...
Fixes #2024 and #2025
2016-06-25 16:55:17 -04:00
Matt Rogers
7748253388
Merge pull request #1910 from dnrce/rails42
...
Upgrade to Rails 4.2
2016-06-14 19:27:18 -05:00
Robin Dickson
67f33b3e39
Remove JS for search input autofocus
...
Previously replaced by HTML5 autofocus.
2016-06-06 16:28:14 +01:00
Robin Dickson
9dc698e775
Convert search page to use bootstrap
2016-06-06 11:23:45 +01:00
Carsten Otto
f26f72272b
remove TODO from code, migrated to #2018
2016-05-29 23:03:58 +02:00
Carsten Otto
6bc9151400
use @not_done_todos for feeds
...
fixes #1726
the name @not_done_todos is wrong and should be replaced in a dedicated fix
2016-05-29 22:59:42 +02:00
Dan Rice
d7d86446c0
Upgrade to Rails 4.2
...
* Update boilerplate with `bin/rake rails:upgrade`
* Use test instead of test:all rake task
* Change stylesheet extensions from .css.scss to .scss
* Update docs to use localhost instead of 0.0.0.0 because Rails 4.2
no longer listens on all addresses by default.
2016-05-22 21:58:52 -04:00
Matt Rogers
fa7f49e399
Revert "Don't include a protocol or domain for relative_to_root"
2016-05-20 22:50:17 -05:00
Matt Rogers
ce453e7e1a
Merge pull request #2010 from dnrce/fix-recurring-todo-dialogs
...
Fix recurring todo dialogs
2016-05-20 22:49:06 -05:00
Matt Rogers
3eaa54a190
Merge pull request #2006 from rbndickson/fix-search-results-heading
...
Fix spacing in search results heading
2016-05-20 22:47:35 -05:00
Dan Rice
091697fe1e
Fix recurring todo edit form formatting
...
Fixes #1938
2016-05-18 17:02:15 -04:00
Dan Rice
1227eaa84c
Move the recurring todo dialog below the navbar
...
Fixes #2007
2016-05-17 22:50:32 -04:00
Dan Rice
4ad65ea079
Only show the date on large displays
2016-05-15 22:37:03 -04:00
Dan Rice
5173f94993
Condense "Admin", "Help", and "Logout" into a single "Options" menu
2016-05-15 22:37:03 -04:00
Dan Rice
1dfdad96fe
Add a helper for fixed-width icons
2016-05-15 22:37:03 -04:00
Dan Rice
73a6925054
Remove the navigation_link helper
2016-05-15 22:37:03 -04:00
Dan Rice
836d790f9f
Replace search icon with glyph
2016-05-15 22:37:03 -04:00
Dan Rice
14a4da8a71
Add Font Awesome icon support
2016-05-15 22:37:03 -04:00
Robin Dickson
f5ae06899f
Fix spacing in search results heading
...
Based on the style used in the projects index page.
Fixes #2003 .
2016-05-15 18:09:06 +01: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
Dan Rice
0843b78d08
Clean up reference to check_for_deprecated_password_hash
...
Ref #1733
2016-02-28 17:58:03 -05:00
Dan Rice
4b046b98ea
Include datepicker i18n only as needed
...
* Restore the javascript_tag_for_i18n_datepicker helper (and actually use it)
* Include the datepicker i18n JS in the asset precompilation list
2016-02-16 22:10:20 -05:00
Dan Rice
5974619185
Avoid using %i, which requires Ruby 2.0
2016-02-16 00:33:37 -05:00
Matt Rogers
fe359cf52e
Merge pull request #1986 from TracksApp/no-domain-name-for-relative-to-root
...
Don't include a protocol or domain for relative_to_root
2016-02-09 16:07:56 -06:00
Matt Rogers
d0c4fee7e4
Don't include a protocol or domain for relative_to_root
...
Tracks uses this javascript method in the application layout called
`relative_to_root` to get relative paths for a lot of Javascript
functions. However, it includes the fully qualified protocol and domain
for the tracks site in question. If you have Tracks proxied through SSL
with nginx, then you get a non-secure URL which causes the Javascript to
not work to fetch things like contexts or projects for autocomplete.
Instead of using the `root_url` helper that Rails provides that won't
know about SSL, just use a normal forward slash instead, so that you
still get a path that's relative to the root instead of a URL.
2016-02-09 15:36:53 -06:00
Carsten Otto
ab5b7af069
quick fix
...
fixes #1982
2016-02-06 00:23:55 +01:00
Jan-Yves Ruzicka
ccf13418f4
Extract rendering to helper method. Shift filename sanitization to controller.
2016-02-02 11:08:12 +00:00
Dan Rice
2ea20d1a1e
Use jquery-ui-rails gem instead of vendored jQuery UI
2016-01-30 16:12:31 -05:00