- Timestamp:
- 07/01/2026 07:06:45 PM (2 months ago)
- Branches:
- main
- Children:
- 1c2dcba
- Parents:
- d18c60e
- Location:
- test
- Files:
-
- 1 added
- 1 edited
-
activitypub-as2.test.js (modified) (3 diffs)
-
post-language.test.js (added)
Legend:
- Unmodified
- Added
- Removed
-
test/activitypub-as2.test.js
rd18c60e r0688b5f 27 27 'published', 'updated', 'attributedTo', 'inReplyTo', 'replies', 28 28 'attachment', 'tag', 'icon', 'image', 'duration', 29 'contentMap', 'nameMap', 'summaryMap', // AS2 @language-map counterparts of content/name/summary 29 30 'totalItems', 'orderedItems', 'items', 'first', 'last', 'partOf', 'next', 'prev', 30 31 'preferredUsername', 'inbox', 'outbox', 'followers', 'following', 'endpoints', 'sharedInbox', … … 47 48 keys.add(k); 48 49 if (k === 'type' && typeof v === 'string') keys.add(v); 50 if (/Map$/.test(k)) continue; // a @language map (contentMap/…): its keys are BCP-47 tags, not vocab terms 49 51 collect(v, keys); 50 52 } … … 70 72 id: 'p1', slug: 'hello', title: 'Hi', content: '<p>hello #music</p>', 71 73 nsfw: 1, content_warning: 'cw', tags: JSON.stringify(['mood']), 72 cover_image_url: '/media/c.webp', 74 cover_image_url: '/media/c.webp', cover_alt: 'A cover', language: 'en', 73 75 published_at: '2026-01-01T00:00:00Z', created_at: '2026-01-01T00:00:00Z', 74 76 };
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)