Jyri-Petteri Paloposki
fa9d517e59
Parse the session expiry time to a Time instead of DateTime to allow comparison.
2021-08-31 00:25:53 +03:00
Jyri-Petteri Paloposki
06de71c5bb
Fix the logic for no recurring events label broken in a7d8b3c95.
2021-01-13 14:27:10 +02:00
Jyri-Petteri Paloposki
971ef477e5
Make a few more targets translatable. Tracks should now be pretty close to fully translatable.
2021-01-11 00:15:44 +02:00
Jyri-Petteri Paloposki
d4c9041ccd
More code style fixes
2021-01-06 03:47:35 +02:00
Jyri-Petteri Paloposki
45f5c1d3a4
Merge pull request #2535 from TracksApp/bug/2534_calendar_due_fix
...
#2534 : Fix setting the due date in the calendar view.
2021-01-05 07:33:26 +02:00
Jyri-Petteri Paloposki
680fc3df8b
#2534 : Fix setting the due date in the calendar view. Reverts abad8c7 partly.
2020-12-27 17:15:15 +02:00
Jyri-Petteri Paloposki
03ab384b9c
Fix the tag-specific listing to fetch the user's specific tag instead of the first one in a multi-user environment.
2020-12-11 17:55:54 +02:00
Jyri-Petteri Paloposki
371f8d5adf
Coding style fixes
2020-10-27 21:00:19 +02:00
Jyri-Petteri Paloposki
c4d7169cb8
Allow changing the ordering of the user list
2020-10-23 00:44:06 +03: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
abad8c77ee
#2472 : Fix fetching calendar ID on task update. Didn't figure out when this has been broken – could be c66ce02cb, but not sure how.
2020-09-06 14:06:57 +03:00
Jyri-Petteri Paloposki
e3b064638c
#2471 : Fix a syntax error probably caused by c66ce02cb when @original_item is nil
2020-09-06 02:25:22 +03:00
Jyri-Petteri Paloposki
bbb9fc8809
Make LIKE searches case-insensitive also on PgSQL
2020-09-05 02:17:32 +03:00
Jyri-Petteri Paloposki
0e5da18b71
Merge pull request #2453 from TracksApp/dependabot/bundler/aasm-5.1.1
...
Bump aasm from 4.12.3 to 5.1.1
2020-08-25 17:55:28 +03:00
Jyri-Petteri Paloposki
a0768636c3
Try fixing a few test deprecations
2020-08-20 19:33:46 +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
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
95cb7ec799
Fix tests and add more comments
2020-08-11 11:50:35 +03:00
Jyri-Petteri Paloposki
46b8d3ce9f
Allow the user to delete their own account
2020-08-11 01:18:10 +03:00
Jyri-Petteri Paloposki
1936c90c95
Record and show the last time users have logged in
2020-08-10 16:54:48 +03:00
Jyri-Petteri Paloposki
cf5751cdce
Add a help page with link to the user manual and other sources
2020-07-23 22:20:28 +03:00
Jyri-Petteri Paloposki
dbaa9a85cb
Add a field for user email address
2020-07-20 18:41:10 +03:00
Jyri-Petteri Paloposki
5a3727dc5f
Add functionality for requiring TOS approval on signup
2020-07-20 18:16:15 +03:00
Matt Rogers
be646de904
Use the right format for expiry_time
2020-04-05 12:40:09 -05:00
Matt Rogers
b82403e0e1
Parse the session time so we can calculate expire time.
2020-03-28 14:03:29 -05:00
Matt Rogers
c2a882ceac
Merge pull request #2301 from ZeiP/feature/#2072_tag_sanitize
...
#2072 : Remove needless sanitisation of tags. The sanitised version is…
2020-01-03 11:54:05 -06: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
e0aa0ac69e
#2072 : Remove needless sanitisation of tags. The sanitised version is only used in DB queries, which handle escaping themselves; the actual UI XSS sanitisation is handled separately.
2019-11-14 02:16:59 +02:00
Jyri-Petteri Paloposki
f6d1f243c5
#1955 : Use existing user parameter in taggable models instead of passing it
2019-06-26 00:19:32 +03:00
Jyri-Petteri Paloposki
5394973346
#1955 : Migrate tags to belong to named users for enhanced privacy.
2019-06-25 11:37:34 +03:00
Jyri-Petteri Paloposki
e66511c34e
#2249 : Add space between sentences
2019-06-10 20:43:00 +03:00
Jyri-Petteri Paloposki
6ad1e2cf93
Merge pull request #2231 from ZeiP/bug/1153_stats
...
Change the Flash charts to Charts.js
2019-05-29 19:33:57 +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
Jyri-Petteri Paloposki
0b326e17d8
#1153 : Use translations properly, add missing labels, fix bugs and add links to charts
2019-05-19 16:40:00 +03:00
Jyri-Petteri Paloposki
f873a93eb3
#1153 : Convert rest of the stats to use ChartJS
2019-05-19 13:04:33 +03:00
Jyri-Petteri Paloposki
c9cae9421a
#1153 : Few of the graphs converted to use Chartkick
2019-05-17 22:49:21 +03:00
Matt Rogers
8bf0627d41
Merge pull request #2210 from ZeiP/bug/2032_api_filters
...
#2032 : Use context and project filters in API also when not requestin…
2019-05-12 13:52:19 -05:00
Matt Rogers
996395cc80
Merge pull request #2207 from TracksApp/exists-instead-of-count
...
Use exists? instead of count > 0
2019-05-04 14:54:21 -05:00
Jyri-Petteri Paloposki
8c5edd2dcf
#2032 : Use context and project filters in API also when not requesting only done items
2019-05-04 22:47:39 +03:00
Jyri-Petteri Paloposki
d3ba80c84e
#2203 : Allow using REST API with token
2019-05-04 20:31:32 +03:00
Matt Rogers
a7d8b3c950
Use exists? instead of count > 0
2019-05-04 10:32:15 -05:00
Jyri-Petteri Paloposki
b9a80a385e
#2036 : Change empty XML responses to have the correct base element
2019-05-03 11:47:05 +03:00
Matt Rogers
d08608c755
Remove the query code from TodosController
...
It has been completely replaced with our new query object
2019-04-11 14:38:56 -05:00
Matt Rogers
df091c7ec5
Use the results of the new query object
...
This confirms that we've successfully extracted the code and now we can
start removing the old code.
2019-04-07 20:08:11 -05:00
Matt Rogers
eb7c34e973
Run both the new query and the old query
...
Throw away the results of the new query for now. Now that we know it
will run without raising exceptions, we can replace the old query with
the new query.
2019-04-07 20:04:28 -05:00
Matt Rogers
f2647e3f94
Remove deprecations printed out in the test suite
2018-11-20 19:57:02 -06:00
Matt Rogers
32d267d6cd
Remove private variable usage from models
...
It seems that `@new_record_before_save` as an instance variable has been
present since around 2007 and it wasn't until Rails 5.1 that things were
changed in such a way to make this inaccessible now.
2018-11-12 13:23:30 -06:00