Commit graph

317 commits

Author SHA1 Message Date
Jyri-Petteri Paloposki
a6d70a05a1 Add Obsidian support to the link sanitation 2022-01-31 12:10:58 +02:00
Jyri-Petteri Paloposki
01e09f8708 Ruby 3 compatibility fixes 2022-01-03 21:36:01 +02:00
Jyri-Petteri Paloposki
406fdf2335 Fix a coding style error by CodeClimate 2021-08-26 13:22:28 +03:00
Jyri-Petteri Paloposki
5a6ee73d7d Precompile datepicker i18n files for each language.
Not an optimal solution, because it uses files from our own repository instead of the bundle, but found no other solution for now.
2021-08-26 12:49:40 +03:00
Jyri-Petteri Paloposki
49660a0546
Merge pull request #2514 from TracksApp/code_style
More code style fixes
2021-01-06 12:46:18 +02:00
Jyri-Petteri Paloposki
31aa6e6516 Make a few string and help page translatable. Fix the recurring todo dialog close button. 2021-01-06 11:17:08 +02:00
Jyri-Petteri Paloposki
d4c9041ccd More code style fixes 2021-01-06 03:47:35 +02:00
Jyri-Petteri Paloposki
e1be3b8a95 Fix the jquery-ui datepicker i18n files' asset compilation 2021-01-05 19:40:28 +02:00
Jyri-Petteri Paloposki
67a426a2e9 More code climate style fixes 2020-10-10 15:24:01 +03:00
Jyri-Petteri Paloposki
d8acf60049 Code style fixes 2020-10-10 05:14:24 +03:00
Jyri-Petteri Paloposki
9982217ee9 Add theme selector to preferences and return the previous black theme as an alternative 2020-08-20 02:46:45 +03:00
Jyri-Petteri Paloposki
ea6c11c3a4 Add the style parameter 2020-08-19 12:03:44 +03:00
Jyri-Petteri Paloposki
46b8d3ce9f Allow the user to delete their own account 2020-08-11 01:18:10 +03:00
Jan-Yves Ruzicka
c66ce02cb6 Refactor todos_controller and todos_helper to use @original_item
Project uses properties of @original_item over a number of similar-named
variables (eg. @original_item_description, @original_item_was_pending, etc.)

Have left in @original_item_due_date and @original_completed_period as these
are more complex, and not simply properties of the todo item.
2019-11-17 16:03:40 +13:00
Jyri-Petteri Paloposki
0cfa0e65f2 #2242: Fix the JS procedure run on add form submission by changing the context ID to the new format. 2019-06-28 13:53:24 +03:00
Matt Rogers
ece584c3f6
Merge pull request #2235 from ZeiP/preferences_fixes
Fix the preferences form: Labels' for attributes, boolean fields and …
2019-06-13 18:57:03 -05:00
Jyri-Petteri Paloposki
dad7fdf006
Merge pull request #2055 from scriptythekid/master
make drag&drop todos from/to contexts work again  - fix #2054
2019-05-22 22:46:51 +03:00
Jyri-Petteri Paloposki
22530a6b80 Fix the preferences form: Labels' for attributes, boolean fields and autofill of the new password field 2019-05-22 03:36:27 +03:00
Jyri-Petteri Paloposki
1e0f1bd611 Change context element IDs to use underscore instead of just the c prefix 2019-05-22 01:28:50 +03:00
Steven R. Baker
1461a3a10c The actual link should be URI escaped, not HTML escaped. 2019-05-13 18:59:39 +02:00
Matt Rogers
c3a13bca16
Fix the undefined reference to Staleness
Not sure what's going on with Rails' autoloading here, so fix it the
ruby way by using plain ol' `require`
2018-11-12 08:55:42 -06: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
scripty
9c28bc737c make drag&drop todos from/to contexts work again 2017-01-21 00:32:59 +01: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
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
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
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
a07567086c Add flash styling of the login page. 2015-12-15 20:02:53 -06: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
Matt Rogers
5342877caf Merge pull request #1865 from C-Otto/tracks-1840
Show links to context/project also for completed actions
2015-08-07 21:06:27 -04:00
Matt Rogers
4c24c4cd18 Merge pull request #1886 from C-Otto/tracks-1878
Ignore time, so that one can always defer to the due date
2015-08-07 21:03:45 -04:00
Matt Rogers
50421fc19b Merge pull request #1825 from C-Otto/sort-containers
Sort containers
2015-08-07 20:35:54 -04:00
Matt Rogers
3d77e11a87 Merge pull request #1853 from C-Otto/tracks-1851
Do not open 'new note' form when clicking unrelated links
2015-08-07 20:34:08 -04:00
Matt Rogers
a9023960fc Merge pull request #1848 from C-Otto/tracks-1847
Fix description of monthly recurring tests
2015-08-07 20:29:40 -04:00
Matt Rogers
f393afb69f Merge branch '2.3_branch'
This brings the master branch up to date with the 2.3 release branch
2015-08-07 20:27:14 -04:00
Matt Rogers
dcc13981cc Merge pull request #1874 from C-Otto/tracks-1835
(2.3) remove all tab indices
2015-08-07 20:03:47 -04:00
Matt Rogers
1c0a70df75 Merge pull request #1903 from lrbalt/fix-test-errors
Fix failing tests for non-UTC timezones
2015-08-07 19:50:58 -04:00
Reinier Balt
f2c6c2d3af show attachment in view and make it downloadable 2015-08-05 16:05:56 +02:00
Reinier Balt
e58379e81f This fixes failing tests when the timezone is different than utc
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
  date verbatim
* calling a controller will set the timezone to the preference of the
  current_user. So it could be changed while you do not realize this. I
  fixed the failing test, but problems could be elsewhere
2015-08-05 11:50:33 +02:00
Dan Rice
8dd4970b0c Merge branch '2.3_branch' 2015-06-14 18:20:08 -04:00
Carsten Otto
050b3c7ed9 remove all tab indices
fixes #1835
2015-05-25 12:08:23 +02:00
Carsten Otto
2630f84bb1 use generic CSS class for links in (div) container headers
Fixes #1851
2015-05-24 14:57:48 +02:00
Carsten Otto
0adad47857 re-add action in correct container if context is changed
fixes #1804
2015-05-22 23:02:47 +02:00
Carsten Otto
46cb8589f8 Ignore time, so that one can always defer to the due date
Fix #1878
2015-05-22 21:07:59 +02:00
Carsten Otto
9137404243 show links to context/project also for completed actions 2015-05-14 00:37:38 +02:00
Carsten Otto
e66f1a156a refactor 2015-05-09 19:06:08 +02:00