Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

3 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Mathieu Pillard bc34e66cfa
Fix user-media loading in local environments (#22732)
* Fix user-media loading in local environments

URLs with /user-media/foo should map to
<root_storage>/user-media/shared_storage/uploads/ on the filesystem.
2024-10-07 17:51:50 +02:00
Mathieu Pillard 65d613ace7
Remove guarded_addons directory and associated code, migrate existing (#19113)
* Remove guarded_addons directory and associated code, migrate existing

Files are now all kept in the same directory, and download_file() view
controls access.

This removes the code that was moving the files to the guarded_addons
directory, fallback code to deal with files not yet moved, and the
crons that ensures files were moved if needed.

* Remove old setting and obsolete test

* Add migration command

* Fix test/codestyle

* Unused imports

* Remove guarded-addons directory from git

* Tweaks and tests

* Compute ETA with full elapsed time

* Simplify command: remove Entry namedtuple, passing file/dir names instead
2022-04-25 14:35:48 +02:00
Christopher Grebs cf629f5ba0
Expose correct addons and user-media paths in docker container. (#9706)
Fixes #9705
2018-10-16 13:45:29 +02:00