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
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
cd09cce7a4
when recurring todos always use midnight for "show from"
...
fixes #1940
2015-12-13 15:44:40 +01:00
Matt Rogers
3468d1ec13
Merge branch '2.3_branch'
2015-12-08 20:14:33 -06:00
Matt Rogers
c4836672c8
Merge pull request #1909 from C-Otto/tracks-1881
...
Activate successors on predecessor destroy
2015-12-08 20:02:06 -06:00
Matteo Giaccone
e60c25f8a2
Port top navigation bar to Bootstrap
2015-12-02 12:42:18 -06:00
Dan Rice
0f168b430e
Fix link in projects RSS feed
2015-10-11 16:46:21 -04:00
Matt Rogers
e71d81e129
Merge pull request #1924 from dnrce/namespace-legacy-css
...
Namespace the legacy CSS
2015-09-01 14:11:44 -05:00
Dan Rice
0ca0317a7f
Namespace the legacy CSS
2015-08-30 22:31:03 -04:00
Dan Rice
dbd2aa71b3
Merge branch '2.3_branch'
2015-08-30 11:43:10 -04:00
Nascher
dd6698b8a1
Update the maximum password length
2015-08-29 23:58:02 +00:00
Nascher
4632208699
Increase the maximum password length
2015-08-29 18:36:12 +00:00
Matt Rogers
9a18705f70
Merge pull request #1911 from matjack1/empty-project
...
Default project should be empty
2015-08-25 20:46:45 -05:00
Dan Rice
48c1d7c214
Merge pull request #1920 from TracksApp/incremental-bootstrap-ui
...
Add in Bootstrap for UI bits
2015-08-21 08:52:47 -04:00
Matt Rogers
dd6b9f0359
Merge pull request #1917 from lrbalt/fix-content-type-attachment
...
remove old hack to set content type to application/html
2015-08-20 11:23:21 -05:00
Reinier Balt
0602634ae3
Fasterer: Use #cover? instead of #include? on ranges
2015-08-19 15:42:14 +02:00
Reinier Balt
bb006f98c1
Using tr is faster than gsub
...
Using tr is faster than gsub when replacing a single character in
a string with another single character.
Also freeze constant strings
2015-08-19 15:24:35 +02:00
Reinier Balt
d3aa73f783
first select than sort
...
sorting on a smaller collection is faster
2015-08-19 15:21:11 +02:00
Reinier Balt
405ad5a79f
Fasterer: Enumerable#sort is slower
...
Enumerable#sort is slower than Enumerable#sort_by
2015-08-19 15:19:47 +02:00
Reinier Balt
5092b388fe
Fasterer: Parallel assignment is slower
...
Parallel assignment is slower than sequential assignment.
Only got the low hanging fruit. There are some functions that
have multiple return values. Fixing this needs more refactoring.
2015-08-19 15:12:52 +02:00
Reinier Balt
9f81e1a5c3
fasterer: Use attr_reader for reading ivars.
2015-08-19 14:52:13 +02:00
Reinier Balt
0d224a5fe9
fasterer: hash#fetch with block is faster
...
hash#fetch with block is faster than hash#fetch with
second parameter
2015-08-19 14:49:52 +02:00
Reinier Balt
ddd9c07d3b
Fasterer: Use &:symbol is faster
...
Calling argumentless methods within blocks is slower than using
symbol to proc.
2015-08-19 14:48:31 +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