Commit Graph

12326 Commits

Author SHA1 Message Date
Alessio Gravili
aa8d422421 fix tsconfig rscs paths 2024-11-11 10:37:21 -07:00
James
707775d1ae Merge branch 'feat/on-demand-rsc' of github.com:payloadcms/payload into feat/on-demand-rsc 2024-11-11 12:34:36 -05:00
James
35ca534149 perf: speeds up admin ui by not fetching for initial user if logged in 2024-11-11 12:34:08 -05:00
Jacob Fletcher
12332ab5df removes custom server fn test 2024-11-11 12:33:33 -05:00
Jarrod Flesch
174631340d chore: duplicate id key error 2024-11-11 12:15:10 -05:00
Jacob Fletcher
dc8b1fe023 removes old custom server function reduce 2024-11-11 12:12:51 -05:00
Alessio Gravili
a24b72c530 exclude "TypeError: Failed to fetch" error from console error catch that is caused by server actions being aborted 2024-11-11 10:09:28 -07:00
James
3f74896167 chore: fixes form state for disabled fields, createFirstUser 2024-11-11 11:55:54 -05:00
Alessio Gravili
b240291913 make lexical tests wait even longer 2024-11-11 09:31:27 -07:00
Alessio Gravili
a2499352a5 rscs => rsc 2024-11-11 09:27:43 -07:00
Alessio Gravili
774838c421 ignore monaco load errors due to slow CI network 2024-11-11 09:14:50 -07:00
Jacob Fletcher
6d8fd3adeb removes custom server fn feature and related docs 2024-11-11 11:07:24 -05:00
James
7d627db8aa chore: fixes templates build 2024-11-11 11:06:11 -05:00
Jarrod Flesch
bda91d875f chore: adds autosave helper to live preview e2e 2024-11-11 10:56:10 -05:00
James
9eae3d685c chore: live preview e2e fix 2024-11-11 10:48:15 -05:00
Alessio Gravili
eb82ee457c Merge remote-tracking branch 'origin/beta' into feat/on-demand-rsc 2024-11-11 08:45:41 -07:00
Alessio Gravili
cc0b88a078 lexical tests: ensure blocks are rendered 2024-11-11 08:43:08 -07:00
Nate
26691377d2 chore: update README.md asset URL (#9104)
Updated README asset URL

<!--

Thank you for the PR! Please go through the checklist below and make
sure you've completed all the steps.

Please review the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md)
document in this repository if you haven't already.

The following items will ensure that your PR is handled as smoothly as
possible:

- PR Title must follow conventional commits format. For example, `feat:
my new feature`, `fix(plugin-seo): my fix`.
- Minimal description explained as if explained to someone not
immediately familiar with the code.
- Provide before/after screenshots or code diffs if applicable.
- Link any related issues/discussions from GitHub or Discord.
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?
Update README asset URL for hero

### Why?
Reflect latest Payload branding

### How?
URL change for correct asset

-->
2024-11-11 10:41:48 -05:00
Paul
8201a6cacd chore(templates): remove old ecommerce template (#8916)
removes the previous v2 ecommerce template from the repo ahead of v3
launch until ecomm v3 is ready
2024-11-11 10:19:24 -05:00
Nate
d7fc944792 fix: update README with new asset, image URL (#9099) 2024-11-11 10:18:11 -05:00
Jarrod Flesch
faeef5bc93 chore: improve reliablity of autosave expectation 2024-11-11 09:56:49 -05:00
Elliot DeNolf
0c19afcf91 chore(release): v3.0.0-beta.127 [skip ci] v3.0.0-beta.127 2024-11-11 09:56:14 -05:00
Sasha
0a15388edb feat(db-postgres): add point field support (#9078)
### What?
Adds full support for the point field to Postgres and Vercel Postgres
adapters through the Postgis extension. Fully the same API as with
MongoDB, including support for `near`, `within` and `intersects`
operators.

Additionally, exposes to adapter args:
*
`tablesFilter`https://orm.drizzle.team/docs/drizzle-kit-push#including-tables-schemas-and-extensions.
* `extensions` list of extensions to create, for example `['vector',
'pg_search']`, `postgis` is created automatically if there's any point
field

### Why?
It's essential to support that field type, especially if the postgres
adapter should be out of beta on 3.0 stable.

### How?
* Bumps `drizzle-orm` to `0.36.1` and `drizzle-kit` to `0.28.0` as we
need this change https://github.com/drizzle-team/drizzle-orm/pull/3141
* Uses its functions to achieve querying functionality, for example the
`near` operator works through `ST_DWithin` or `intersects` through
`ST_Intersects`.
* Removes MongoDB condition from all point field tests, but keeps for
SQLite

Resolves these discussions:
https://github.com/payloadcms/payload/discussions/8996
https://github.com/payloadcms/payload/discussions/8644
2024-11-11 09:31:47 -05:00
Jarrod Flesch
b841f01da5 chore: set defaults for version max docs on globals and collections 2024-11-11 09:15:43 -05:00
Alessio Gravili
2e816614ac fix broken upload file restoration in fields and admin test suites. No more console errors about payload.jpg not being found 2024-11-10 21:39:32 -07:00
Jarrod Flesch
0c4ec43460 fix: upload test order 2024-11-10 23:27:56 -05:00
Alessio Gravili
50bab5797c fix admin-root test suite 2024-11-10 20:42:38 -07:00
Alessio Gravili
de9acedaf4 maybe fix admin-root test suite 2024-11-10 20:33:50 -07:00
Alessio Gravili
6d6370ca5e fix auth and access-control test suites 2024-11-10 20:27:05 -07:00
Alessio Gravili
a3360b5d45 fix script for running all e2e tests 2024-11-10 20:08:03 -07:00
Alessio Gravili
e6f73e0c0d make extra sure that the memorydb is started, even if runInit retries 2024-11-10 20:03:11 -07:00
Alessio Gravili
f336b2a41e fix last int test 2024-11-10 19:58:52 -07:00
Alessio Gravili
7ed2859657 add ability to disable lint-staged via DISABLE_HUSKY environment variaböe 2024-11-10 19:56:05 -07:00
Alessio Gravili
d3c5cf7aff for reliability, always ensure indexes between every test case run 2024-11-10 19:12:54 -07:00
Alessio Gravili
bc3c949d95 fix incorrect importMap import for admin-root test suite 2024-11-10 18:51:56 -07:00
Alessio Gravili
ec7028ad5b fix jest not logging anything until entire test suite has finished 2024-11-10 18:49:27 -07:00
Alessio Gravili
6d2a5ddafe remove lie in console.log 2024-11-10 18:30:42 -07:00
Alessio Gravili
b83a7f2f37 make running e2e tests more reliable 2024-11-10 18:25:22 -07:00
Alessio Gravili
8deab489df fix incorrect importMap import for admin-root test suite 2024-11-10 14:03:04 -07:00
Alessio Gravili
eab9acb35d ensure mongo memory server is started when running e2e tests in CI 2024-11-10 13:51:54 -07:00
Ruy Monteiro
a421503111 docs(storage-uploadthing): fix typo in README.md (#9090) 2024-11-10 07:59:46 +00:00
Alessio Gravili
150a31b339 passing int tests 2024-11-10 00:38:43 -07:00
Alessio Gravili
6c3e27288e log env variables 2024-11-10 00:35:09 -07:00
Alessio Gravili
3f2566a191 ensure matching react versions 2024-11-10 00:32:58 -07:00
Nathan Clevenger
b86594f3f9 docs: fixed typo in onSuccess (#9096)
Changed `if the task fails` to `if the task succeeds`
2024-11-10 00:23:32 -07:00
Alessio Gravili
8bb994fc6c fix: ensure runE2e command passed down env variables and prod flag to run dev command 2024-11-10 00:22:13 -07:00
Alessio Gravili
3a48251219 fix running dev for nested test suite paths 2024-11-10 00:19:13 -07:00
Alessio Gravili
694040c8bc debug why failing tests show as passing 2024-11-10 00:08:52 -07:00
Jacob Fletcher
d5c9628958 Merge branch 'beta' into feat/on-demand-rsc 2024-11-08 17:31:26 -05:00
Jacob Fletcher
df6578183a properly initializes new doc drawer state for join field and renames renderDocument callback 2024-11-08 17:27:03 -05:00