Alessio Gravili
696a215dd0
feat: move some stuff over to the new adapter pattern ( #2880 )
...
* chore: add jsdocs for limit
* moar jsdocs
* Replace find in deleteByID
* (check this:) add missing locale
* move findByID
* Make findByID return only one document
* _id => id
* _id => id
* Improve version types
* Improve sortOrder types
* move version stuff over
* version stuff
* fix: sort types
* fix params
* fix: findVersionByID generic
* fix: type error for versions
* remove unused value
* fix: Document import
* add todo
* feat: updateOne to mongoose
* remove unnecessary Model
* more update stuff
* remove unnecessary imports
* remove unnecessary function arguments
* fix: auth db update calls
* fix: bad updateByID which made tests fail
* fix: update returned docs to fix tests
* fix: update from version using mongoose directly even though the Model does not exist
* feat: implement deleteOne
* fix: assign verificationToken only when it exists - fixes test
* migrate saveVersion partly
* feat: make dev:generate-graphql-schema work even without specifying extra argument
* fix: this.db can be null
* chore: use destructured locale where possible
* chore: improve variable name
* fix: SanitizedConfig type
* feat: findGlobal database adapter
* fix: flaky e2e test
* chore: improve incorrect comment
* chore: undo diffs
* fix: id types
* fix: id typing
2023-06-26 17:45:52 +02:00
Dan Ribbens
3863959c53
chore: change db adapter args
2023-06-19 16:46:17 -04:00
Dan Ribbens
504f5190d5
chore: normalize payload collections and globals outside db adapter
2023-06-15 16:50:11 -04:00
Jarrod Flesch
46a5f41721
fix: sanitize reset password result - #2805 ( #2808 )
2023-06-12 11:23:24 -04:00
PatrikKozak
2e60830f6a
Merge branch 'master' of https://github.com/payloadcms/payload into feat/customize-upload-filename
2023-06-09 14:41:45 -04:00
PatrikKozak
752b5456b9
chore: updates test/uploads test to check for value not text
2023-06-09 14:28:27 -04:00
PatrikKozak
35f7677d48
chore: updates test/fields uploads test to check for value not text
2023-06-09 13:34:24 -04:00
Jarrod Flesch
725aa3183d
chore: stubs out config for field perf testing
2023-06-09 11:27:18 -04:00
Jarrod Flesch
cf49f53809
Merge remote-tracking branch 'origin' into feat/array-rows
2023-06-09 11:03:41 -04:00
Jarrod Flesch
589eb3fa15
chore: removes console logs, accounts for initCollapsed
2023-06-07 22:31:36 -04:00
Jarrod Flesch
87554e9b16
chore: builds rows on init, refactors preferences for documents
2023-06-07 22:21:08 -04:00
Jarrod Flesch
8458a98eff
feat: custom type interfaces ( #2709 )
...
* feat: ability to hoist type interfaces and reuse them
* docs: organizes ts and gql docs, adds section for field interfaces on both
2023-06-07 12:48:41 -04:00
Dan Ribbens
576af01b6f
fix : #2711 index sortable field global versions fields ( #2775 )
2023-06-06 14:46:14 -04:00
James Mikrut
03b1ee0896
chore: remove passport local mongoose ( #2713 )
2023-06-06 10:07:47 -04:00
Jarrod Flesch
536d7017ee
fix: recursiveNestedPaths not merging existing fields when hoisting row/collapsible fields ( #2769 )
2023-06-04 08:49:23 -04:00
Alessio Gravili
23be263dd2
fix: RichText link custom fields ( #2756 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-06-02 13:55:46 -04:00
Jarrod Flesch
f978299868
fix: graphql where types on rows and collapsible's ( #2758 )
...
Co-authored-by: Kári Yngvason <kari@hugsmidjan.is >
Co-authored-by: NikolaGanchev <62907292+NikolaGanchev@users.noreply.github.com >
Co-authored-by: James <james@trbl.design >
2023-06-02 13:50:19 -04:00
Dan Ribbens
93a85dd937
chore: allow custom mongourl during test ( #2743 )
...
Co-authored-by: swenzel <swen.wenzel@thearc.de >
Co-authored-by: PatrikKozak <patrik@trbl.design >
2023-05-31 15:51:49 -04:00
Jessica Chowdhury
8ee9724277
fix: fix locale popup overflow ( #2737 )
...
* fix: fix locale popup overflow
* chore: refines locale selector css
---------
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-05-30 15:49:30 -04:00
PatrikKozak
7c446ec71a
Merge pull request #2636 from AlessioGr/test-console-log-admin-url
...
fix: console log correct admin URL for tests
2023-05-30 15:07:28 -04:00
Jarrod Flesch
0986282f13
fix: adds timestamps to global schemas ( #2738 )
2023-05-30 14:37:43 -04:00
Jacob Fletcher
c76dc77e64
chore: writes e2e test for list drawer useAsTitle search
2023-05-30 11:28:26 -04:00
TomDo1234
b47e84369c
fixed UserExistsError message to say email instead of username
2023-05-24 07:12:58 +10:00
Jarrod Flesch
f9de807daa
Fix: correct graphql param types ( #2696 )
...
* chore: colocates gql schema field types with operators
* chore: adds missing `json` gql field schema
* fix: corrects graphql `id` type from JSON to String
2023-05-23 15:27:35 -04:00
Jacob Fletcher
e85ce4eaf2
Merge pull request #2694 from payloadcms/fix/rel-drawer-save
...
fix: add new relationship drawer onSave handling
2023-05-23 15:24:22 -04:00
Jacob Fletcher
2809cb910c
chore: fixes broken test for externally updated relationships
2023-05-23 10:37:52 -04:00
James Mikrut
324ca171a3
Merge pull request #2693 from payloadcms/fix/2685-graphql-relations
...
Fix/2685 graphql relations
2023-05-23 08:37:53 -04:00
Jacob Fletcher
bbf114b822
chore: writes e2e test for relationships created using the document drawer
2023-05-22 23:59:09 -04:00
James
9bb5470342
fix : #2685 , graphql querying relationships with custom id
2023-05-22 16:40:24 -04:00
Elliot DeNolf
2f209e3e9b
chore: recreate issue in test dir
2023-05-22 16:14:28 -04:00
James
314ddbd44c
chore: tests
2023-05-22 15:50:54 -04:00
Jacob Fletcher
698a8abe6e
chore: fixes failing e2e test when searching within a relationship field
2023-05-17 12:25:24 -04:00
Paul
7963e7540f
fix: add dotenv.config() to test/dev.ts ( #2646 )
2023-05-10 08:47:22 -04:00
Angelo Bartolome
85316879cd
feat: allow users to manipulate images without needing to resize them ( #2574 )
...
* Refactor imageResizer.ts to allow for keeping original size in certain cases
* revert new property for keeping desired size
* add unit tests for maintained image size feature
2023-05-10 08:44:53 -04:00
Dennis Snijder
54fac4a5d7
fix: Row groups in tabs vertical alignment ( #2593 )
...
* fix: removes top padding from group in row
---------
Co-authored-by: PatrikKozak <patrik@trbl.design >
2023-05-08 15:55:12 -04:00
Alessio Gravili
2697974694
fix: fix tests by hard-coding the URL in the logger
2023-05-08 19:23:09 +02:00
Elliot Lintz
a9b5dffa00
feat: allow full URL in staticURL ( #2562 )
...
* feat: support full URL for upload.staticURL
* feat: Update documentation about upload.staticURL property
* feat: Add reproduction test for absolute staticURL
2023-05-08 13:17:16 -04:00
Alessio Gravili
095ccf7194
chore: set serverURL for tests
2023-05-08 19:04:27 +02:00
James Mikrut
776cad427d
Merge pull request #2635 from payloadcms/fix/2611-nested-querying
...
fix: ensures nested querying works when querying across collections
2023-05-08 12:49:55 -04:00
Jarrod Flesch
d365ba5303
chore: fixes test
2023-05-08 12:24:24 -04:00
Jarrod Flesch
31c0ab7ab7
chore: strengthens int test
2023-05-08 12:22:08 -04:00
Jarrod Flesch
09974fa686
fix: ensures nested querying works when querying across collections
2023-05-08 12:20:06 -04:00
Dan Ribbens
967f2ace0e
fix: query custom text id fields
2023-05-06 21:25:41 -04:00
Michel v. Varendorff
967899229f
feat: collection admin.enableRichTextLink property ( #2560 )
2023-05-04 16:31:40 -04:00
Jarrod Flesch
1d58007606
feat: custom admin buttons ( #2618 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-05-04 16:04:06 -04:00
Jarrod Flesch
acfb9bca45
Feat/custom admin buttons ( #2613 )
2023-05-03 17:21:38 -04:00
James Mikrut
a0bb13a412
fix : #2592 , allows usage of hidden fields within access query constraints ( #2599 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-05-01 17:15:14 -04:00
Dan Ribbens
0ba22c3aaf
fix: query on id throws 500 ( #2587 )
2023-05-01 14:36:26 -04:00
Dan Ribbens
9c5107e86d
fix: timestamp queries ( #2583 )
2023-05-01 13:45:51 -04:00
Perry
85b3d579d3
feat: supports collection compound indexes ( #2529 )
...
Co-authored-by: Perry Li <yuanping.li@moblab.com >
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-04-26 11:11:01 -04:00