Mark Felder
d1cd3f4ec0
Lint
4 years ago
Mark Felder
e1908a5270
Pick up env for both source and OTP installs
4 years ago
Mark Felder
46b123cded
Still allow passing the arg, but fallback to MIX_ENV
4 years ago
Mark Felder
133004e22d
Improve database config migration and add documentation
4 years ago
lain
4cb7b1ebc6
Apply suggestion to lib/mix/tasks/pleroma/config.ex
4 years ago
Maksim Pechnikov
02a5648feb
fixed migration the settings to DB
4 years ago
Alexander Strizhakov
9a4fde9766
Mogrify args as custom tuples
4 years ago
Haelwenn (lanodan) Monnier
6da6540036
Bump copyright years of files changed after 2020-01-07
...
Done via the following command:
git diff fcd5dd259a
--stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
5 years ago
Alexander Strizhakov
e8e57e398f
restart config id after truncate
5 years ago
Alexander Strizhakov
4344c5d5b9
truncate config table on migrate to db task
5 years ago
Alexander Strizhakov
f01ab6cd29
some refactor and tests
5 years ago
Alexander Strizhakov
efb8ef5abe
releases support
5 years ago
Alexander Strizhakov
7676ed8239
some clean up
5 years ago
Alexander Strizhakov
ce027fd0ef
revert non needable
5 years ago
Alexander Strizhakov
b310feeccb
compile fix
5 years ago
Alexander Strizhakov
60ba2339a2
saving to DB only added by user settings
5 years ago
Alexander Strizhakov
29155137fd
renaming
...
Pleroma.Web.AdminAPI.Config -> Pleroma.ConfigDB
5 years ago
Alexander Strizhakov
66de2b159b
don't migrate Pleroma.Web.EndPoint settings
...
don't set Logger level to all tasks
5 years ago
Alexander Strizhakov
3453b27015
don't migrate prometheus settings
5 years ago
Alexander Strizhakov
eadb674c41
don't migrate configurable_from_database setting
5 years ago
Alexander Strizhakov
7d128ca208
dynamic_configuration renaming
...
and moving it from instance settings
5 years ago
Alexander
a71393dd29
fix for endpoints after env update
5 years ago
Alexander
0656816c77
tests for setttings without an explicit key
5 years ago
Alex S
2753285b77
config editing through database
5 years ago
Maksim Pechnikov
9dfaa0b832
fix loads config variable with large value from db
5 years ago
Alexander
6a4201e0b4
fix for migrate task
5 years ago
rinpatch
1cae564b5d
Move config task docs to a separate file and mark it as WIP
5 years ago
Alexander Strizhakov
51b3b6d816
Admin changes
5 years ago
Alex S
b8607c151c
migrating task refactor
5 years ago
Alex S
c66044b923
atom keys with leading :
5 years ago
feld
93a0eeab16
Add license/copyright to all project files
5 years ago
Alexander Strizhakov
c6705144a2
don't delete config settings on admin update
5 years ago
Alex S
982cad0268
support for config groups
5 years ago
rinpatch
2437f51284
Merge branch 'fix/config-gen-releases' into 'develop'
...
Refactor mix tasks a bit and make config generator work with releases
See merge request pleroma/pleroma!1312
5 years ago
Alexander Strizhakov
32320c1ee9
Fixes for dynamic configuration
5 years ago
rinpatch
8c7a382027
Rename Pleroma.Mix.Tasks.Common -> Mix.Pleroma and import it's functions
...
instead of aliasing
This seems to be the convention for functions that can be reused between
different mix tasks in all Elixir projects I've seen and it gets rid on
an error message when someone runs mix pleroma.common
Also in this commit by accident:
- Move benchmark task under a proper namespace
- Insert a space after the prompt
5 years ago
Alexander Strizhakov
c2ca1f22a2
it is changed in compile time
...
we can't change module attributes and endpoint settings in runtime
5 years ago