akkoma
5 years agoJSON need quotes!
Sadposter [Sat, 6 Apr 2019 15:24:21 +0000 (16:24 +0100)]
JSON need quotes!

5 years agoDocument subscription endpoints, fix typos
Sadposter [Sat, 6 Apr 2019 15:20:06 +0000 (16:20 +0100)]
Document subscription endpoints, fix typos

Also adds a quick error case on the subscription endpoints
to avoid 500s

5 years agoMerge branch 'feature/prometheus' into 'develop'
feld [Sat, 6 Apr 2019 14:51:46 +0000 (14:51 +0000)]
Merge branch 'feature/prometheus' into 'develop'

Upstream: Metrics and debugging

See merge request pleroma/pleroma!1020

5 years agoPin recon dependency to 2.4.0
Mark Felder [Sat, 6 Apr 2019 14:30:36 +0000 (09:30 -0500)]
Pin recon dependency to 2.4.0

5 years agofix for field name
Alex S [Sat, 6 Apr 2019 13:49:43 +0000 (20:49 +0700)]
fix for field name

5 years agocode style
Alex S [Sat, 6 Apr 2019 13:47:05 +0000 (20:47 +0700)]
code style

5 years agoMerge develop to 770-add-emoji-tags
Alex S [Sat, 6 Apr 2019 13:34:00 +0000 (20:34 +0700)]
Merge develop to 770-add-emoji-tags

Merge conflict in test/web/mastodon_api/mastodon_api_controller_test.exs

5 years agoadmin api endpoints for invites
Alex S [Sat, 6 Apr 2019 13:25:19 +0000 (20:25 +0700)]
admin api endpoints for invites

5 years agotoken -> invite renaming
Alex S [Sat, 6 Apr 2019 13:24:22 +0000 (20:24 +0700)]
token -> invite renaming

5 years agotwitter api registration
Alex S [Sat, 6 Apr 2019 10:18:59 +0000 (17:18 +0700)]
twitter api registration

fix for twitter api tests

5 years agogenerating tokens with mix
Alex S [Sat, 6 Apr 2019 09:58:22 +0000 (16:58 +0700)]
generating tokens with mix

5 years agoMerge branch 'feature/mastofe-redurect-to-referer-after-login' into 'develop'
Haelwenn [Fri, 5 Apr 2019 23:36:42 +0000 (23:36 +0000)]
Merge branch 'feature/mastofe-redurect-to-referer-after-login' into 'develop'

Redirect to the referer url after mastofe authorization

Closes #717

See merge request pleroma/pleroma!1025

5 years agoRedirect to the referer url after mastofe authorization
Sergey Suprunenko [Fri, 5 Apr 2019 23:36:42 +0000 (23:36 +0000)]
Redirect to the referer url after mastofe authorization

5 years agoMock :crypt.crypt/2 because otherwise the test fails on Mac OS
Sergey Suprunenko [Fri, 5 Apr 2019 20:40:30 +0000 (22:40 +0200)]
Mock :crypt.crypt/2 because otherwise the test fails on Mac OS

5 years agoMerge branch 'revert-8607ae68' into 'develop'
rinpatch [Fri, 5 Apr 2019 20:04:16 +0000 (20:04 +0000)]
Merge branch 'revert-8607ae68' into 'develop'

Revert "Merge branch 'test-coverage' into 'develop'"

See merge request pleroma/pleroma!1028

5 years agoRevert "Merge branch 'test-coverage' into 'develop'"
rinpatch [Fri, 5 Apr 2019 19:59:03 +0000 (19:59 +0000)]
Revert "Merge branch 'test-coverage' into 'develop'"

This reverts merge request !1027

5 years agoMerge branch 'test-coverage' into 'develop'
rinpatch [Fri, 5 Apr 2019 19:49:20 +0000 (19:49 +0000)]
Merge branch 'test-coverage' into 'develop'

Use --cover option when running CI tests

See merge request pleroma/pleroma!1027

5 years agoUse --cover option when running CI tests
optikfluffel [Fri, 5 Apr 2019 18:12:44 +0000 (20:12 +0200)]
Use --cover option when running CI tests

5 years agoMerge branch 'feature/admin-api-follow' into 'develop'
feld [Fri, 5 Apr 2019 17:15:55 +0000 (17:15 +0000)]
Merge branch 'feature/admin-api-follow' into 'develop'

Feature/admin api follow

See merge request pleroma/pleroma!1026

5 years agoWe actually want the user id not nickname in the test...
Mark Felder [Fri, 5 Apr 2019 17:11:19 +0000 (12:11 -0500)]
We actually want the user id not nickname in the test...

5 years agoAlso remove Repo functions in the tests
Mark Felder [Fri, 5 Apr 2019 16:59:56 +0000 (11:59 -0500)]
Also remove Repo functions in the tests

5 years agoRedundant Repo.get_by usage was recently removed from the codebase
Mark Felder [Fri, 5 Apr 2019 16:41:41 +0000 (11:41 -0500)]
Redundant Repo.get_by usage was recently removed from the codebase

5 years agoAdd index on subscribers
Sadposter [Fri, 5 Apr 2019 16:30:54 +0000 (17:30 +0100)]
Add index on subscribers

5 years agoDocument the admin API endpoints for controlling follow/unfollow
Mark Felder [Fri, 5 Apr 2019 16:29:34 +0000 (11:29 -0500)]
Document the admin API endpoints for controlling follow/unfollow

5 years agoAdd user following / unfollowing to the admin api.
Roger Braun [Sun, 16 Dec 2018 15:41:56 +0000 (16:41 +0100)]
Add user following / unfollowing to the admin api.

5 years agoMix format everything
Sadposter [Fri, 5 Apr 2019 16:07:58 +0000 (17:07 +0100)]
Mix format everything

5 years agoDon't use twitterAPI for subscription tests
Sadposter [Fri, 5 Apr 2019 16:00:41 +0000 (17:00 +0100)]
Don't use twitterAPI for subscription tests

5 years agoChange relationship direction of subscriptions
Sadposter [Fri, 5 Apr 2019 15:51:45 +0000 (16:51 +0100)]
Change relationship direction of subscriptions

5 years agoMove subscriptions endpoint to be under /pleroma
Sadposter [Fri, 5 Apr 2019 14:58:44 +0000 (15:58 +0100)]
Move subscriptions endpoint to be under /pleroma

5 years agoAdd subscription key to one test I forgot about
Sadposter [Fri, 5 Apr 2019 14:37:00 +0000 (15:37 +0100)]
Add subscription key to one test I forgot about

5 years agoFormat subscriptions related stuff
Sadposter [Fri, 5 Apr 2019 14:22:48 +0000 (15:22 +0100)]
Format subscriptions related stuff

5 years agoAdd subscribed status to user view
Sadposter [Fri, 5 Apr 2019 14:21:33 +0000 (15:21 +0100)]
Add subscribed status to user view

Added in pleroma extensions, but can be moved whenever

5 years agoAdd tests for subscriptions
Sadposter [Fri, 5 Apr 2019 14:14:19 +0000 (15:14 +0100)]
Add tests for subscriptions

5 years agoMake subscriptions the same direction as blocks
Sadposter [Fri, 5 Apr 2019 13:59:34 +0000 (14:59 +0100)]
Make subscriptions the same direction as blocks

That being, user - subscribes to -> users, rather than
user - has subscribers -> users

5 years agoFix subscription endpoint return formats
Sadposter [Fri, 5 Apr 2019 13:27:26 +0000 (14:27 +0100)]
Fix subscription endpoint return formats

5 years agoAdd notification checks
Sadposter [Fri, 5 Apr 2019 13:20:13 +0000 (14:20 +0100)]
Add notification checks

5 years agoAdd API endpoints and user column for subscription
Sadposter [Fri, 5 Apr 2019 12:49:33 +0000 (13:49 +0100)]
Add API endpoints and user column for subscription

5 years agofix credo
Egor Kislitsyn [Fri, 5 Apr 2019 12:46:28 +0000 (19:46 +0700)]
fix credo

5 years agoMerge branch 'hotfix/html-sanitization' into 'develop'
lambda [Fri, 5 Apr 2019 12:43:57 +0000 (12:43 +0000)]
Merge branch 'hotfix/html-sanitization' into 'develop'

Refactor html caching functions to use a key instead of a module, use more correct terminology and fix summaries in mastoapi

See merge request pleroma/pleroma!1022

5 years agoUse PleromaJobQueue in Pleroma.Web.Push
Egor Kislitsyn [Fri, 5 Apr 2019 12:38:44 +0000 (19:38 +0700)]
Use PleromaJobQueue in Pleroma.Web.Push

5 years agoRefactor html caching functions to have a key instead of a module, use more correct...
rinpatch [Fri, 5 Apr 2019 12:19:44 +0000 (15:19 +0300)]
Refactor html caching functions to have a key instead of a module, use more correct terminology and fix summaries in mastoapi

5 years ago[#923] OAuth consumer mode refactoring, new tests, tests adjustments, readme.
Ivan Tashkinov [Fri, 5 Apr 2019 12:12:02 +0000 (15:12 +0300)]
[#923] OAuth consumer mode refactoring, new tests, tests adjustments, readme.

5 years ago[#923] OAuthController#callback adjustments (with tests).
Ivan Tashkinov [Fri, 5 Apr 2019 06:19:17 +0000 (09:19 +0300)]
[#923] OAuthController#callback adjustments (with tests).

5 years ago[#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
Ivan Tashkinov [Thu, 4 Apr 2019 20:43:08 +0000 (23:43 +0300)]
[#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth

# Conflicts:
# mix.exs

5 years agoMerge branch 'develop' into feature/prometheus
Mark Felder [Thu, 4 Apr 2019 20:39:42 +0000 (15:39 -0500)]
Merge branch 'develop' into feature/prometheus

5 years agoMerge branch 'feature/quack' into 'develop'
feld [Thu, 4 Apr 2019 19:52:22 +0000 (19:52 +0000)]
Merge branch 'feature/quack' into 'develop'

Add ability to ship logs to a Slack channel

See merge request pleroma/pleroma!1014

5 years agoAdd ability to ship logs to a Slack channel
feld [Thu, 4 Apr 2019 19:52:22 +0000 (19:52 +0000)]
Add ability to ship logs to a Slack channel

5 years ago[#923] OAuth consumer controller tests. Misc. improvements.
Ivan Tashkinov [Thu, 4 Apr 2019 19:41:03 +0000 (22:41 +0300)]
[#923] OAuth consumer controller tests. Misc. improvements.

5 years agoCode readability tweak
Mark Felder [Thu, 4 Apr 2019 17:36:57 +0000 (12:36 -0500)]
Code readability tweak

5 years agoClean merge crumbs
Mark Felder [Thu, 4 Apr 2019 17:29:10 +0000 (12:29 -0500)]
Clean merge crumbs

5 years agoServe metrics at `/api/pleroma/app_metrics`
href [Wed, 30 Jan 2019 15:44:38 +0000 (16:44 +0100)]
Serve metrics at `/api/pleroma/app_metrics`

5 years agoDocument Prometheus
Mark Felder [Thu, 4 Apr 2019 17:19:31 +0000 (12:19 -0500)]
Document Prometheus

5 years ago[#1] fix telemetry
Egor Kislitsyn [Mon, 25 Mar 2019 08:29:04 +0000 (15:29 +0700)]
[#1] fix telemetry

5 years agoSet up telemetry and prometheus
href [Wed, 30 Jan 2019 15:32:30 +0000 (16:32 +0100)]
Set up telemetry and prometheus

5 years agoAdd recon
href [Wed, 6 Feb 2019 09:33:05 +0000 (10:33 +0100)]
Add recon

5 years agoImprove Transmogrifier.upgrade_user_from_ap_id/2
Egor Kislitsyn [Thu, 4 Apr 2019 09:10:43 +0000 (16:10 +0700)]
Improve Transmogrifier.upgrade_user_from_ap_id/2

5 years agoMerge branch 'fix/add-oauth-token-indexes' into 'develop'
lambda [Thu, 4 Apr 2019 08:01:12 +0000 (08:01 +0000)]
Merge branch 'fix/add-oauth-token-indexes' into 'develop'

adding indexes to oauth_tokens table

See merge request pleroma/pleroma!1016

5 years agoMerge branch 'features/pleroma-tan-mastofe' into 'develop'
lambda [Thu, 4 Apr 2019 07:34:20 +0000 (07:34 +0000)]
Merge branch 'features/pleroma-tan-mastofe' into 'develop'

mastodon_api_controller.ex: Add pleroma-tan to initial_state

See merge request pleroma/pleroma!1018

5 years agomastodon_api_controller.ex: Add pleroma-tan to initial_state
Haelwenn (lanodan) Monnier [Thu, 4 Apr 2019 07:07:25 +0000 (09:07 +0200)]
mastodon_api_controller.ex: Add pleroma-tan to initial_state

5 years agoMerge branch 'feature/robotstxt' into 'develop'
lambda [Wed, 3 Apr 2019 17:31:34 +0000 (17:31 +0000)]
Merge branch 'feature/robotstxt' into 'develop'

Generate permissive or restrictive robots.txt in the config generator

See merge request pleroma/pleroma!1012

5 years agoGenerate permissive or restrictive robots.txt in the config generator
Sachin Joshi [Tue, 2 Apr 2019 19:09:16 +0000 (00:54 +0545)]
Generate permissive or restrictive robots.txt in the config generator

5 years agoMerge branch 'update-autolinker' into 'develop'
lambda [Wed, 3 Apr 2019 14:42:59 +0000 (14:42 +0000)]
Merge branch 'update-autolinker' into 'develop'

Update `auto_linker` dependency

See merge request pleroma/pleroma!1015

5 years agoadding indexes to oauth_tokens table
Alex S [Wed, 3 Apr 2019 13:51:09 +0000 (20:51 +0700)]
adding indexes to oauth_tokens table

5 years agoUpdate `auto_linker` dependency
Egor Kislitsyn [Wed, 3 Apr 2019 12:41:15 +0000 (19:41 +0700)]
Update `auto_linker` dependency

5 years agoMerge branch 'fix/preview-not-working-with-form-data' into 'develop'
lambda [Wed, 3 Apr 2019 06:51:44 +0000 (06:51 +0000)]
Merge branch 'fix/preview-not-working-with-form-data' into 'develop'

Fix preview not being usable in form data

See merge request pleroma/pleroma!1013

5 years agoFix preview not being usable in form data
rinpatch [Tue, 2 Apr 2019 20:07:16 +0000 (23:07 +0300)]
Fix preview not being usable in form data

5 years agoMerge branch 'fix-slow-relationships' into 'develop'
Haelwenn [Tue, 2 Apr 2019 18:43:48 +0000 (18:43 +0000)]
Merge branch 'fix-slow-relationships' into 'develop'

ActivityPub Utils: Greatly speed up the follow / block activity fetching.

See merge request pleroma/pleroma!1011

5 years agoMerge branch 'bugfix/wrong-date-format' into 'develop'
lambda [Tue, 2 Apr 2019 14:18:23 +0000 (14:18 +0000)]
Merge branch 'bugfix/wrong-date-format' into 'develop'

Support activities with dates in the Unix timestamp format

Closes #763

See merge request pleroma/pleroma!1004

5 years agoMerge branch 'feature/fake-statuses' into 'develop'
lambda [Tue, 2 Apr 2019 14:17:43 +0000 (14:17 +0000)]
Merge branch 'feature/fake-statuses' into 'develop'

Add fake status submit

See merge request pleroma/pleroma!995

5 years agoMerge remote-tracking branch 'origin/develop' into fix-slow-relationships
lain [Tue, 2 Apr 2019 14:10:38 +0000 (16:10 +0200)]
Merge remote-tracking branch 'origin/develop' into fix-slow-relationships

5 years agoActivityPub Utils: Greatly speed up the follow / block activity fetching.
lain [Tue, 2 Apr 2019 14:04:18 +0000 (16:04 +0200)]
ActivityPub Utils: Greatly speed up the follow / block activity fetching.

5 years agoMerging develop into feature/770-add-emoji-tags
Alex S [Tue, 2 Apr 2019 13:39:52 +0000 (20:39 +0700)]
Merging develop into feature/770-add-emoji-tags

Conflict test/web/twitter_api/util_controller_test.exs

5 years agosecond level of headertext change in doc
Alex S [Tue, 2 Apr 2019 13:35:41 +0000 (20:35 +0700)]
second level of headertext change in doc

5 years agosyntax highlighting
Alex S [Tue, 2 Apr 2019 13:32:37 +0000 (20:32 +0700)]
syntax highlighting

5 years agoMerge branch 'bugfix/share-mastodon' into 'develop'
lambda [Tue, 2 Apr 2019 12:47:40 +0000 (12:47 +0000)]
Merge branch 'bugfix/share-mastodon' into 'develop'

[OStatus] adds status to pleroma instance if the url given is a status

See merge request pleroma/pleroma!1002

5 years agoMerge branch 'remove-user-activities' into 'develop'
lambda [Tue, 2 Apr 2019 12:45:29 +0000 (12:45 +0000)]
Merge branch 'remove-user-activities' into 'develop'

[#757] Add mix task to delete user's activities

See merge request pleroma/pleroma!1008

5 years agoMerge branch 'get_by_id' into 'develop'
lambda [Tue, 2 Apr 2019 12:43:28 +0000 (12:43 +0000)]
Merge branch 'get_by_id' into 'develop'

Replace `Repo.get_by` with existing functions

See merge request pleroma/pleroma!1010

5 years agoMerge develop into feature/770-add-emoji-tags
Alex S [Tue, 2 Apr 2019 12:16:29 +0000 (19:16 +0700)]
Merge develop into feature/770-add-emoji-tags

5 years agoMerge branch 'features/pleroma-tan' into 'develop'
lambda [Tue, 2 Apr 2019 11:54:04 +0000 (11:54 +0000)]
Merge branch 'features/pleroma-tan' into 'develop'

priv/static/images: Add pleroma-tan

See merge request pleroma/pleroma!913

5 years agoRename fake param to preview and make the tests check that the object was not inserte...
rinpatch [Tue, 2 Apr 2019 11:31:18 +0000 (14:31 +0300)]
Rename fake param to preview and make the tests check that the object was not inserted to the db

5 years agoMerge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
Ivan Tashkinov [Tue, 2 Apr 2019 11:05:34 +0000 (14:05 +0300)]
Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth

# Conflicts:
# lib/pleroma/web/oauth/oauth_controller.ex
# lib/pleroma/web/router.ex

5 years agoreplace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname...
Egor Kislitsyn [Tue, 2 Apr 2019 10:58:32 +0000 (17:58 +0700)]
replace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)` in tests

5 years agoMerge branch 'features/mastoapi/2.6.0-force-login-option' into 'develop'
lambda [Tue, 2 Apr 2019 10:57:38 +0000 (10:57 +0000)]
Merge branch 'features/mastoapi/2.6.0-force-login-option' into 'develop'

MastoAPI 2.6.0 `force_login` option

Closes #734

See merge request pleroma/pleroma!999

5 years agoMerge branch 'get_by_id' into 'develop'
lambda [Tue, 2 Apr 2019 10:52:29 +0000 (10:52 +0000)]
Merge branch 'get_by_id' into 'develop'

Replace `Repo.get(Module, id)` with `Module.get_by_id(id)` where possible

See merge request pleroma/pleroma!1009

5 years agoMerge branch 'fix/nicknames-beginning-with-numbers' into 'develop'
lambda [Tue, 2 Apr 2019 10:51:33 +0000 (10:51 +0000)]
Merge branch 'fix/nicknames-beginning-with-numbers' into 'develop'

Fix account lookup for nicknames beginning with numbers

See merge request pleroma/pleroma!1003

5 years agoFix account lookup for nicknames beginning with numbers
cascode [Tue, 2 Apr 2019 10:51:33 +0000 (10:51 +0000)]
Fix account lookup for nicknames beginning with numbers

5 years ago[#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
Ivan Tashkinov [Tue, 2 Apr 2019 10:50:12 +0000 (13:50 +0300)]
[#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth

# Conflicts:
# mix.exs

5 years agoreplace `Repo.get_by(User, ap_id: ap_id)` with `User.get_by_ap_id(ap_id)`
Egor Kislitsyn [Tue, 2 Apr 2019 10:47:52 +0000 (17:47 +0700)]
replace `Repo.get_by(User, ap_id: ap_id)` with `User.get_by_ap_id(ap_id)`

5 years agoreplace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)`
Egor Kislitsyn [Tue, 2 Apr 2019 10:47:02 +0000 (17:47 +0700)]
replace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)`

5 years agoAdded "GET /oauth/authorize" tests.
Ivan Tashkinov [Tue, 2 Apr 2019 10:43:33 +0000 (13:43 +0300)]
Added "GET /oauth/authorize" tests.

5 years agochange `Repo.get(Activity, id)` => `Activity.get_by_id(id)` in tests
Egor Kislitsyn [Tue, 2 Apr 2019 10:08:03 +0000 (17:08 +0700)]
change `Repo.get(Activity, id)` => `Activity.get_by_id(id)` in tests

5 years agochange `Repo.get(User, id)` => `User.get_by_id(id)`
Egor Kislitsyn [Tue, 2 Apr 2019 10:01:26 +0000 (17:01 +0700)]
change `Repo.get(User, id)` => `User.get_by_id(id)`

5 years agochange `Repo.get(Activity, id)` => `Activity.get_by_id(id)`
Egor Kislitsyn [Tue, 2 Apr 2019 09:50:31 +0000 (16:50 +0700)]
change `Repo.get(Activity, id)` => `Activity.get_by_id(id)`

5 years agoIgnore dates in wrong formats
Sergey Suprunenko [Tue, 2 Apr 2019 09:25:51 +0000 (11:25 +0200)]
Ignore dates in wrong formats

5 years agoadd `user delete_activities` mix task
Egor Kislitsyn [Tue, 2 Apr 2019 09:30:11 +0000 (16:30 +0700)]
add `user delete_activities` mix task

5 years agotest fix
Alex S [Tue, 2 Apr 2019 09:26:40 +0000 (16:26 +0700)]
test fix

5 years agolittle changes and typos
Alex S [Tue, 2 Apr 2019 09:13:34 +0000 (16:13 +0700)]
little changes and typos

5 years agoupdating custom_emoji docs
Alex S [Tue, 2 Apr 2019 08:57:57 +0000 (15:57 +0700)]
updating custom_emoji docs

5 years agoMerge branch 'ci-speedup-2-electric-boogalo' into 'develop'
lambda [Tue, 2 Apr 2019 08:50:47 +0000 (08:50 +0000)]
Merge branch 'ci-speedup-2-electric-boogalo' into 'develop'

CI speedup: split into proper stages to benefit from parallel execution

See merge request pleroma/pleroma!1007

5 years agorefactoring of emoji tags config to use groups
Alex S [Tue, 2 Apr 2019 08:44:56 +0000 (15:44 +0700)]
refactoring of emoji tags config to use groups