Mark Felder
3e6d9187a7
Add tests for config dumping
2020-12-02 10:43:22 -06:00
Mark Felder
5135a8189f
Use inspect instead of faking the output
2020-12-02 10:43:22 -06:00
Mark Felder
6334ba9ad3
Remove unnecessary keys command
2020-12-02 10:43:22 -06:00
Mark Felder
6a97885ea3
Sync docs with mix commands
2020-12-02 10:43:22 -06:00
Mark Felder
cc2fc2e423
The debug output is no longer there by default
2020-12-02 10:43:22 -06:00
Mark Felder
d0cb73527f
Ensure scary warning starts on a new line
2020-12-02 10:43:22 -06:00
Mark Felder
570a923a3b
Update ConfigDB docs for new mix commands
2020-12-02 10:43:22 -06:00
Mark Felder
0847e3e496
Print whole config when resetting and include a scary looking message.
2020-12-02 10:43:22 -06:00
Mark Felder
d4320e0daf
Both are really atoms
2020-12-02 10:43:22 -06:00
Mark Felder
4bdfcf1682
Transform strings to atoms for all cases, including when the atom is a module like Pleroma.Emails.Mailer
2020-12-02 10:43:22 -06:00
Mark Felder
3df115b2b0
Support atoms and strings as args to the mix task
...
Improve output. Show the user what will be deleted before the prompt.
2020-12-02 10:43:22 -06:00
Mark Felder
ae7d37de06
Fix deletion regression due to strings instead of atoms
...
Improve message after successful deletion
2020-12-02 10:43:22 -06:00
Mark Felder
c6a0ca2213
Improve dumping groups and specific keys; add prompts for delete and reset
2020-12-02 10:43:22 -06:00
Mark Felder
67437feafc
Support listing groups, listing keys in a group, and dumping the config based on group or specific key in that group
2020-12-02 10:43:22 -06:00
Mark Felder
a51da3c1d8
Sort output by group
...
Not the best sorting, but better than nothing.
2020-12-02 10:43:22 -06:00
Mark Felder
2e87378051
Add the delete and reset instructions
2020-12-02 10:43:22 -06:00
Mark Felder
ada073f251
Rename keys to groups
2020-12-02 10:43:22 -06:00
Mark Felder
92c23bfdec
Spelling
2020-12-02 10:43:22 -06:00
Mark Felder
e8a4062d9d
Document how to delete individual configuration groups and completely reset the config without SQL
2020-12-02 10:43:22 -06:00
Mark Felder
a82ba66662
Better deletion message
2020-12-02 10:43:22 -06:00
Mark Felder
6dcc36baa9
Add mix tasks to give additional recovery and debugging options
...
- pleroma.config dump: prints the entire config as it would be exported to the filesystem
- pleroma.config dump KEY: prints the configuration under a specific ConfigDB key in the database
- pleroma.config keylist: lists the available keys in ConfigDB
- pleroma.config keydel KEY: deletes ConfigDB entry stored under the key
This should prevent the need for users to manually execute SQL queries.
2020-12-02 10:43:22 -06:00
rinpatch
57d0379b89
Merge branch 'fix/search-test-on-exit' into 'develop'
...
Search tests: Use on_exit for restoring `persistent_term` state
See merge request pleroma/pleroma!3182
2020-12-01 17:08:05 +00:00
rinpatch
fc9ebe5073
Search tests: Use on_exit for restoring `persistent_term` state
...
Otherwise if the assertion failed, the code below which resets the
state would never be reached
2020-12-01 19:45:25 +03:00
Haelwenn
5a5ff508aa
Merge branch '2727-gitlab-issues' into 'develop'
...
Gitlab-CI: Explicitly tag specified arm32 images.
Closes #2327
See merge request pleroma/pleroma!3178
2020-11-27 14:20:59 +00:00
lain
6db710c9ba
Gitlab-CI: Explicitly tag specified arm32 images.
...
So we don't accidentally run generic images on runners
that only can deal with specific images.
2020-11-27 13:27:35 +01:00
lain
14a2c1da13
Merge branch 'fix/2322-digest-algorithm-case-insensitive' into 'develop'
...
Digest algorithm is taken from header
Closes #2322
See merge request pleroma/pleroma!3176
2020-11-27 11:51:24 +00:00
Alexander Strizhakov
6aadb1cb40
digest algorithm is taken from header
2020-11-27 08:10:52 +03:00
rinpatch
bb522bcc44
Merge branch 'removing-fed-sockets-settings' into 'develop'
...
Removing remaining fed sockets settings
See merge request pleroma/pleroma!3177
2020-11-26 15:35:22 +00:00
Alexander Strizhakov
94480c6607
removing fed sockets settings
2020-11-26 17:39:38 +03:00
feld
2b4e355522
Merge branch 'fix/mix-debug' into 'develop'
...
Prevent mix tasks from spewing any internal logging unless DEBUG is in the env
See merge request pleroma/pleroma!3175
2020-11-25 23:59:52 +00:00
Mark Felder
751712d970
Prevent mix tasks from spewing any internal logging unless DEBUG is in the env
...
e.g., DEBUG=1 mix pleroma.config migrate_from_db
2020-11-25 12:52:39 -06:00
rinpatch
7a8be68241
Merge branch 'fix/2323-release-configuration-provider' into 'develop'
...
Fix for elixir 1.11
Closes #2323
See merge request pleroma/pleroma!3173
2020-11-25 11:57:13 +00:00
Alexander Strizhakov
5eef4988bf
fix for elixir 1.11
...
load runtime configs in releases with config provider
2020-11-25 14:10:24 +03:00
rinpatch
c2bf67644e
Merge branch 'features/ruby-elements' into 'develop'
...
scrubbers/default: Add ruby element and it's childs
See merge request pleroma/pleroma!3172
2020-11-25 08:30:58 +00:00
Haelwenn (lanodan) Monnier
3cfc20083e
scrubbers/default: Add ruby element and it's childs
...
This allows to format Japanese furigana (aka ruby) notation.
Present in XHTML 1.1, HTML 5 and later. Absent in XHTML 1.0, HTML 4 and earlier.
See https://www.w3.org/TR/ruby/
2020-11-25 00:40:21 +01:00
Haelwenn
ddf2314836
Merge branch 'chore/jason-in-tests' into 'develop'
...
Use Jason instead of Poison in tests
See merge request pleroma/pleroma!3171
2020-11-24 12:17:09 +00:00
Mark Felder
54df44d380
Fix badly formatted JSON fixtures which causes Jason to erroneously detect control characters
2020-11-23 14:48:14 -06:00
Mark Felder
3283d0805f
Use Jason instead of Poison in tests
2020-11-23 13:28:55 -06:00
rinpatch
1ab61953db
Merge branch 'chore/bump-linkify' into 'develop'
...
[#2293 ] Update Linkify to 0.3.0
See merge request pleroma/pleroma!3170
2020-11-23 17:37:27 +00:00
Mark Felder
60c8c5402c
Update Linkify to 0.3.0
...
Added
- Support returning result as iodata and as safe iodata
Fixed
- Hashtags followed by HTML tags "a", "code" and "pre" were not detected
- Incorrect parsing of HTML links inside HTML tags
- Punctuation marks in the end of urls were included in the html links
- Incorrect parsing of mentions with symbols before them
2020-11-23 11:22:50 -06:00
rinpatch
12bdced845
Merge branch 'websearch' into 'develop'
...
Use `websearch_to_tsvector` by default
See merge request pleroma/pleroma!3163
2020-11-23 14:40:33 +00:00
lain
67b15cc033
Search: Save detected pg version in a persistent term.
2020-11-23 15:29:55 +01:00
lain
f9a4cf2097
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch
2020-11-23 15:18:19 +01:00
Haelwenn
e07f8f8aa5
Merge branch 'weblate-pleroma-pleroma' into 'develop'
...
Translations update from Weblate
See merge request pleroma/pleroma!3167
2020-11-23 13:43:57 +00:00
Guy Sheffer
d5f5d01495
Translated using Weblate (Hebrew)
...
Currently translated at 100.0% (106 of 106 strings)
Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/he/
2020-11-21 18:12:07 +00:00
feld
a65fc78c6a
Merge branch 'libmagic' into 'develop'
...
Add missing libmagic for image upload to dockerfile
See merge request pleroma/pleroma!3168
2020-11-21 18:11:58 +00:00
Guy Sheffer
e6af7dc777
Add missing libmagic for image upload
2020-11-21 19:57:38 +02:00
feld
ecd1ef8cb5
Merge branch 'fix/2302-report-duplicates' into 'develop'
...
Fix for forwarded reports
Closes #2303 and #2302
See merge request pleroma/pleroma!3146
2020-11-20 18:40:15 +00:00
lain
e4289792d2
Linting.
2020-11-20 16:38:05 +01:00
lain
25a03a9b5b
Config, Docs: Remove search_function
2020-11-20 16:33:11 +01:00