Commit graph

1509 commits

Author SHA1 Message Date
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
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
Matt Rogers
7652791451 Update the preferences pages to Bootstrap 2016-01-30 13:49:08 -06:00
Matt Rogers
233b7cc7be Merge pull request #1964 from C-Otto/fix-remember-login
fix: remember login
2016-01-21 17:02:45 -06:00
Carsten Otto
461b328402 fix: remember login
fixes #1963
2016-01-21 23:45:38 +01:00
Matt Rogers
42ab5e3000 Merge pull request #1951 from C-Otto/show_from_midnight
when recurring todos always use midnight for "show from"
2016-01-21 16:13:30 -06:00
Carsten Otto
d2931ea7f0 sort current projects by last_reviewed date
fixes #1960
2016-01-21 22:30:48 +01:00
Carsten Otto
33c814e1b9 use local variable where possible 2016-01-17 17:52:28 +01:00
Carsten Otto
a4ef5654e9 explicit loading does not seem to be necessary 2016-01-17 17:51:49 +01:00
Carsten Otto
dc6eed3956 remove instance variable for projects, not necessary 2016-01-17 17:50:04 +01:00
Carsten Otto
94f60ffba4 do not load contexts for review, not necessary 2016-01-17 17:43:31 +01:00
Matt Rogers
d18c6caf34 Remove the legacy footer styles 2016-01-14 14:06:04 -06:00
Matt Rogers
137e36497d Update the footer to be more responsive
Matches the style of the existing footer and makes the links move to the
next line instead of wrapping if the viewport is too small for all of
the footer to fit on one line.

Also moves the footer over to bootstrap styles
2016-01-12 21:37:44 -06:00
Matt Rogers
a07567086c Add flash styling of the login page. 2015-12-15 20:02:53 -06:00
Matt Rogers
89506dbeb7 Redesign the login page
Makes use of both bootstrap and a rendering of the Tracks logo to
provide a bit better experience in term of brand identity as well as
also supporting mobile better.
2015-12-15 20:02:53 -06:00
Carsten Otto
2d8d36f46b when recurring todos always use midnight for "show from"
fixes #1940
2015-12-13 15:45:21 +01:00