Commit Graph

57 Commits

Author SHA1 Message Date
237c225732 Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +02:00
7914608efe Add js-routes to use Route helpers in JavaScript 2021-07-06 16:54:27 +02:00
7543749e81 Lower Sentry trace sample rate to 5% 2021-05-17 22:54:00 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
1d08a78d7d Lower Sentry trace sample rate to 10% 2021-05-12 23:20:03 +02:00
5bf7c0a425 Move inflections to dedicated file 2021-05-12 18:19:50 +02:00
a75328e634 Enable Sentry Performance 2021-05-12 17:58:18 +02:00
0b43d8e656 Remove framework migration file from Rails 6.0 2021-05-12 17:14:57 +02:00
11962a1d65 Upgrade to Rails 6.1 and apply new framework defaults 2021-05-12 16:49:14 +02:00
2b32829e60 Upgrade DatabaseCleaner strategy 2021-05-12 16:47:05 +02:00
8378070bc2 Upgrade to Rails 6.0 and apply new framework defaults 2021-05-12 16:47:05 +02:00
6a6e1c84f4 Move Prometheus initialization after preloading the remaining app 2021-04-22 12:34:27 +02:00
567a75d9ae Change session validity to 1 month 2021-04-22 11:45:35 +02:00
9a5514942e Remove CSRF debug features 2021-04-22 11:31:30 +02:00
61e9eab02b Load Prometheus if enabled and not in console 2021-04-19 18:23:34 +02:00
b4de29bb2d Load Prometheus exporter only for Rails Server 2021-04-19 17:19:21 +02:00
521a0cb710 Exclude prometheus task for more rake tasks 2021-04-19 13:47:31 +02:00
44b32b6f6a #46 Add Prometheus exporter 2021-04-07 14:06:32 +02:00
a174d75a47 Debug CSRF issues temporarily 2021-03-10 13:51:29 +01:00
5a78f1ec2a Remove custom Sentry processors 2021-03-08 19:42:48 +01:00
b10e23dd16 Upgrade to newest Sentry 2021-03-04 14:02:16 +01:00
da2062caec Prevent logging of InvalidAuthenticityToken in Sentry 2021-01-24 22:36:22 +01:00
5af67ff65b rails_admin: limit pagination for files to fix performance problems 2020-12-02 15:40:28 +01:00
a5ba91394d Disable concurrent processing for assets 2020-12-01 21:17:01 +01:00
f201804486 Update webpack config to match newest webpacker gem 2020-12-01 17:59:27 +01:00
052bd9302f disable rails_admin dashboard 2020-11-28 12:41:23 +01:00
3d763a540a rails_admin Translation fixes 2020-11-27 14:59:52 +01:00
79c1532742 clean up rails_admin configuration 2020-11-26 17:20:28 +01:00
f98de3b66b Add Rails admin 2020-11-26 17:11:18 +01:00
c20d670ab2 Log InvalidAuthenticityToken errors 2020-11-25 01:25:18 +01:00
7f98957fa7 Allow sentry to capture POST data 2020-10-28 16:36:42 +01:00
72d1511a79 Update mail settings 2020-05-15 15:45:53 +02:00
b0761dbdb5 Extract pool handling to separate service 2020-03-25 11:30:11 +01:00
a551760965 Add sentry for error tracing 2020-01-14 14:41:55 +01:00
a9ec217ad8 Prevent accessing the db if executing a rake task 2019-12-20 16:11:48 +01:00
c498d2b08b Allow sign in via case insensitive email address 2019-01-17 18:44:11 +01:00
942d87f9ba Prevent creation of the Docker containers if just running a db rake task
Otherwise, the rake task might fail if the database connection could not be established (e.g. when creating a new database).
2018-11-22 19:02:33 +01:00
dd0f56659e Use webpack to deliver newest d3-tip.js, highlight.js and vis.js 2018-11-06 16:49:43 +01:00
4d1cf972e4 Include Webpack and use it for jQuery, Bootstrap and chosen.js 2018-11-06 16:46:01 +01:00
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
4809f7bc03 Adopt new Rails defaults
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
ca28e0aa87 updated rails from 4.1.13 to 4.2.5. This is required for rails to make use of new features in postgres 9.5
@Ralf
TODO: migration /Users/groucho/Documents/HPI/workspace/Xikolo-CodeOcean/codeocean/db/migrate/20160204111716_add_user_to_code_harbor_link.rb
is broken. A reference is made to table users which does not exist.
Workaround: run rake db:schema:load before running db:migrate. Still this should be fixed.
2016-12-31 00:05:23 +01:00
4eef3d70d5 minor refactoring of flash messages 2015-03-23 16:42:57 +01:00
c260d4f2ea fixed absent initiation of refill task 2015-03-14 14:34:38 +01:00
c6e97cf00e don't always populate the Docker container pool when loading the environment but only when starting the server 2015-03-10 08:59:11 +01:00
7477d4c6dd transitionally downgraded to Rails 4.1 since activerecord-jdbcpostgresql-adapter is not fully compatible with Active Record 4.2 2015-03-02 15:04:37 +01:00
bfc11c333a added test 2015-02-24 11:47:29 +01:00
9e9a1b5308 don't load DockerContainerPool class before database schema has been created 2015-02-18 17:50:01 +01:00