David Celis
d4fe6cd2bf
Allow users to update their Account in the API ( #1179 )
...
* Allow users to update their Account in the API
It would be nice for API clients to be able to allow users to update
their accounts without having to wrap Mastodon in a web view. This patch
adds an API endpoint to let users submit a PATCH for their account.
Signed-off-by: David Celis <me@davidcel.is>
* Add /api/v1/accounts/update_credentials to the API docs
Signed-off-by: David Celis <me@davidcel.is>
8 years ago
Matt Jankowski
e5282e4ec0
Clean up about page ( #1282 )
...
* Add InstancePresenter to expose site details
* Clean up about controller, use instance presenter
8 years ago
Matt Jankowski
71706f21c2
Ignore implied formats for catch all route requests ( #1340 )
...
A request to `/test` would show the custom 404 page, but a request to
`/test.test` would return a 404 with an empty body.
This change ignores the format on incoming catch all route requests, so that the
html 404 page is returned on these requests.
8 years ago
Eugen
9acdb166e8
Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled ( #1278 )
...
* Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled
TOTP secret is not shown again after 2FA is enabled
* Clean up
8 years ago
Eugen Rochko
e3a3422a65
Allow setting of default language through config
...
Setting of locale in controller extracted to Localized concern,
the doorkeeper authorized applications controller moved under
custom namespace with inclusion of Localized, which resolves the
"it sometimes appears in a different random language" bug
8 years ago
Eugen Rochko
b7c1b12367
Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
Eugen Rochko
e8875c6046
Import feature for following/blocking lists (addresses #62 , #177 , #201 , #454 )
8 years ago
Eugen Rochko
d6ed2eb512
Prettier account and stream entry URLs
8 years ago
Eugen Rochko
05cf086766
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
8 years ago
Eugen Rochko
56d998cbdb
Export follow/block lists as CSV
8 years ago
Eugen Rochko
6be7bde243
Fix #525 - Add instance information API
8 years ago
Eugen
e245115f47
Merge branch 'master' into mastodon-site-api
8 years ago
Eugen Rochko
5f4e402204
Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
...
Redirect /:username to /users/:username
Redirect /:username/:id to /users/:username/updates/:id
Updated API documentation and sponsors
8 years ago
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Kibigo
620f70e42c
Adds site metadata access to the API
8 years ago
Eugen Rochko
175a9b9caa
Fix #104 - Style OAuth authorized applications page
...
Add ability to search accounts by display name
8 years ago
Eugen Rochko
8132cf8153
Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments
...
Make replies default to privacy settings of the status being replied to
8 years ago
Eugen Rochko
d0f087db2d
Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
8 years ago
Eugen Rochko
24ba7c9762
Adding index overview for reports in admin UI
8 years ago
Eugen Rochko
5426f06ac2
Fix admin UI for accounts somewhat
8 years ago
Eugen Rochko
3b81baaaaf
Adding POST /api/v1/reports API, and a UI for submitting reports
8 years ago
Eugen Rochko
0518492158
Stop trying to shoehorn all Salmon updates into the poor database-connected
...
StreamEntry model. Simply render Salmon slaps as they are needed
8 years ago
Eugen Rochko
77e13c2bc9
Removing failed push notification API, make context loads use cache
8 years ago
Eugen Rochko
d9ca46b464
Cleaning up format of broadcast real-time messages, removing
...
redis-backed "mentions" timeline as redundant (given notifications)
8 years ago
Eugen Rochko
3f075c7794
API for apps to register for push notifications
8 years ago
Eugen Rochko
ba192f12e3
Added optional two-factor authentication
8 years ago
Effy Elden
07b9a10d4d
Add redirect for /admin => /admin/settings
8 years ago
Eugen Rochko
f392030ab8
Add /api/v1/notifications/clear, non-existing link cards for statuses will
...
now return empty hash instead of throwing a 404 error. When following,
merge into timeline will filter statuses
8 years ago
Eugen Rochko
e028406db4
Fix code style
8 years ago
Eugen Rochko
d72dd38c13
Merge branch 'master' of https://github.com/ineffyble/mastodon into ineffyble-master
8 years ago
Eugen Rochko
3a4b5961be
Method to fetch a single notification
8 years ago
Effy Elden
5fef55c11a
Set remote dev environments to use letter_opener_web, add default .env.vagrant variables
8 years ago
Eugen Rochko
f0de621e76
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko
e25170f960
Add extended about page stub
8 years ago
Eugen Rochko
b11fdc3ae3
Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
...
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
8 years ago
Eugen Rochko
75f80bef10
Persist UI settings, add missing localizations for German
8 years ago
Eugen Rochko
2b0b7ff1b8
Fix #385 - /web now loads a page
8 years ago
Eugen Rochko
8f47f6a7ec
Adding remote follow button
8 years ago
Eugen Rochko
a302e56f9a
Add API for retrieving favourites
8 years ago
Eugen Rochko
49834a6e7f
Add API for retrieving blocked accounts
8 years ago
Eugen Rochko
d7dc84439c
Add ability to use remote follow function on other sites
8 years ago
Eugen Rochko
3689c119f0
Replacing follow requests in the settings area with in-UI column
8 years ago
Eugen Rochko
004382e4d0
Adding follow requests API
8 years ago
Eugen Rochko
b302b9202b
Add page for authorizing/rejecting follow requests
8 years ago
Eugen Rochko
aed25932b5
Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
8 years ago
Eugen Rochko
76ec907993
Improved admin UI
8 years ago
Eugen Rochko
f978b06dd1
Add suspend account functionality to admin UI
8 years ago
Eugen Rochko
9d9f796130
Adding more to admin accounts UI
8 years ago
Eugen Rochko
6ff93845d5
Add basic OEmbed provider API, fix #247
8 years ago
Eugen Rochko
356d3874eb
Normalize localizations, add stub for admin/accounts
8 years ago
Eugen Rochko
27fc49d745
Add simple admin overview of PuSH subscriptions
8 years ago
Eugen Rochko
2d2c81765b
Adding embedded PuSH server
8 years ago
Eugen Rochko
8efa081f21
Remove Neo4J
8 years ago
Eugen Rochko
da2ef4d676
Adding unified streamable notifications
8 years ago
Eugen Rochko
d42ed78aa4
Fix #110 - Make web UI use browser history, change links in e-mails to link to that
8 years ago
Eugen Rochko
09218d4c01
Use full-text search for autosuggestions
8 years ago
Eugen Rochko
b13e7dda1f
API pagination for all collections using Link header
8 years ago
Eugen Rochko
9aecc0f48a
Move timelines API from statuses to its own controller, add a check for
...
resources that require a user context vs those that don't (such as public timeline)
/api/v1/statuses/public -> /api/v1/timelines/public
/api/v1/statuses/home -> /api/v1/timelines/home
/api/v1/statuses/mentions -> /api/v1/timelines/mentions
/api/v1/statuses/tag/:tag -> /api/v1/timelines/tag/:tag
8 years ago
Eugen Rochko
48b9619439
Adding hashtags
8 years ago
Eugen Rochko
6471a548fe
Add pghero for analyzing postgres performance in production
8 years ago
Eugen Rochko
e4671adc25
Fix reblogged/favourited caching; add API endpoints for who favd/reblogged status
8 years ago
Eugen Rochko
dd03118098
Fix follow icon changing plus to minus, add terms page stub
8 years ago
Eugen Rochko
e0a197650a
Adding common followers API, fixing fallback query again
8 years ago
Eugen Rochko
a9e40a3d80
Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
...
to the API
8 years ago
Eugen Rochko
e21a3fe0cd
Adding sync of follow relationships to Neo4J, accounts/suggestions API
8 years ago
Eugen Rochko
7a6d95f70c
E-mail preferences page
8 years ago
Eugen Rochko
1f650d327d
Adding public timeline
8 years ago
Eugen Rochko
3554d638b3
Fix #72 - add follow/unfollow button to public profiles
8 years ago
Eugen Rochko
7b9a4af311
API for blocking and unblocking
8 years ago
Eugen Rochko
fc198a8b4c
Adding e-mail confirmations
8 years ago
Eugen Rochko
6d7290f47c
Add API for getting info about authenticated user: /api/v1/accounts/verify_credentials
8 years ago
Eugen Rochko
e63aebff7a
Adding landing page
8 years ago
Eugen Rochko
4f9b7432dd
Fix #52 - Add API versioning (v1)
8 years ago
Eugen Rochko
7e14eefc81
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
...
registration API
8 years ago
Eugen Rochko
e46abc71ca
Fix notifications in UI, added new API for fetching account relationships
8 years ago
Eugen Rochko
bd5ad304ba
Adding media controller, 1 webm/compose form allowed, previews generated
8 years ago
Eugen Rochko
5b0cef9781
Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context
8 years ago
Eugen Rochko
85d89b472d
Optimized n+1 queries in accounts Atom and HTML views
...
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API
8 years ago
Eugen Rochko
509c18eb13
Fix local follows, 404 in logs
8 years ago
Eugen Rochko
eec0dc46a6
PostStatusService can attach media to status, ProcessFeedService likewise
8 years ago
Eugen Rochko
ae1fac0062
Add API to upload media attachments
8 years ago
Eugen Rochko
6deb9f966e
Live timelines using ActionCable
8 years ago
Eugen Rochko
e24bfbde1a
Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
...
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding
admin status to users
9 years ago
Eugen Rochko
42dcb0d4cb
Adding Sidekiq for background processing (firstly just of mailers)
9 years ago
Eugen Rochko
f14f462eaf
Adding Turbolinks, adding status posting form on homepage
9 years ago
Eugen Rochko
9d55529318
Fix text color in dashboard inputs, sanitize remote status content in UI,
...
simplify FanOutOnWriteService, add /api/accounts/lookup method
9 years ago
Eugen Rochko
71ae4dd3d2
Adding public following and followers pages, fix #3
9 years ago
Eugen Rochko
6fec8afc3f
Bind oauth applications to users
9 years ago
Eugen Rochko
3441361568
Adding simple_form, adding profile settings, header image
9 years ago
Eugen Rochko
1aa477ac2f
Customized more doorkeeper views, only logged in users can create oauth apps
9 years ago
Eugen Rochko
aab9f57e36
Adding config for puma, dashboard layout, fixing some queries
9 years ago
Eugen Rochko
fe57f6330f
API methods for retrieving home and mentions timelines
9 years ago
Eugen Rochko
f099bc6091
Adding API for favouriting a status
9 years ago
Eugen Rochko
ab6696e855
Adding doorkeeper, adding a REST API
...
POST /api/statuses Params: status (text contents), in_reply_to_id (optional)
GET /api/statuses/:id
POST /api/statuses/:id/reblog
GET /api/accounts/:id
GET /api/accounts/:id/following
GET /api/accounts/:id/followers
POST /api/accounts/:id/follow
POST /api/accounts/:id/unfollow
POST /api/follows Params: uri (e.g. user@domain)
OAuth authentication is currently disabled, but the API can be used with HTTP Auth.
9 years ago
Eugen Rochko
c605b828b5
Adding routes to follow, unfollow, favourite and reblog (locally known models)
9 years ago
Eugen Rochko
6045b6cb18
Customizing devise views and controllers
9 years ago
Eugen Rochko
7e93da3f8d
Removing grape and adding devise
9 years ago
Eugen Rochko
0e8f59c16f
Refactoring Grape API methods into normal controllers & other things
9 years ago
Eugen Rochko
fa33750105
Adding reblogs, favourites, improving atom generation
9 years ago
Eugen Rochko
3b0bc18db9
Improved Atom rendering templates, added README
9 years ago
Eugen Rochko
2bc48e9064
Individual atom entries
9 years ago
Eugen Rochko
709c6685a9
Made some progress
9 years ago
Eugen Rochko
9c4856bdb1
Initial commit
9 years ago