6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-11 07:41:02 +00:00
Commit Graph

1864 Commits

Author SHA1 Message Date
Régis Behmo
8d815bc317 Merge branch 'master' into nightly 2023-11-29 11:21:51 +01:00
Régis Behmo
ff8091bef2 feat: simplify nightly management
Bumping the `OPENEDX_COMMON_VERSION` in the master branch usually
creates a conflict when we merge the change in the nightly branch. To
avoid this conflict, we add some logic to the `OPENEDX_COMMON_VERSION`.

This change should be invisible for most users.

This partially addresses issue #936.
2023-11-29 10:49:53 +01:00
Overhang.IO
6860b5d57a Merge remote-tracking branch 'origin/master' into nightly 2023-11-29 08:38:33 +00:00
Régis Behmo
b1a581d98a chore: upgrade cryptography package
See https://github.com/overhangio/tutor/pull/951
2023-11-29 09:30:14 +01:00
Régis Behmo
913a1adae4 Merge branch 'master' into nightly 2023-11-23 12:58:04 +01:00
Omar Al-Ithawi
65ba0d2de2 fix: fix ulimits error for elasticsearch in Docker rootless mode
disable `ulimits` in rootless docker mode by setting them to zero
2023-11-23 12:36:07 +01:00
Overhang.IO
c4cc7279fc Merge remote-tracking branch 'origin/master' into nightly 2023-11-23 09:02:05 +00:00
Florian Haas
8fdb6f52d9 fix: Reduce MySQL binlog expiry from 30 days to 3
MySQL 8 defaults to a binlog expiry period of 2592000 seconds
(30 days), which for Tutor/Open edX purposes can be considered
excessive.

On the one hand, it is unlikely that a MySQL server configured for
Tutor uses MySQL replication at all (considering that up until Tutor
15 and MySQL 5.7, the binlog was disabled by default, rendering
replication impossible). Even if it does, a replica lagging more than
two days behind the primary server would be unacceptable.

Likewise, it is unlikely that an Open edX database is backed up less
than once a day, thus is is unlikely that Open edX admins would
benefit from the ability to do point-in-time restore over a 30-day
period.

On the other hand, having a 30-day binlog expiry period can
considerably increase the storage space requirements for the MySQL
container, particularly on busy Open edX platforms. When left
unchecked, this can even cause the MySQL container to run into "No
space left on device" situations, disabling the MySQL database
altogether. Thus, the MySQL default settings are likely to be a net
disadvantage for Open edX admins.

Finally, all of the above considerations apply only if the Open edX
administrator has chosen to run their own MySQL and not opted for a
DBaaS solution like AWS RDS.

Thus, it should be acceptable to run with a reduced binlog expiry
period of 3 days (rather than 30) by default.

Therefore, inject the --binlog-expire-logs-seconds=259200 argument
into the Tutor-generated command to start mysqld.

Reference:
https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds
2023-11-23 09:39:55 +01:00
Régis Behmo
2b490e59a7 Merge branch 'master' into nightly 2023-11-20 16:33:20 +01:00
Régis Behmo
e02d4274ee v16.1.7 2023-11-17 10:34:21 +01:00
Régis Behmo
66fce06e44 fix: missing dev.txt file in pypi package
Close #943.
2023-11-17 10:32:53 +01:00
Régis Behmo
01971f572b v16.1.6 2023-11-16 22:38:10 +01:00
Régis Behmo
a0c66ca650 feat: upgrade to palm.4 2023-11-16 22:36:32 +01:00
Overhang.IO
fbefe52abb Merge remote-tracking branch 'origin/master' into nightly 2023-11-14 16:34:16 +00:00
Régis Behmo
674e63a392
docs: move demo server to edly url (#939) 2023-11-14 17:27:42 +01:00
Overhang.IO
62d4dec1fd Merge remote-tracking branch 'origin/master' into nightly 2023-11-07 08:34:13 +00:00
Talha Rizwan
3b2373f6f1
docs: Update troubleshooting.rst with notes about docker buildkit
Close https://github.com/overhangio/tutor-mfe/issues/125
2023-11-07 09:27:42 +01:00
Overhang.IO
d21635ee55 Merge remote-tracking branch 'origin/master' into nightly 2023-11-07 06:07:08 +00:00
Emad Rad
5050bf69f9 feat: dev added to extras_require
we can use this to install tutor development packages inside ci jobs, with one line.
2023-11-07 06:01:09 +00:00
Overhang.IO
ebb79f03b8 Merge remote-tracking branch 'origin/master' into nightly 2023-10-30 17:47:00 +00:00
Régis Behmo
10c988127d v16.1.5 2023-10-30 18:26:17 +01:00
Kyle McCormick
c273e7f105
feat!: assume BuildKit is available 2023-10-27 10:54:23 +02:00
Kyle D. McCormick
7f47c3c8af fix: include full-complement paramters in `JWT_PRIVATE_SIGNING_JWK`
Addresses the breaking upstream change in this commit:
92731be0dc

See Changelog entry for details.
2023-10-23 11:15:40 +02:00
Overhang.IO
c99958893e Merge remote-tracking branch 'origin/master' into nightly 2023-10-18 07:38:33 +00:00
Régis Behmo
7d1a6fff6e chore: upgrade urllib3
See https://github.com/overhangio/tutor/pull/924
2023-10-18 09:24:43 +02:00
Overhang.IO
37a0a6ad8f Merge remote-tracking branch 'origin/master' into nightly 2023-10-17 07:02:05 +00:00
Régis Behmo
dc930ff36a docs: in troubleshooting section, overhang.io -> edly.io 2023-10-17 08:55:43 +02:00
Overhang.IO
297f657dc5 Merge remote-tracking branch 'origin/master' into nightly 2023-10-17 06:43:58 +00:00
Régis Behmo
4e3e347982 docs: overhang.io -> edly references 2023-10-17 08:37:52 +02:00
Overhang.IO
8d463941be Merge remote-tracking branch 'origin/master' into nightly 2023-10-16 16:40:59 +00:00
Fateme Khodayari
34bb401da5
fix: ora2 uploads in cms 2023-10-16 18:34:28 +02:00
Overhang.IO
2055eab620 Merge remote-tracking branch 'origin/master' into nightly 2023-10-16 14:57:04 +00:00
Régis Behmo
19291d0c1b wip 2023-10-16 15:20:56 +02:00
Régis Behmo
72803f9f27 Merge branch 'master' into nightly 2023-10-14 12:02:51 +02:00
Régis Behmo
a7dd62bc77 v16.1.4 2023-10-13 16:56:25 +02:00
Régis Behmo
9cba06595e feat: upgrade to open-release/palm.3 2023-10-13 16:54:45 +02:00
Overhang.IO
8c778477a0 Merge remote-tracking branch 'origin/master' into nightly 2023-10-11 08:22:35 +00:00
Emad Rad
f4dc508c19
fix: 600GB openedx-dev image on macOS
On macOS, building the "openedx-dev" Docker image resulted in an image that required more than 600 GB of disk space. This was due to the `adduser` command which was called with a user ID of 2x10⁹ (on macOS only). This resulted in a very large /var/log/faillog file, hence the image size.

Related upstream discussion: https://github.com/moby/moby/issues/5419
Close https://github.com/openedx/wg-developer-experience/issues/178
2023-10-11 10:02:03 +02:00
Overhang.IO
eb45eb3a4b Merge remote-tracking branch 'origin/master' into nightly 2023-10-10 10:16:02 +00:00
Régis Behmo
0a73b8857d v16.1.3 2023-10-10 11:40:43 +02:00
Régis Behmo
575a56b767 fix: build error caused by removed py2neo package
On Oct. 10, py2neo package was abruptly removed from pypi, GitHub, and
the py2neo website now displays just a super funny meme: https://py2neo.org/

Yes, we should get rid of that dependency, but we are still supposed to
support existing users. So we install py2neo from our fork.
2023-10-10 11:37:40 +02:00
Overhang.IO
2ce2b748b8 Merge remote-tracking branch 'origin/master' into nightly 2023-10-05 07:13:45 +00:00
David Ormsbee
b3cde02330 fix: override CMS_BASE setting in Studio for dev
The LMS was overriding CMS_BASE properly, but Studio (CMS) configuration
was not. That meant that Studio's CMS_BASE in dev mode was using the
devstack default of localhost:18010 (because this is what's defined in
edx-platform). This in turn broke parts of Studio that use this value,
such as the XBlock v2 API (/api/xblock/v2).

This commit derives the value of the CMS_BASE Django setting from
Tutor's CMS_HOST config value, in the same way that the LMS does it.
2023-10-05 09:06:28 +02:00
Overhang.IO
32645429b2 Merge remote-tracking branch 'origin/master' into nightly 2023-10-04 09:42:26 +00:00
Paulo Viadanna
06ad1978a4 fix: adds mongodb connect=False
Adding connect=False to the LMS and CMS' MongoDB connection to prevent
ServerSelectionError after a cluster failover.
2023-10-04 09:48:08 +02:00
Overhang.IO
59748f12a2 Merge remote-tracking branch 'origin/master' into nightly 2023-10-03 06:37:59 +00:00
Régis Behmo
44e912b239 chore: mark compatibility with python 3.12 2023-10-03 08:22:29 +02:00
Overhang.IO
f5311ae0db Merge remote-tracking branch 'origin/master' into nightly 2023-10-03 05:05:06 +00:00
Régis Behmo
1c31d30e66 chore: upgrade urllib3
https://github.com/overhangio/tutor/pull/911
2023-10-03 06:58:25 +02:00
Overhang.IO
33bf0d4a65 Merge remote-tracking branch 'origin/master' into nightly 2023-10-02 09:20:04 +00:00