Commit graph

516 commits

Author SHA1 Message Date
Jyri-Petteri Paloposki
f86285b7b3 Show a signup link under the login form if open signup is enabled 2020-07-23 20:48:38 +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
Jyri-Petteri Paloposki
2e40879123 Fix the Docker Compose configuration and remove the database config from VCS
Fixes #2248.
2020-07-19 17:36:06 +03:00
Jyri-Petteri Paloposki
3f22c8a036 Better Docker config: Use entrypoint to setup the environment, run in production mode by default, defaults for all config values 2020-07-19 16:12:57 +03:00
Jyri-Petteri Paloposki
5c94a7c515 Fix the Docker configuration to work better 2020-07-17 00:37:26 +03:00
Matt Rogers
89a1d4caa6
Merge pull request #2319 from TracksApp/release-2.4.2
Prep for a v2.4.2 release
2020-02-17 12:48:21 -06:00
Jan-Yves Ruzicka
726975863b Use Loofah::HTML5::SafeList where possible 2020-02-08 17:51:59 +13:00
Matt Rogers
5b797e2a7f
Prep for a v2.4.2 release 2020-01-05 12:49:34 -06:00
Jyri-Petteri Paloposki
ab6d51081a Version 2.4.1 2019-11-06 23:27:13 +02:00
Matt Rogers
ec550ae8f6
Version 2.4.0 2019-10-08 09:39:41 -05: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
Steven R. Baker
74517944de Rack::MiniProfile doesn't exist in test environment. 2019-05-15 20:44:49 +02:00
Steven R. Baker
33ec5886cc Move the profiler to the bottom left.
It's far less in the way here. It's also hide-able with Alt-P (if you
don't have a textbox focused.)
2019-05-13 21:50:49 +02:00
Steven R. Baker
b07f1ef78a Single quotes don't need to be escaped here.
This was preventing the app from loading, weirdly.
2019-05-13 19:57:16 +02:00
Jyri-Petteri Paloposki
aa7bcd2239 #2035: Fix /hidden.xml by adding the route which was removed in commit a83c8b3f92. 2019-05-02 16:50:41 +03:00
Matt Rogers
555ae30bef
Update the autoloading paths
I couldn't even run with eager loading turned on until after this
change. Let's hope it helps with the other code loading issues going on
right now as well.
2018-11-22 23:50:56 -06:00
Matt Rogers
d1b13e7c35
Remove bootsnap
It was causing weird hangs while booting the app.
2018-11-20 19:56:02 -06:00
Matt Rogers
2cbe020d8a
Update the app for Rails 5.2
After the framework bump, run `rails app:update` to pull in the new
framework changes and defaults.
2018-11-17 12:37:03 -06:00
Matt Rogers
aca54f5aff
Remove raise_on_unfiltered_parameters
Deprecated and has no effect in Rails 5.1
2018-11-17 09:15:49 -06:00
Matt Rogers
faaecbae40
Remove halt_callback_chains_on_return_false
It's deprecated in Rails 5.1 and will block the Rails 5.2 upgrade.
2018-11-17 09:11:52 -06:00
Matt Rogers
1ccf96ae83
Initial upgrade to Rails 5.1 2018-11-12 09:07:12 -06:00
Matt Rogers
6e5dcb082b
Remove raise_in_transactional_callbacks
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-11-03 15:30:14 -05:00
Matt Rogers
859701a81f
Update configuration after the Rails upgrade
Ran `bin/rake rails:upgrade` and went through all the changes.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-10-27 11:27:07 -05:00
ericmoon
6dcaa76f09 cucumber removal 2018-07-24 12:34:55 -07:00
Matt Rogers
97bfad71ca
Merge pull request #2098 from hewo/mobile-ui
Fix german locale mobile Header; refs #1745
2018-07-23 08:59:27 -05:00
Matt Rogers
d3a3dde421
Add the test database definition back
It's needed for the tests and should have never been removed in the
first place.
2018-05-25 22:07:09 -05:00
Matt Rogers
108373f938
Bring back database.yml
It only contains the development database configuration by default since
we're relying on docker-compose for starting our database now.
2018-05-14 18:49:19 -05:00
Heiner Wohner
9bf7f916dc Fix german locale mobile Header; refs #1745 2018-01-23 10:20:10 +01:00
Heiner Wohner
047fb0acb1 Makes force_ssl configurable 2018-01-22 14:43:04 +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
0511ea3a3a Add a fallback to :other for i18n
In most cases, translations don't supply `:few` even though the language
may support the construct. Instead of the app blowing up if the
translation for `:few` doesn't exist, fall back to `:other` instead.
2016-08-20 14:43:42 -05:00
Dan Rice
3ecf9d6cfc Update protocol whitelist for rails-html-sanitizer 2016-05-22 21:59:44 -04: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
Dan Rice
5173f94993 Condense "Admin", "Help", and "Logout" into a single "Options" menu 2016-05-15 22:37:03 -04: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
2ea20d1a1e Use jquery-ui-rails gem instead of vendored jQuery UI 2016-01-30 16:12:31 -05:00
Jaime Martín Jiménez
508e0e6e47 Updated Spanish translation 2016-01-30 11:37:41 +01:00
Matt Rogers
4917a42b0e Remove the login stylesheet from precompilation
It's no longer being included on its own anymore.

Fixes #1954
2016-01-09 10:06:11 -06:00
Matt Rogers
faf585b1d4 Add a configuration setting for serving static assets
This new setting will allow us to control in `site.yml` whether or not
our static assets will be served by Rails or by the app server that is
proxying requests to Rails. This is set to `false` by default so that
the proxying server is responsible for serving the assets.
2015-09-01 19:21:16 -05:00
Matt Rogers
bb934b6474 Remove the Google Gadget Integration
Google has discontinued the "Add any gadget by URL" Labs feature. Remove
the feature from the application.
2015-08-07 21:31:00 -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
2bd68fecb7 Create attachment model and hook it up to todo
An attachment has write permissions on group so that managing
attachments work from different users in same group, i.e. user apache
and user mail.
2015-08-05 16:05:19 +02:00
Reinier Balt
5499ac2a03 Add paperclip gem 2015-08-05 13:07:47 +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
4070f4e03a Version 2.3.0 2015-06-17 20:43:05 -04:00
Carsten Otto
ea3e1cafe8 no space after "TRACKS::" (cf. en.yml) 2015-05-14 12:54:11 +02:00
Carsten Otto
5c07585ad4 add missing translation for en+de 2015-05-13 23:54:49 +02:00
Carsten Otto
eb1012f1f2 typo 2015-04-13 14:38:27 +02:00