Skip to content

Commit e26ba9b

Browse files
obenlandpfefferle
andauthored
Social Reader UI (#2388)
Co-authored-by: Matthias Pfefferle <[email protected]>
1 parent 5c1de84 commit e26ba9b

File tree

128 files changed

+7150
-535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+7150
-535
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ FEDERATION.md
3434
Gruntfile.js
3535
gulpfile.js
3636
jest.config.js
37+
jest.setup.js
3738
LICENSE.md
3839
LINGUAS
3940
local

.github/changelog/2388-add-reader

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: added
3+
4+
Add Social Web Reader for browsing ActivityPub content directly in WordPress admin.

.github/workflows/codeql.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: 'CodeQL Advanced'
2+
3+
on:
4+
push:
5+
branches: ['trunk']
6+
pull_request:
7+
branches: ['trunk']
8+
schedule:
9+
- cron: '35 10 * * 1'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze (${{ matrix.language }})
14+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+
permissions:
16+
security-events: write
17+
packages: read
18+
actions: read
19+
contents: read
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
include:
25+
- language: actions
26+
build-mode: none
27+
- language: javascript-typescript
28+
build-mode: none
29+
30+
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@v4
36+
with:
37+
languages: ${{ matrix.language }}
38+
build-mode: ${{ matrix.build-mode }}
39+
config: |
40+
paths-ignore:
41+
- build
42+
43+
- name: Perform CodeQL Analysis
44+
uses: github/codeql-action/analyze@v4
45+
with:
46+
category: '/language:${{matrix.language}}'

activitypub.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function rest_init() {
4444
Rest\Server::init();
4545
( new Rest\Actors_Controller() )->register_routes();
4646
( new Rest\Actors_Inbox_Controller() )->register_routes();
47+
( new Rest\Admin\Actions_Controller() )->register_routes();
4748
( new Rest\Application_Controller() )->register_routes();
4849
( new Rest\Collections_Controller() )->register_routes();
4950
( new Rest\Comments_Controller() )->register_routes();
@@ -126,6 +127,7 @@ function plugin_admin_init() {
126127

127128
\add_action( 'admin_init', array( __NAMESPACE__ . '\WP_Admin\Admin', 'init' ) );
128129
\add_action( 'admin_init', array( __NAMESPACE__ . '\WP_Admin\Advanced_Settings_Fields', 'init' ) );
130+
\add_action( 'admin_init', array( __NAMESPACE__ . '\WP_Admin\App', 'init' ), 0 ); // Before admin bar init.
129131
\add_action( 'admin_init', array( __NAMESPACE__ . '\WP_Admin\Blog_Settings_Fields', 'init' ) );
130132
\add_action( 'admin_init', array( __NAMESPACE__ . '\WP_Admin\Health_Check', 'init' ) );
131133
\add_action( 'admin_init', array( __NAMESPACE__ . '\WP_Admin\Settings', 'init' ) );

build/app/block.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/app/feed-content.0cbb6ba0.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/app/feed-route.20fab139.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/app/index.asset.php

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)