Commit Graph

45 Commits

Author SHA1 Message Date
99bd46af1a Align project files with CodeHarbor
Since both projects are developed together and by the same team, we also want to have the same code structure and utility methods available in both projects. Therefore, this commit changes many files, but without a functional change.
2023-10-11 00:18:33 +02:00
b6ffb33823 Add template file name to views in development 2023-05-03 14:47:56 +02:00
bf077ef478 Fix rubocop offenses 2022-12-09 13:11:46 +01:00
73237412ed Compress JS and CSS files for production 2022-12-06 01:27:51 +01:00
90b30e2bf7 Upgrade to Rails 7.0 and apply new framework defaults
* Remove `send_stream` method pulled in before upgrading Rails
* Remove spring, it is no longer included by default for new apps
* Remove deprecated options from environments
* Remove old asset paths and workarounds no longer needed
* Remove unnecessary `OAUTH_10_SUPPORT` const, LTI still uses OAuth 1.0
* Dump schema with new defaults (and specify precision for timestamps where needed)
2022-12-04 15:21:59 +01:00
d84c35dce2 Add environment variables for time zone and log level 2022-11-21 15:08:03 +01:00
51e9daf930 Enable HSTS preload in app 2022-09-06 11:21:37 +02:00
0a16f589e9 Use X-Sendfile to transmit native files and handle file uploads 2022-09-06 01:21:40 +02:00
1e47f62472 Remove web_console setting from staging.rb 2022-08-24 13:18:09 +02:00
ebf00eb475 Update staging environment 2022-08-24 13:06:33 +02:00
145c4aa8d5 Refactor various ruby files
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
6ca5982a45 Use letter_opener for dev environment 2022-07-20 17:39:36 +02:00
038864e4b4 Fix Rubocop offenses 2022-04-24 18:18:16 +02:00
f3b4be3006 Fix deprecation warning for raise_on_missing_translations 2021-11-01 17:13:07 +01:00
237c225732 Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +02:00
3fb9c967b4 Remove unnecessary Rubocop deactivation 2021-07-01 08:06:10 +02:00
110f1a5750 Fix rubocop offenses after bundle update 2021-06-30 09:13:25 +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
d563488c30 Remove uglifier as JS preprocessor 2021-05-12 17:51:28 +02:00
11962a1d65 Upgrade to Rails 6.1 and apply new framework defaults 2021-05-12 16:49:14 +02:00
8378070bc2 Upgrade to Rails 6.0 and apply new framework defaults 2021-05-12 16:47:05 +02:00
44b32b6f6a #46 Add Prometheus exporter 2021-04-07 14:06:32 +02:00
08dafea7d7 Increase log level for production 2020-03-25 12:15:40 +01:00
e7562edb38 Increase log level for staging 2020-03-22 14:45:51 +01:00
a691ba91ae Increase log level 2020-03-22 13:21:24 +01:00
374702c45d enable ES6 syntax 2018-11-06 18:10:59 +01:00
4d1cf972e4 Include Webpack and use it for jQuery, Bootstrap and chosen.js 2018-11-06 16:46:01 +01:00
1f2d098541 Fix Vagrant's Hot Reloading issues in development
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +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
ab1c68596f Suppress asset output in log 2018-02-18 20:26:47 +01:00
13e33bf977 Add optional logging for tests 2017-10-26 15:42:06 +02:00
76c7ddae9b removed relative_url_root for staging environment.
The app can be accessed now via port 3000 instead of a subdirectory.
2017-02-06 20:30:22 +01:00
721c11bf28 fixed staging.rb according to rails update 2017-01-18 11:28:27 +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
f82737a7d4 some small changes to staging environment (no caching and eager loading, some more errors). 2016-12-19 15:08:51 +01:00
66de024195 enhance staging mode in order to show errors and web_console 2016-11-24 14:46:18 +01:00
442b405927 added support for better_errors in virtual machines. If you want to use it, set the environment variable "TRUSTED_IP", for example: export TRUSTED_IP=192.168.59.3 2016-11-24 11:58:32 +01:00
1dfd6f61dc some more relative url roots in editor_edit, removed javascript uglifying for staging, added debug message for docker websocket connection url.
added doku for setting up docker daemon for codeocean
2016-10-07 14:16:24 +02:00
a9b273a902 Changes to support deploy staging 2016-08-31 15:54:19 +02:00
d0ba0a970b whitelist localhost on development 2015-11-03 16:12:23 +01:00
40aa3e1494 lets assume we are stable soon.. 2015-04-14 14:43:06 +02: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
56acd4c3c3 updated to Rails 4.2 2015-02-18 10:41:26 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00