Haelwenn (lanodan) Monnier
87b13c5430
Create Object.hashtags/1 wrapper
2020-12-22 05:15:34 +01:00
Haelwenn (lanodan) Monnier
acb03d591b
Insert text representation of hashtags into object["hashtags"]
...
Includes a new mix task: pleroma.database fill_old_hashtags
2020-12-22 05:15:34 +01:00
Mark Felder
d5746e8447
Do not include pool_size in the template. It encourages unwanted fiddling :)
2020-12-21 15:19:24 -06:00
lain
8e1f32e715
Merge branch 'develop' into 'develop'
...
WebFinger: add subscribe_address in return data of JSON responses
See merge request pleroma/pleroma!3206
2020-12-21 17:13:52 +00:00
lain
ab633e51ab
Linting
2020-12-21 16:48:35 +01:00
lain
1a3da01a65
Tests: Stub the pipeline in all tests.
...
Restores the old un-moxed behavior.
2020-12-21 16:38:34 +01:00
lain
5db1e6c8d3
Pipeline test: Switch from Mock to Mox.
...
Speeds up the test and makes it possible to run async.
2020-12-21 16:35:12 +01:00
lain
0ef0aed205
Tests: Add a helper method to reduce sleeping times in test.
...
This will 'time travel', i.e. change the inserted_at and update_at
fields of the object in question. This is used to backdate things
were we used sleeping before to ensure time differences.
2020-12-21 16:31:23 +01:00
lain
ba19975838
Linting
2020-12-21 16:22:36 +01:00
lain
9d5ce82221
Test: More async/sync tweaks.
2020-12-21 15:05:56 +01:00
lain
b17c36c45a
Tests: More test fixes.
2020-12-21 12:59:11 +01:00
lain
2f8ec8a9cc
XMLBuidlder test: Make async.
2020-12-21 12:35:04 +01:00
lain
ecd39a8fe5
Test config: Raise pool size for postgres.
...
Given all the async tests, this can become a bottleneck.
2020-12-21 12:31:12 +01:00
lain
9ba60f70d2
Tests: Make as many tests as possible async.
...
In general, tests that match these criteria can be made async:
- Doesn't use real Cachex.
- Doesn't write to the Config / Application Environment.
- Uses Mock. Using Mox is fine.
- Uses the streamer.
2020-12-21 12:21:40 +01:00
lain
c9d73af74d
Cachex: Unify arity of callback function
2020-12-21 12:03:58 +01:00
lain
ee81a94ab2
Caching: Add caching behavior, add null implementation.
2020-12-21 11:42:53 +01:00
Kaizhe Huang
fb02241580
Fix trailing whitespaces in lib/pleroma/web/web_finger.ex
2020-12-21 00:54:15 +11:00
lain
19be32a74e
Merge branch 'fix/remove-sharelock-warning-oban-configdb' into 'develop'
...
config/description.exs: Remove outdated information about Oban
See merge request pleroma/pleroma!3208
2020-12-20 13:40:08 +00:00
rinpatch
d501e55ec7
Merge branch 'bugfix/mastofe-install-script' into 'develop'
...
download-mastofe-build.sh: Proper exit when artifact is missing
Closes #2329
See merge request pleroma/pleroma!3191
2020-12-20 09:59:53 +00:00
Kaizhe Huang
509f82e4d6
Add test for subscribe_address in JSON WebFinger response
2020-12-19 22:11:47 +11:00
rinpatch
a05e1d4e48
config/description.exs: Remove outdated information about Oban
...
The version of Oban we depend on no longer uses ShareLocks, so this
note no longer applies.
2020-12-19 11:27:42 +03:00
lain
95a9bdfc37
Tests: Use NullCache for async tests.
...
Caching can't work in async tests, so for them it is mocked to a
null cache that is always empty. Synchronous tests are stubbed
with the real Cachex, which is emptied after every test.
2020-12-18 19:53:19 +01:00
lain
713612c377
Cachex: Make caching provider switchable at runtime.
...
Defaults to Cachex.
2020-12-18 17:44:46 +01:00
lain
9a744d49c8
Jason: Remove by now superfluous jason_types file
2020-12-18 17:44:19 +01:00
FiveYellowMice
83cd7f2b5f
WebFinger: add subscribe_address in return data of JSON responses
2020-12-18 13:48:38 +00:00
lain
b4b68b71fc
Tests: Remove unneeded explicit cachex use.
...
Only use cachex when we're actually testing it.
2020-12-18 13:18:17 +01:00
lain
c1129ff674
Tests: Reset all cachex caches between synchronous tests
...
Don't bother in the async case, it doesn't make sense there.
2020-12-18 11:53:43 +01:00
rinpatch
afc68a052c
Merge branch 'long-life-oauth-tokens' into 'develop'
...
[#2353 ] Virtually never-expiring OAuth tokens (new and already issued ones)
Closes #2353
See merge request pleroma/pleroma!3205
2020-12-17 18:34:49 +00:00
Ivan Tashkinov
62bf4a1292
[ #2353 ] Virtually never-expiring OAuth tokens (new and already issued ones).
2020-12-17 20:49:00 +03:00
feld
ff7f7416f7
Merge branch 'registration-workflow' into 'develop'
...
Improve registration workflow, fixes #2175
Closes #2235 and #2175
See merge request pleroma/pleroma!3068
2020-12-17 16:00:30 +00:00
Alex Gleason
80891e83d8
Merge remote-tracking branch 'upstream/develop' into registration-workflow
2020-12-17 09:05:36 -06:00
lain
8b8c317c0f
Merge branch 'fix/2336-mastoapi-ws-posts-dropping' into 'develop'
...
Fix mastoapi ws posts dropping
Closes #2336
See merge request pleroma/pleroma!3198
2020-12-16 11:35:45 +00:00
Haelwenn (lanodan) Monnier
5c75bfc586
download-mastofe-build.sh: Proper exit when artifact is missing
2020-12-15 16:31:23 +01:00
lain
6bb4f4e172
Merge branch 'support/2255_posix_errors' into 'develop'
...
[#2255 ] added error messages for posix error code
See merge request pleroma/pleroma!3138
2020-12-15 15:16:03 +00:00
lain
0d285cf44f
Merge branch 'fix/config-gen-detect-exiftool' into 'develop'
...
instance.gen: Warn that stripping exif requires exiftool
Closes #2343
See merge request pleroma/pleroma!3197
2020-12-15 14:39:15 +00:00
lain
09f6056b16
Merge branch 'weblate-pleroma-pleroma' into 'develop'
...
Translations update from Weblate
See merge request pleroma/pleroma!3201
2020-12-15 14:04:10 +00:00
shironeko
2d29fd7c8f
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 87.7% (93 of 106 strings)
Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/zh_Hans/
2020-12-15 11:33:10 +00:00
lain
b8c3dfc78c
Merge branch 'chore/refactor-hide-counts' into 'develop'
...
Minor refactoring of the logic for hiding followers/following counts.
See merge request pleroma/pleroma!3202
2020-12-15 11:32:49 +00:00
Mark Felder
6dac2ac71a
Minor refactoring of the logic for hiding followers/following counts.
...
Field is not nullable anymore, and this is more readable.
2020-12-14 13:27:42 -06:00
Alexander Strizhakov
c37f78d1c8
changelog
2020-12-14 11:02:32 -06:00
Alexander Strizhakov
cebe3c7def
Fix for dropping posts/notifs in WS when mix task is executed
...
- start oban in mix tasks with empty queues, plugins and crontab
- fix for update_users_following_followers_counts
- fix for removed logo.png
- typo in resend confirmation emails mix task docs
- fix for uploads mix task (start Majic.Pool)
- fix for creating user mix task (start :fast_html app)
2020-12-14 11:02:32 -06:00
rinpatch
f687befb93
Merge branch 'fix/hackney-follow-redirects' into 'develop'
...
Switch to a fork of Hackney 1.15.2 for now so we can have our URL normalization bugfix
Closes #2342
See merge request pleroma/pleroma!3199
2020-12-13 12:16:41 +00:00
Mark Felder
dfde4af0fd
Fixed Rich Media Previews
2020-12-12 13:23:51 -06:00
feld
1e3eb9e004
Merge branch 'fix/tracking-majic' into 'develop'
...
Majic: specify commit so source users do not get surprise updates
See merge request pleroma/pleroma!3200
2020-12-12 19:20:34 +00:00
Mark Felder
7d78c00049
Majic: specify commit so source users do not get surprise updates
2020-12-12 13:04:16 -06:00
Mark Felder
3299fea9e3
Switch to a fork of Hackney 1.15.2 for now so we can have our URL normalization bugfix
2020-12-12 13:01:30 -06:00
rinpatch
7133c0c5ea
instance.gen: Warn that stripping exif requires exiftool
...
And default to no if it is not installed
Closes #2343
2020-12-12 20:38:51 +03:00
rinpatch
6aece536eb
instance.gen task: Only show files which will be actually overwritten
2020-12-12 20:35:38 +03:00
Haelwenn
f2bf2131b4
Merge branch 'weblate-pleroma-pleroma' into 'develop'
...
Translations update from Weblate
See merge request pleroma/pleroma!3195
2020-12-11 15:01:08 +00:00
ZEN
2db42ac978
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (106 of 106 strings)
Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/uk/
2020-12-11 00:56:57 +00:00