Wykres commitów

34 Commity (175312789bc4cbdd53f1d9f39ef6b6e4a16929d4)

Autor SHA1 Wiadomość Data
Sven Sauleau 175312789b json_set query builder 2023-03-09 18:36:19 +00:00
Dario Piotrowicz 81114acb95 add types-check frontend script
add a types check that runs tsc making sure that all
typings present in the frontend application are valid
2023-03-06 19:47:28 +00:00
Dario Piotrowicz 9f2eeb19dd improve typing and security of getObjectBy function 2023-02-23 15:44:15 +00:00
Sven Sauleau c09edecc34 support direct visiblity and reject others
Refs https://github.com/cloudflare/wildebeest/issues/303
2023-02-23 14:43:33 +00:00
Sven Sauleau 7dea01b781 extract database types
Refs https://github.com/cloudflare/wildebeest/issues/228
2023-02-22 16:18:06 +00:00
Sven Sauleau 7c2a0f207d use Actor properties for inbox URL
Previously the inbox URL would be guessed from Mastodon URL scheme,
however this doesn't work with non Mastodon Actors.

This change relies on Actor's properties to get the inbox URL, ie the
proper way.
2023-02-20 16:57:39 +00:00
Dario Piotrowicz 97530bbc7a handle spoiler text in the statuses ui
as part of this:
 - wire up spoilter_text in the backend so that frontend can use it
 - add spoiler_text to dummy data (+ related refactoring)
 - show spoilter text in the ui (+ related refactoring)
 - add/update e2e tests to check spoiler text
2023-02-17 23:05:45 +00:00
Sven Sauleau 5867841881 Move activity; move followers 2023-02-16 11:39:49 +00:00
Sven Sauleau 5110b4992a introduce basic for hashtag
This change detects hashtags in statuses and insert them into a new
table `note_hashtags`.
2023-02-13 11:37:35 +00:00
Sven Sauleau adced26955 Disjoint Link from Object
Link was extending Object which was a mistake (as pointed out in
https://github.com/cloudflare/wildebeest/issues/35). This change
disjoints Link and Object objects, as specified by
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-link.
2023-02-13 10:11:39 +00:00
Dario Piotrowicz a7568b73a9
Merge pull request #246 from cloudflare/seo-metadata
add title, description and seo metadata to various pages
2023-02-10 15:23:14 +00:00
Dario Piotrowicz e3271478e1 add title, description and seo metadata to various pages
resolves #218
2023-02-10 15:18:50 +00:00
Sven Sauleau b01148c9b2 implement media update 2023-02-09 14:40:28 +00:00
Sven Sauleau 13b827dcfa MOW-139: support federated Note deletion 2023-02-08 17:32:44 +00:00
Dario Piotrowicz 6298220010 implement account page 2023-02-03 12:43:27 +00:00
Sven Sauleau 646b83cf93 getAndCache Actor of any types
Closes https://github.com/cloudflare/wildebeest/issues/178
2023-02-03 11:14:10 +00:00
Sven Sauleau 39e76bfb48 MOW-128: collect and expose peers 2023-02-02 15:48:17 +00:00
Sven Sauleau e236855d71 move internal Object fields to symbols 2023-02-02 14:28:17 +00:00
Sven Sauleau ddeadd0b67 fix: switch Note tag as mentions 2023-02-02 11:24:41 +00:00
Sven Sauleau 3b4cbcd575 Add `tag` on note 2023-02-01 17:08:29 +00:00
Dario Piotrowicz 2cdb55ed0f improve image and video handling
by:
 - adding MediaGallery
 - adding missing controls to video element
 - renaming ImageGallery to Image
 - fixing video attachments not being correctly recognized
 - standardizing mastodon media_attachmen types in mock db init
2023-01-30 15:38:13 +00:00
Dario Piotrowicz ab43afea34 rename ambiguous Object to APObject 2023-01-24 13:40:26 +00:00
Dario Piotrowicz c7978d4ea5
Merge pull request #75 from cloudflare/minor-backend-linting-improvements
improve be (+functions) linting
2023-01-23 11:42:57 +00:00
Dario Piotrowicz 3738c7dda1 improve be (+functions) linting:
- enable no-unsafe-call for be/functions linting
 - enable backend await-thenable eslint rule
 - enable backend no-misused-promises eslint rule
2023-01-23 11:38:16 +00:00
Sven Sauleau 1e539df615 MOW-119: preserve attachement from remote statuses 2023-01-20 11:06:15 +00:00
Sven Sauleau 4a0d413c00 MOW-87: implement remote followers/following 2023-01-19 13:56:56 +00:00
Sven Sauleau 2f9c55dd17 MOW-114: fix id in account's statuses 2023-01-18 10:39:47 +00:00
Sven Sauleau fb88422a67 MOW-107: post in reply to 2023-01-17 15:22:36 +00:00
Pete Bacon Darwin abd41ae8ab
MOW-102 - Add sanitization to ActivityPub Objects (#118)
* Add sanitization to ActivityPub Objects
2023-01-17 12:00:07 +00:00
Sven Sauleau 196d6fa896 MOW-101: hide DM from public 2023-01-16 14:50:06 +00:00
Dario Piotrowicz 870dd60c3b enable no-unused-vars eslint rule for BE 2023-01-06 18:50:39 +01:00
Sven Sauleau 33b43d06f9 refactor remote statuses and detect duplicated objects on create 2023-01-06 15:18:46 +00:00
Dario Piotrowicz e344006f26 enable be no-unsafe-return eslint rule
also apply some related refactoring to make the
code more DRY
2023-01-04 15:01:00 +01:00
Sven Sauleau 25be15b2a0 Import wildebeest code
Co-authored-by: Sven Sauleau <sven@cloudflare.com>
Co-authored-by: Dario Piotrowicz <dario@cloudflare.com>
Co-authored-by: André Cruz <acruz@cloudflare.com>
Co-authored-by: James Culveyhouse <jculveyhouse@cloudflare.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
2023-01-04 09:51:17 +00:00