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
Mark Felder
126d236455
We no longer expect mentions to link if they are prefixed with too many @'s
2020-12-02 10:27:55 -06:00
lain
a0aece3223
Changelog: Update changelog
2020-12-02 16:52:44 +01:00
lain
ab2610b703
Docs: Add info about RGI emoji
2020-12-02 16:49:38 +01:00
lain
8fb259e739
Emoji: Only accept RGI emoji.
...
"recommended for general interchange"
2020-12-02 16:46:19 +01:00
lain
3b3cf63118
Emoji: Add test for ZWJ sequence emoji
2020-12-02 16:18:08 +01:00
Egor Kislitsyn
c9afb350e7
Document follow relationship updates and cleanup
2020-12-02 19:16:36 +04:00
lain
b6f5e9ac9c
Emoji: Remove unused emoji-data.txt
2020-12-02 16:15:31 +01:00
lain
1adee08321
Emoji: Update to Unicode 13.1, switch base file, allow multichar.
2020-12-02 16:15:03 +01:00
lain
5d15486098
SideEffects: fix test
2020-12-02 14:48:11 +01:00
lain
04af0bbe44
User: Remove left-over (wrong) fix.
2020-12-02 13:39:29 +01:00
lain
222312900e
User: Don't allow local users in remote changesets
2020-12-02 12:18:43 +01:00
Mark Felder
45949b5cd3
Update Linkify to 0.4.0
2020-12-01 17:26:25 -06:00
Egor Kislitsyn
35ba48494f
Stream follow updates
2020-12-02 00:18:58 +04: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
Maksim Pechnikov
fb72f2034a
fix spec
2020-11-25 22:44:27 +03: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