Commit graph

59 commits

Author SHA1 Message Date
silverpill
70c2d2aa25 Create profile_emoji database table 2023-03-04 21:12:02 +00:00
silverpill
e4254e7a3d Add "error" and "error_description" fields to Mastodon API error responses 2023-02-25 23:38:42 +00:00
silverpill
e1e9851d5c Make media URLs in Mastodon API responses relative to current origin 2023-02-22 17:56:43 +00:00
silverpill
c796cddff8 Change order of parameters in some functions 2023-02-22 17:30:31 +00:00
silverpill
10f2596830 Move config parser to mitra-config crate 2023-02-19 00:39:15 +00:00
silverpill
7d3c558ede Move utils to mitra-utils crate 2023-02-18 23:12:36 +00:00
silverpill
6945ded963 Group imports 2023-02-12 23:07:19 +00:00
silverpill
0988c0c91e Improve ethereum address validation and move validator to ethereum::utils module 2023-02-12 18:26:39 +00:00
silverpill
4ace00736b Refactor search::helpers module 2023-02-10 17:14:34 +00:00
silverpill
d09770913b Replace client-side tag URLs with collection IDs 2023-01-22 15:32:23 +00:00
silverpill
01f56d9ef7 Use re-exported tokio_postgres::GenericClient trait 2023-01-18 01:01:45 +00:00
silverpill
22cf00fd98 Propagate database errors returned by importer in search_profiles_or_import() 2023-01-11 21:26:53 +00:00
silverpill
af332283ed Move ActorAddress type to webfinger::types module 2023-01-11 21:26:52 +00:00
silverpill
d1939b10d5 Move DatabaseError to database module 2022-12-03 22:57:09 +00:00
silverpill
4185cbefb0 Rename Pool type to DbPool 2022-12-03 21:30:24 +00:00
silverpill
262b910638 Rename instance.host() to instance.hostname() 2022-11-24 13:27:10 +00:00
silverpill
5712c9099c Allow to search for profile by actor ID 2022-11-22 00:19:46 +00:00
silverpill
126c04febb Include local posts in search results 2022-11-21 22:06:06 +00:00
silverpill
dae6e9437b Use general Did type intsead of DidPkh in identity proofs 2022-11-09 18:15:50 +00:00
silverpill
4e53a5c4e4 Move DidPkh type to identity module 2022-11-08 22:45:59 +00:00
silverpill
b700a8ac6d Return verified results when searching for DID 2022-11-02 16:06:19 +00:00
silverpill
81910f9591 Rename instance field in ActorAddress to hostname 2022-10-09 14:28:30 +00:00
silverpill
8b6aef2b7a Validate acct during profile creation 2022-10-04 00:31:21 +00:00
silverpill
429f530a71 Refactor ActorAddress type 2022-10-03 21:21:20 +00:00
silverpill
7cedc909d7 Set max page size to 200 2022-09-29 22:53:18 +00:00
silverpill
81c590559e Use u16 when working with page size 2022-09-29 21:47:35 +00:00
silverpill
a8dae2a621 Enable hashtag search 2022-09-19 18:39:56 +00:00
silverpill
bc0de60b5c Support searching by !group actor address 2022-09-19 00:50:23 +00:00
silverpill
982a8e8bc2 Add API method for searching profiles by username or acct 2022-09-06 19:08:50 +00:00
silverpill
596871e6e3 Rewrite wallet address validator to work with non-ethereum addresses 2022-08-15 15:45:21 +00:00
silverpill
21df4fa35c Support search by DID 2022-08-04 18:33:17 +00:00
silverpill
a00b704cf4 Rename actor module to actors::types 2022-07-23 21:41:49 +00:00
silverpill
28fad8986c Limit number of profiles in search results 2022-05-27 22:11:16 +00:00
silverpill
e6e7e6f42a Refactor Status API views 2022-05-06 19:39:17 +00:00
silverpill
54c32c5f00 Add user actions to statuses in search results 2022-05-06 18:27:33 +00:00
silverpill
75ef8bba7c Move import_post to fetcher::helpers module 2022-05-02 17:31:39 +00:00
silverpill
fd067713d7 Allow to search for usernames containing "-" character 2022-05-01 11:30:15 +00:00
silverpill
ff5f707cba Prioritize verified results when searching for profile by subscription address 2022-04-27 22:57:49 +00:00
silverpill
a1af35997c Use currency enum instead of WALLET_CURRENCY_CODE constant 2022-04-27 22:19:14 +00:00
silverpill
2fda205dbf Rename process_note() to import_post() and change its error type to ImportError 2022-04-13 19:19:19 +00:00
silverpill
7d89f65b37 Hide posts that user is not allowed to view from search results 2022-02-08 18:00:30 +00:00
silverpill
9f1f950aa3 Validate wallet address when logging in 2022-02-01 23:56:58 +00:00
silverpill
7e5917a821 Enable search by wallet address 2022-01-31 23:45:15 +00:00
silverpill
4797bacf32 Refactor search::helpers module 2022-01-31 23:27:59 +00:00
silverpill
f7211d2a14 Move profile importers to fetcher::helpers module 2021-12-28 19:54:59 +00:00
silverpill
2703ab717a Prevent profile import error in case of webfinger redirection 2021-12-22 23:27:32 +00:00
silverpill
21499b5fc3 Refactor process_note() function 2021-12-06 01:25:59 +00:00
silverpill
7c58e15123 Log post fetching error if it occurs during search 2021-11-25 16:04:03 +00:00
silverpill
562f92512e Check view permissions when interacting with post 2021-11-20 01:14:43 +00:00
silverpill
3fc0acd2d1 Sign GET request when fetching AP object 2021-11-18 15:17:40 +00:00