Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Release v0.3.2-beta.0 #2598

Merged
merged 93 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
0b3306c
chore: disable ssl by default
DIYgod Jan 10, 2025
fe87c52
fix: do not skipValidation, close #2430
hyoban Jan 10, 2025
fb00346
chore: update script name
DIYgod Jan 10, 2025
61d3ed4
feat: use non https debug host
DIYgod Jan 10, 2025
f747882
feat(rn-search): impl search feeds and list view
Innei Jan 10, 2025
0663ab5
chore: update hono type
hyoban Jan 10, 2025
6746b54
chore: skipValidation for vitest
hyoban Jan 10, 2025
0101139
chore: update
hyoban Jan 10, 2025
4bae36a
feat(rn-component): refactor context menu for ios
Innei Jan 10, 2025
0227427
feat(search): enhance search components with new styles and functiona…
Innei Jan 10, 2025
d77ed3c
fix(lists): fix duplicate addition issue in manage feeds functionalit…
wilsonyiyi Jan 11, 2025
0a64473
refactor: rename sticky check functions for clarity (#2542)
lawvs Jan 11, 2025
e625ada
fix(rn-tabbar): calc tab bar indicator position
Innei Jan 12, 2025
6abb442
feat: add proxy support for native fetch using undici (#2537)
cesaryuan Jan 13, 2025
89126ed
perf(rn): memo and optimize list
Innei Jan 13, 2025
6828606
feat(locales): enhance zh-HK locale with new user prompts (#2556)
jerryc127 Jan 13, 2025
91f5340
fix(rn-baseline): sync with uikit color and update list
Innei Jan 13, 2025
01122c9
feat(rn): implement search list
Innei Jan 13, 2025
284a510
feat(rn): support follow list
Innei Jan 14, 2025
3dbf7c7
fix: fast scroll mark read
DIYgod Jan 14, 2025
398e02c
chore(profile): unify with other pages (#2563)
kovsu Jan 14, 2025
5bccea2
chore: update pr template
Innei Jan 14, 2025
b581393
feat(rn): implement feed drawer (#2443)
lawvs Jan 14, 2025
3c5dba4
feat: disable more line clamp for translation
DIYgod Jan 14, 2025
f850474
feat: optimize language check
DIYgod Jan 14, 2025
75b9135
feat: optimize translation display
DIYgod Jan 14, 2025
902d681
fix: missing translation in pitcure masonry
DIYgod Jan 14, 2025
fe44c38
feat: one more line clamp for translated title
DIYgod Jan 14, 2025
2edebdf
refactor(rn): subscription drawer layout
Innei Jan 14, 2025
225e470
feat: checkLanguage utils
DIYgod Jan 14, 2025
5f44d24
feat(rn): init setting page
Innei Jan 14, 2025
8ab6835
chore: apply custom css to mobile (#2533)
ericyzhu Jan 14, 2025
f17446d
feat: enhance tab layout and settings screen functionality
Innei Jan 14, 2025
00a0764
feat: enhance input fields for numeric entry
Innei Jan 15, 2025
aeb5965
chore: remove default fillout error issue
Innei Jan 15, 2025
a92364f
chore: tweak styles of feed item (#2574)
lawvs Jan 15, 2025
15a14c6
fix: conditionally render feed preview and items based on entries ava…
Innei Jan 15, 2025
fb2a458
fix(follow): fix follow modal overflow scrollbar position, fix #1238
Innei Jan 15, 2025
6c28b4f
feat: add custom app delegate for tint color configuration (#2579)
lawvs Jan 15, 2025
e8ebf47
chore: remove unnecessary margin from AudioItemSkeleton component, re…
Innei Jan 15, 2025
23152d0
fix: enhancing the Visibility of Download Buttons on White Background…
Innei Jan 15, 2025
3bdcc90
fix: get-session response null error
DIYgod Jan 15, 2025
5958ec1
fix: update type
DIYgod Jan 15, 2025
0b09616
feat(rn): setting page scroll magic
Innei Jan 15, 2025
a76814d
fix: debugger network
DIYgod Jan 15, 2025
4ae7290
fix: crash when using Google Translate, close #2121
hyoban Jan 16, 2025
596476d
chore: introduce eslint-plugin-react-google-translate
hyoban Jan 16, 2025
4461741
chore: update lint
hyoban Jan 16, 2025
4217086
fix: enhance shortcut handling for OS compatibility (#2576)
kovsu Jan 16, 2025
de3a625
fix: adjust ScrollView padding to accommodate safe area insets in Fol…
Innei Jan 16, 2025
77d73c2
fix: update query key in SearchList component for improved data fetching
Innei Jan 16, 2025
180aa66
fix: restore BlurEffect in SearchHeader and enhance refresh control i…
Innei Jan 16, 2025
a231e17
feat(locales): dynamically update copyright year (#2583)
suemor233 Jan 16, 2025
682d1ea
chore: update bug report template to include 'bug' label
Innei Jan 16, 2025
4ead508
feat(rn): setting page list design
Innei Jan 16, 2025
fb531b1
feat: 2fa (#2540)
hyoban Jan 16, 2025
a7e5a04
ci: try
hyoban Jan 16, 2025
c47905b
fix(rn): hide tabbar when push to other setting page
Innei Jan 16, 2025
8db5d53
feat(rn): init index page
DIYgod Jan 16, 2025
69704f3
fix: dispatch I18N_UPDATE event after language load (#2590)
lawvs Jan 16, 2025
7129db7
fix: ai entry actions with user role checks, close #2591
hyoban Jan 17, 2025
dfaa61f
chore: update
hyoban Jan 17, 2025
6ed9bd6
ci: update
hyoban Jan 17, 2025
7e1618c
feat: add i18n for customize toolbar (#2592)
kovsu Jan 17, 2025
61b3371
chore: init entries table
hyoban Jan 17, 2025
870905d
feat: sync icons
DIYgod Jan 17, 2025
3ef5dea
feat: smaller debug button
DIYgod Jan 17, 2025
f5e1d33
feat: add cookie to api fetch
DIYgod Jan 17, 2025
0fc90c7
feat(rn): adjust login page styles
Innei Jan 17, 2025
accbf7f
feat: use expo-secure-store and better-auth buildin getCookie for auth
DIYgod Jan 17, 2025
9efbe79
fix(rn): login redirection
DIYgod Jan 17, 2025
7169ff6
chore(rn): remove @react-native-cookies/cookies
DIYgod Jan 17, 2025
8a1ff73
fix(rn): login email
DIYgod Jan 17, 2025
aef9406
feat(rn): add login teams
Innei Jan 17, 2025
ff76b5c
chore: update changelog
Innei Jan 17, 2025
0ea516c
chore(release): release v0.3.2-beta.0
Innei Jan 17, 2025
3479a89
feat: basic entry data sync (#2597)
hyoban Jan 17, 2025
818b024
chore: update hono type
hyoban Jan 17, 2025
13cdee0
feat: enhance tab screen with blur effect and update action buttons
Innei Jan 17, 2025
8a52f04
chore: lint
hyoban Jan 17, 2025
346cd25
chore: disable typechecked lint rules
hyoban Jan 17, 2025
b21d926
chore: use tsslint for lint rule require type check
hyoban Jan 17, 2025
eb47ec2
fix: pass token when resetting password
hyoban Jan 17, 2025
dbd238a
fix: no password hint when enable 2fa
hyoban Jan 17, 2025
8bbd8bf
feat: add default value for VITE_WEB_URL and remove VITE_IMGPROXY_URL
DIYgod Jan 17, 2025
676f971
feat(rn): impl user profile page
Innei Jan 17, 2025
b2ffd5d
fix(Profile): replace Fragment with View for better layout structure …
Innei Jan 17, 2025
6b884d1
fix: allow set cookie on verify-totp
hyoban Jan 17, 2025
8be6c13
fix(TOTPForm): focus to code after fail
hyoban Jan 17, 2025
eba722f
chore: update
hyoban Jan 17, 2025
bc9a9d4
fix(auth): only set status as unauthenticated when there is no session
hyoban Jan 18, 2025
8385500
chore: update zh-cn translations (#2601)
ericyzhu Jan 18, 2025
ac29a18
fix: pass in otp code
DIYgod Jan 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 🐞 Bug report
description: Report an issue
labels: [pending triage]
labels: [pending triage, bug]
type: Bug
body:
- type: markdown
Expand Down
4 changes: 4 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Before submitting the PR, please make sure you do the following:
- [ ] Hotfix
- [ ] Other (please describe):

### Screenshots (if UI change)

### Demo Video (if new feature)

### Linked Issues

### Additional context
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/auto-fix-lint-format-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: pnpm install

- name: Run linter and fix issues
run: pnpm run lint:fix
run: |
export NODE_OPTIONS="--max_old_space_size=16384"
pnpm run lint:fix
- name: Run formatter
run: pnpm run format
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ concurrency:
env:
VITE_WEB_URL: ${{ vars.VITE_WEB_URL }}
VITE_API_URL: ${{ vars.VITE_API_URL }}
VITE_IMGPROXY_URL: ${{ vars.VITE_IMGPROXY_URL }}
VITE_SENTRY_DSN: ${{ vars.VITE_SENTRY_DSN }}
VITE_OPENPANEL_CLIENT_ID: ${{ vars.VITE_OPENPANEL_CLIENT_ID }}
VITE_OPENPANEL_API_URL: ${{ vars.VITE_OPENPANEL_API_URL }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
run: pnpm install
- name: Format, Lint and Typecheck
run: |
export NODE_OPTIONS="--max_old_space_size=16384"
npm exec turbo run format:check typecheck lint
- name: Run test
run: npm exec turbo run test
1 change: 0 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
env:
VITE_WEB_URL: ${{ vars.VITE_WEB_URL }}
VITE_API_URL: ${{ vars.VITE_API_URL }}
VITE_IMGPROXY_URL: ${{ vars.VITE_IMGPROXY_URL }}
VITE_SENTRY_DSN: ${{ vars.VITE_SENTRY_DSN }}
VITE_OPENPANEL_CLIENT_ID: ${{ vars.VITE_OPENPANEL_CLIENT_ID }}
VITE_OPENPANEL_API_URL: ${{ vars.VITE_OPENPANEL_API_URL }}
Expand Down
7 changes: 6 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"recommendations": ["dbaeumer.vscode-eslint"]
"recommendations": [
"dbaeumer.vscode-eslint",
"johnsoncodehk.vscode-tsslint",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss"
]
}
67 changes: 66 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pnpm install
### Develop in the browser

```sh
pnpm run dev:web
pnpm run dev
```

Then the browser opens `https://app.follow.is/__debug_proxy`,you can access the online API environment to development and debugging.
Expand All @@ -120,7 +120,7 @@ cp .env.example .env
Then set `VITE_API_URL` to `https://api.follow.is` and run:

```sh
pnpm run dev
pnpm run dev:electron
```

Since it is not very convenient to develop in Electron, the first way to develop and contribute is recommended at this stage.
Expand Down
5 changes: 4 additions & 1 deletion apps/main/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ function bootstrap() {
// handle session cookie when sign in with email in electron
session.defaultSession.webRequest.onHeadersReceived(
{
urls: [`${apiURL}/better-auth/sign-in/email?*`],
urls: [
`${apiURL}/better-auth/sign-in/email?*`,
`${apiURL}/better-auth/two-factor/verify-totp?*`,
],
},
(detail, callback) => {
const { responseHeaders } = detail
Expand Down
5 changes: 5 additions & 0 deletions apps/main/src/lib/proxy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { session } from "electron"
import { ProxyAgent, setGlobalDispatcher } from "undici"

import { logger } from "../logger"
import { store } from "./store"
Expand Down Expand Up @@ -77,4 +78,8 @@ export const updateProxy = () => {
proxyRules,
proxyBypassRules: BYPASS_RULES,
})
// Currently, Session.setProxy is not working for native fetch, which is used by readability.
// So we need to set proxy for native fetch manually, refer to https://stackoverflow.com/a/76503362/14676508
const dispatcher = new ProxyAgent({ uri: new URL(proxyUri).toString() })
setGlobalDispatcher(dispatcher)
}
2 changes: 2 additions & 0 deletions apps/mobile/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
],
"expo-apple-authentication",
[require("./scripts/with-follow-assets.js")],
[require("./scripts/with-follow-app-delegate.js")],
"expo-secure-store",
],
experiments: {
typedRoutes: true,
Expand Down
18 changes: 18 additions & 0 deletions apps/mobile/drizzle/0005_tense_sleepwalker.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
CREATE TABLE `entries` (
`id` text PRIMARY KEY NOT NULL,
`title` text,
`url` text,
`content` text,
`description` text,
`guid` text NOT NULL,
`author` text,
`author_url` text,
`author_avatar` text,
`inserted_at` integer NOT NULL,
`published_at` integer NOT NULL,
`media` text,
`categories` text,
`attachments` text,
`extra` text,
`language` text
);
3 changes: 3 additions & 0 deletions apps/mobile/drizzle/0006_exotic_kid_colt.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE `entries` ADD `feed_id` text;--> statement-breakpoint
ALTER TABLE `entries` ADD `inbox_handle` text;--> statement-breakpoint
ALTER TABLE `entries` ADD `read` integer;
1 change: 1 addition & 0 deletions apps/mobile/drizzle/0007_curvy_tarantula.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `lists` ADD `entry_ids` text;
Loading
Loading