1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-12-13 21:55:08 +02:00
Commit Graph

419 Commits

Author SHA1 Message Date
Gani Georgiev
6c8f2d2cd6 use scrollbar-gutter to minimize the table records listing layout shifts 2023-08-06 21:44:26 +03:00
Gani Georgiev
5e84305922 fixed changelog grammar 2023-08-05 10:12:22 +03:00
Gani Georgiev
872492ad22 updated changelog 2023-08-05 07:26:53 +03:00
Gani Georgiev
06d3e27e03 [#3054] added core.RealtimeConnectEvent.IdleTimeout field 2023-08-03 12:38:02 +03:00
Gani Georgiev
b1093baef7 [#3058] soft-deprecated 'data' prop in favour of 'body' to allow raw strings 2023-08-03 12:32:04 +03:00
Gani Georgiev
b3f09ff045 updated changelog and go deps 2023-07-31 22:47:35 +03:00
Gani Georgiev
9254ce46eb trigger the jsvm cron ticker only on app serve 2023-07-31 14:18:59 +03:00
Gani Georgiev
b74994b906 [#3026] use relative path for the oauth2 provider page link 2023-07-31 13:07:30 +03:00
Gani Georgiev
0c5305c174 fixed incomplete sentence in the changelog 2023-07-30 16:20:58 +03:00
Gani Georgiev
5398576f4f updated changelog formatting 2023-07-30 15:22:10 +03:00
Gani Georgiev
fa057502f1 updated ui/dist deps 2023-07-30 14:10:42 +03:00
Gani Georgiev
bb4a5cfe83 updated ui/dist and some lint warnings 2023-07-30 13:40:22 +03:00
Gani Georgiev
ac1fd74942 updated tests 2023-07-30 10:02:44 +03:00
Gani Georgiev
cdeb9a94ed added action arg to the before Dao hook to allow skipping the default persist behavior 2023-07-29 19:52:36 +03:00
Gani Georgiev
854796a8dd [#3000] disallowed relations to views from non-view collections 2023-07-27 15:57:20 +03:00
Gani Georgiev
1330e2e1e7 [#2992] fixed zero-default value not being used if the field is not explicitly set when manually creating records 2023-07-25 20:37:19 +03:00
Gani Georgiev
edcb6950e5 watch pb_hooks subdirectories 2023-07-23 23:45:41 +03:00
Gani Georgiev
d1336da339 make use of skipTotal 2023-07-22 18:50:40 +03:00
Gani Georgiev
437843084b added search skipTotal support 2023-07-21 23:24:36 +03:00
Gani Georgiev
1e4c665b53 [#2957] added support for wrapped api errors 2023-07-20 22:01:58 +03:00
Gani Georgiev
ac52befb5b changed subscription.Message.Data to []byte and added client.Send(m) helper 2023-07-20 21:25:13 +03:00
Gani Georgiev
50d7df45eb added ?download file serve query param support to force file download 2023-07-20 15:04:26 +03:00
Gani Georgiev
0110869c89 soft deprecated apis.RequestData(c) in favor of apis.RequestInfo(c) and updated jsvm bindings 2023-07-17 23:13:39 +03:00
Gani Georgiev
7d4017225c synced with master 2023-07-17 13:17:17 +03:00
Gani Georgiev
94a1cc07d5 [#2930] added extra normalizations to ensure that newly created multiple fields has the correct zero-default for already inserted records 2023-07-17 11:38:19 +03:00
Gani Georgiev
2d1ad16b4f updated cron jsvm bindings and generated types 2023-07-16 23:24:10 +03:00
Gani Georgiev
4962dc618b added record.ExpandedOne(rel) and record.ExpandedAll(rel) helpers 2023-07-14 15:21:59 +03:00
Gani Georgiev
8e2246113a synced with master 2023-07-14 12:44:26 +03:00
Gani Georgiev
b9993aaa73 updated changelog 2023-07-14 12:16:56 +03:00
Gani Georgiev
2b465b0646 load a default fetchFunc for dao.ExpandRecord(s) 2023-07-14 08:36:01 +03:00
Gani Georgiev
fdccdcebad added option to call Dao.RecordQuery() with the collection id or name 2023-07-13 22:38:55 +03:00
Gani Georgiev
ede67dbc20 added jsvm bindings and updateing the workflow to generate the jsvm types 2023-07-11 18:09:55 +03:00
Gani Georgiev
0ad4dbc65a synced with master 2023-07-08 21:29:21 +03:00
Gani Georgiev
c3844250e8 updated go deps 2023-07-08 20:06:34 +03:00
Gani Georgiev
7bcd00a87e synced with master 2023-07-06 23:38:37 +03:00
Gani Georgiev
ebfbb55f91 allow no space between the index table name and columns list 2023-07-06 23:20:31 +03:00
Gani Georgiev
a4101f7670 synced with master 2023-07-03 20:53:09 +03:00
Gani Georgiev
08b4fc20a9 fixed changelog typo 2023-07-03 19:46:40 +03:00
Gani Georgiev
9ec01d74d8 optimized search count queries to use rowid by default 2023-07-03 17:57:23 +03:00
Gani Georgiev
7297f55ca4 [#2817] allowed 0 as RelationOptions.MinSelect value 2023-06-30 18:13:56 +03:00
Gani Georgiev
2cb642bbf7 aliased and soft-deprecated NewToken with NewJWT, added encrypt/decrypt goja bindings and other minor doc changes 2023-06-28 22:56:03 +03:00
Gani Georgiev
a672ab959f merged jsvm migrations and hooks and updated the ambient TS types location 2023-06-27 14:45:04 +03:00
Gani Georgiev
3b68782cfb synced with master 2023-06-26 18:21:49 +03:00
Gani Georgiev
4ab9c6f87f updated ui/dist 2023-06-26 12:50:21 +03:00
Gani Georgiev
e6cf4ad2ef updated go deps 2023-06-26 12:44:14 +03:00
Gani Georgiev
2e8e835a68 updated ui/dist 2023-06-26 12:33:55 +03:00
Gani Georgiev
1d20124467 updated changelog 2023-06-23 14:15:53 +03:00
Gani Georgiev
93606c6647 added DynamicModel and DynamicList goja bindings 2023-06-21 11:21:54 +03:00
Gani Georgiev
a7bb599cd0 Merge branch 'master' into develop 2023-06-16 14:48:52 +03:00
Gani Georgiev
bd94940eef updated changelog 2023-06-16 14:47:34 +03:00
Gani Georgiev
ec303a60ed [#2271] added dao.CanAccessRecord() helper 2023-06-14 13:13:21 +03:00
Gani Georgiev
e99b0627d6 synced with master 2023-06-10 23:43:09 +03:00
Gani Georgiev
d1bcaa65b1 updated changelog 2023-06-10 23:34:32 +03:00
Gani Georgiev
2d60ad170e updated ui/dist 2023-06-10 23:32:41 +03:00
Gani Georgiev
779b23d919 synced with master 2023-06-09 13:33:38 +03:00
Gani Georgiev
aa5b5bb83e added default initial -created sort 2023-06-09 13:07:34 +03:00
Gani Georgiev
af193d440d [#2675] fixed implicit relation display fields serialization 2023-06-09 12:57:17 +03:00
Gani Georgiev
3cf3e04866 restructered some of the internals and added basic js app hooks support 2023-06-08 17:59:08 +03:00
Gani Georgiev
ff5508cb79 synced with master 2023-06-02 19:53:53 +03:00
Gani Georgiev
e4a90f6605 updated npm deps and generated ui/dist 2023-06-02 19:41:13 +03:00
Gani Georgiev
f07f7a1e35 synced with master 2023-06-02 19:38:36 +03:00
Gani Georgiev
acbce42bff updated changelog 2023-06-02 19:33:20 +03:00
Gani Georgiev
b33bebd4cd bumped app version 2023-06-02 19:32:26 +03:00
Gani Georgiev
881b625177 updated changelog 2023-06-02 19:23:43 +03:00
Gani Georgiev
dcb00a3917 updated changelog 2023-05-31 21:51:01 +03:00
Gani Georgiev
ddca49ba16 [#2309] added query by filter record helpers 2023-05-31 11:49:16 +03:00
Gani Georgiev
0fb92720f8 Merge branch 'master' into develop 2023-05-30 21:22:39 +03:00
Gani Georgiev
3122223a71 [#2602] added common int types support when scanning types.DateTime 2023-05-30 20:43:20 +03:00
Gani Georgiev
7de346b532 fixed realtime delete event to be called after the record was deleted from the db 2023-05-29 22:28:07 +03:00
Gani Georgiev
729f9f142e check after hook errors 2023-05-29 21:50:07 +03:00
Gani Georgiev
d3711b0503 added new core.ServeEvent fields 2023-05-29 16:57:50 +03:00
Gani Georgiev
9d8df8d05d added option to remove single registered hook handler 2023-05-29 14:51:03 +03:00
Gani Georgiev
97f29e4305 synced with master 2023-05-28 23:57:19 +03:00
Gani Georgiev
9a1354ae62 [#2589] added .exe fallback to the selfupdate cmd and replaced path with filepath 2023-05-28 21:57:12 +03:00
Gani Georgiev
d5314b028b synced with master 2023-05-27 14:12:34 +03:00
Gani Georgiev
f6a616b7e8 [#2570] fixed default PRAGMAs not being applied for new connections 2023-05-27 09:04:01 +03:00
Gani Georgiev
94680c41f7 synced with master 2023-05-24 23:31:31 +03:00
Gani Georgiev
c72c951b24 [#2567] fixed schema fields sort not working on Safari/Gnome Web 2023-05-24 23:19:06 +03:00
Gani Georgiev
af71b63f23 [#2533] added VK OAuth2 provider
Co-authored-by: Valentine <xb2w1z@gmail.com>
2023-05-24 15:41:58 +03:00
Gani Georgiev
e40cf46b33 synced with master 2023-05-24 11:07:29 +03:00
Gani Georgiev
e9969ed6d1 updated changelog 2023-05-24 09:34:23 +03:00
Gani Georgiev
511259ed10 fixed missing view id field error message typo 2023-05-24 09:25:46 +03:00
Gani Georgiev
6b16b7856b [#2551] auto register the initial generated snapshot migration to prevent incorrectly reapplying the snapshot on container restart 2023-05-24 09:23:10 +03:00
Gani Georgiev
a6bb1bf096 [#2534] added Instagram OAuth2 provider
Co-authored-by: Pedro Costa <550684+pnmcosta@users.noreply.github.com>
2023-05-23 22:37:44 +03:00
Gani Georgiev
231ddc9791 [#2541] removed file field dataTransfer.effectAllowed checks 2023-05-23 21:09:24 +03:00
Gani Georgiev
4440b5f817 updated changelog 2023-05-23 10:32:31 +03:00
Gani Georgiev
d7745ba702 [#2541] fixed file field drag and drop not working in Firefox and Safari 2023-05-23 10:23:41 +03:00
Gani Georgiev
007ef1e152 [#2540] fixed missing CommonHelper references on Downloaad as JSON btn 2023-05-23 07:55:21 +03:00
Gani Georgiev
a291cb5ca7 [#2535] avoid mutating the cached request data on OAuth2 user create 2023-05-22 23:59:36 +03:00
Gani Georgiev
86049ed048 updated changelog 2023-05-22 08:02:03 +03:00
Gani Georgiev
0eecbd8289 updated app.RestoreBackup() godoc 2023-05-22 07:58:44 +03:00
Gani Georgiev
4f5aa6ffda updated changelog and ui/dist 2023-05-21 21:06:20 +03:00
Gani Georgiev
47bb0bc2d8 updated the verification api preview example 2023-05-20 23:53:04 +03:00
Gani Georgiev
6d0303deaf added meta.isNew to the json OAuth2 auth response 2023-05-18 00:19:54 +03:00
Gani Georgiev
1cc67ef7e3 added sorting for the multiple relations form field 2023-05-17 23:54:06 +03:00
Gani Georgiev
04e0ad9b21 [#2445] added support for multiple files sort in the Admin UI 2023-05-17 22:41:42 +03:00
Gani Georgiev
6bde84131c [#2466] added accept file field attr 2023-05-13 22:23:19 +03:00
Gani Georgiev
d3314e1e23 (untested!) added temp backup api scaffoldings before introducing autobackups and rotations 2023-05-08 21:52:40 +03:00
Gani Georgiev
60eee96034 synced with master 2023-05-05 08:49:21 +03:00
Gani Georgiev
c6d5992442 updated changelog and ui/dist 2023-05-05 05:52:48 +03:00
Gani Georgiev
4c57968d89 synced with master 2023-05-03 14:52:10 +03:00
Gani Georgiev
b84ebabf4a [#2410] Fixed editor field fullscreen z-index 2023-05-03 14:37:19 +03:00
Gani Georgiev
dfabfa779e synced with master 2023-05-01 22:07:17 +03:00
Gani Georgiev
28c9f02cb4 updated js sdk and resolved isNew record field conflict 2023-05-01 13:00:12 +03:00
Gani Georgiev
c8fd831115 fixed changelog typos 2023-04-27 20:53:49 +03:00
Gani Georgiev
beca0a044e changed X-Forwarded-For parsing to use the first non-empty leftmost-ish ip as it is more close to the 'real ip' 2023-04-27 20:52:08 +03:00
Gani Georgiev
5c95e9b109 [#2318] updated schema fields ui 2023-04-26 14:12:47 +03:00
Gani Georgiev
4944884683 updated changelog 2023-04-25 18:11:04 +03:00
Gani Georgiev
c0a7d0f6c0 added ?fields query parameter support to limit the returned api fields 2023-04-25 17:58:51 +03:00
Gani Georgiev
841a4b6913 synced with master 2023-04-25 12:40:59 +03:00
Gani Georgiev
0478f84867 updated /api/oauth2-redirect error messages 2023-04-25 11:52:56 +03:00
Gani Georgiev
0b5e189563 added OAuth2 redirect fallback message to notify the user to go back to the app 2023-04-25 08:36:02 +03:00
Gani Georgiev
7ce21cc4d9 Merge branch 'master' into develop 2023-04-24 16:04:45 +03:00
Gani Georgiev
e61d48fe7b [#2349] fixed View collection schema incorrectly resolving multiple aliased fields originating from the same field source 2023-04-24 15:43:23 +03:00
Gani Georgiev
7acd90498c synced with master 2023-04-24 13:25:47 +03:00
Gani Georgiev
cae3315e46 [#2349] fixed view query SELECT DISTINCT parsing 2023-04-24 12:54:57 +03:00
Gani Georgiev
b31c2ceffa synced with master 2023-04-21 11:53:20 +03:00
Gani Georgiev
bd2521b14b added cache-control header for the admin ui assets 2023-04-21 01:19:57 +03:00
Gani Georgiev
4d94673839 Merge branch 'master' into develop 2023-04-20 21:18:49 +03:00
Gani Georgiev
4b0e614c68 updated changelog 2023-04-20 17:42:38 +03:00
Gani Georgiev
025c9313e1 added admin console command 2023-04-20 17:20:56 +03:00
Gani Georgiev
0b023b2c02 Merge branch 'master' into develop 2023-04-20 16:24:46 +03:00
Gani Georgiev
e1cfe7fc4a [#2327] enabled rtl for the editor field 2023-04-20 15:33:02 +03:00
Gani Georgiev
3358d8476b added apis.Serve helper 2023-04-20 05:06:22 +03:00
Gani Georgiev
060ed8013e synced with master 2023-04-19 14:09:06 +03:00
Gani Georgiev
fdf4f6d3bd fixed ctrl+s not getting triggered in the editor field 2023-04-19 10:33:24 +03:00
Gani Georgiev
d69e72deaf updated changelog 2023-04-18 07:09:07 +03:00
Gani Georgiev
b39d607c8a updated changelog and package.json 2023-04-18 06:30:05 +03:00
Gani Georgiev
00b04db5cf added ctrl+s record form shortcut and updated user external auths panel with the new provider logos 2023-04-17 14:35:49 +03:00
Gani Georgiev
1b8776926e updated protected files visualization 2023-04-17 13:28:41 +03:00
Gani Georgiev
177230a765 renamed private to protected 2023-04-15 13:27:42 +03:00
Gani Georgiev
53c735d00b added simple loose wildcard search term support in the Admin UI 2023-04-14 14:45:50 +03:00
Gani Georgiev
aba6279feb Merge branch 'master' into develop 2023-04-14 12:58:03 +03:00
Gani Georgiev
8317ae2e6b [#2287] fixed unique field detailed error not being returned on DrySubmit failure 2023-04-13 22:37:10 +03:00
Gani Georgiev
af5f808144 updated OAuth2 providers ui 2023-04-13 15:38:12 +03:00
Gani Georgiev
c77467a6a2 synced with master 2023-04-12 16:31:36 +03:00
Gani Georgiev
35e433f26b updated changelog and ui/dist 2023-04-12 16:23:53 +03:00
Gani Georgiev
6a69a035a7 synced with master 2023-04-12 14:27:17 +03:00
Gani Georgiev
b8373b23a4 updated changelog 2023-04-12 10:31:11 +03:00
Gani Georgiev
25c1db40ac [#2272] fixed panic on list.ExistInSliceWithRegex cache 2023-04-12 10:27:22 +03:00
Gani Georgiev
3e5b021dd8 fixed oauth2SubscriptionRedirect test 2023-04-10 22:51:59 +03:00
Gani Georgiev
c826514eca synced with master 2023-04-07 11:39:45 +03:00
Gani Georgiev
1420d717e3 [#2231] revert the aws-sdk-go-v2 change 2023-04-06 20:17:22 +03:00
Gani Georgiev
f5f8c35a17 [#2221] fixed Admin UI Logs meta field visualization in Firefox 2023-04-05 19:43:41 +03:00
Gani Georgiev
9f76ad234c [#2205] fixed Record.WithUnknownData() typo 2023-04-03 22:01:59 +03:00
Gani Georgiev
8ca439e5f7 updated ui/dist 2023-04-03 21:11:04 +03:00
Gani Georgiev
850fe353da updated changelog 2023-04-01 13:00:28 +03:00
Gani Georgiev
3ea02c945d updated changelog and formatting 2023-03-28 07:59:37 +03:00
Gani Georgiev
d0239f25ed updated changelog and ui/dist 2023-03-27 19:44:09 +03:00
Gani Georgiev
3a5d3d521f added ProviderName and ProviderClient fields to core.RecordAuthWithOAuth2Event 2023-03-26 19:32:23 +03:00
Gani Georgiev
5678339af0 added migrate history-sync command 2023-03-25 21:48:19 +02:00
Gani Georgiev
e5a22b8bd8 added a flag indicating OAuth2 auth record creation 2023-03-25 15:18:28 +02:00
Gani Georgiev
7a2360d785 [#2029] enable any id aliased column in a view query to be detected as relation field 2023-03-23 19:51:06 +02:00
Gani Georgiev
67ecebe935 [#1939] removed redundant COALESCE normalizations 2023-03-23 19:30:35 +02:00
Gani Georgiev
9736a45e80 renamed daos.GetTableColumns and daos.GetTableInfo for consistency 2023-03-22 17:15:17 +02:00
Gani Georgiev
923fc26a31 changed types.JsonArray to support generics 2023-03-22 17:12:44 +02:00
Gani Georgiev
b67549209a [#2118] added option to explicitly set the record id from the Admin UI 2023-03-21 17:56:31 +02:00
Gani Georgiev
1126a0e16f updated changelog and ui/dist 2023-03-21 15:55:42 +02:00
Gani Georgiev
361cfb56b7 [#1904] simplified default mail template styles 2023-03-16 22:35:03 +02:00
Gani Georgiev
e735d9d21b synced with master 2023-03-14 02:04:34 +02:00
Gani Georgiev
31b24ecb86 removed eager unique collection name check to allow lazy validation during bulk import 2023-03-14 01:31:30 +02:00
Gani Georgiev
3eb3d0bbdf lowered auth record bcrypt round factor to 12 2023-03-13 15:52:51 +02:00
Gani Georgiev
f180af7af7 synced with master 2023-03-12 18:09:16 +02:00
Gani Georgiev
7cfbe49b32 updated changelog 2023-03-12 17:22:50 +02:00
Gani Georgiev
b564be06f4 updated RecordsPicker to show proper view colllection relations 2023-03-12 17:12:35 +02:00
Gani Georgiev
d046811df7 optimized single relation lookups 2023-03-07 23:28:35 +02:00
Gani Georgiev
bce4094134 updated changelog 2023-03-06 15:32:46 +02:00
Gani Georgiev
8de0e61cf4 synced with master 2023-03-06 15:27:17 +02:00
Gani Georgiev
af34eb544d [#1989] fixed RecordInfo multiple files preview 2023-03-06 13:33:15 +02:00
Gani Georgiev
2420b2804a synced with master 2023-03-05 16:12:51 +02:00
Gani Georgiev
42e288c71a [#1976] added HEAD requests support for the file download action 2023-03-05 15:39:18 +02:00
Gani Georgiev
07727dbde6 [#1956] normalized _requests.method to UPPERCASE 2023-03-02 15:15:00 +02:00
Gani Georgiev
0bb58eb52c minor UI fixes 2023-02-26 10:47:00 +02:00
Gani Georgiev
578e1c9bc1 [#223] updated the internal redirects to allow easier subpath deployment when behind a reverse proxy 2023-02-24 18:49:46 +02:00
Gani Georgiev
4778fc7a46 added min select relation field option 2023-02-24 16:34:02 +02:00
Gani Georgiev
21b152b58c fixed formatting and typos 2023-02-23 21:51:42 +02:00
Gani Georgiev
aa4e405f92 replaced authentik with generic oidc provider 2023-02-23 21:07:00 +02:00
Gani Georgiev
6ab2fa9489 updated default query timeout to 1m 2023-02-23 12:04:16 +02:00
Gani Georgiev
010a396b0e updated dao fail/retry handling 2023-02-22 22:20:19 +02:00
Gani Georgiev
41c3cc8a90 added select auto fail/retry 2023-02-21 16:54:08 +02:00
Gani Georgiev
a07f67002f added view collection type 2023-02-18 19:33:42 +02:00
Gani Georgiev
0052e2ab2a synced with master 2023-02-12 14:11:12 +02:00
Gani Georgiev
0948bf416d [#1822] logged the current datetime on server start 2023-02-12 12:41:48 +02:00
Gani Georgiev
fa65a20202 updated changelog 2023-02-06 19:57:43 +02:00
Gani Georgiev
1b21e86be6 synced with master 2023-02-02 15:35:03 +02:00
Gani Georgiev
21d7cff43d updated changelog 2023-02-02 13:33:05 +02:00
Gani Georgiev
2b5f00b62e fix[#1730, #1742] fixed datepicker clear btn and increased theslightly the fields contrast 2023-02-02 00:19:12 +02:00
Gani Georgiev
7d38971850 updated changelog example 2023-02-01 22:19:36 +02:00
Gani Georgiev
15102138c3 updated changelog 2023-02-01 22:10:00 +02:00
Gani Georgiev
2378bc72c5 [#1728] normalized mailer.Message recipient fields 2023-02-01 22:07:46 +02:00
Gani Georgiev
250642a8f9 allowed overwriting the default file serve headers if an explicit response header is set 2023-01-30 12:54:51 +02:00
Gani Georgiev
647997517f updated changelog 2023-01-30 11:59:14 +02:00
Gani Georgiev
6718f4469b updated changelog 2023-01-30 10:18:30 +02:00
Gani Georgiev
1b48bdb81a fixed changelog typos 2023-01-29 23:23:45 +02:00
Gani Georgiev
bb801e7de0 [#1711] added the collection name in the page title 2023-01-29 22:59:11 +02:00
Gani Georgiev
d2a617848d fixed empty relation(s) save js error 2023-01-29 22:10:14 +02:00
Gani Georgiev
64fd347628 updated changelog 2023-01-29 18:55:33 +02:00
Gani Georgiev
f01f1df07a updated changelog and json string normalization note 2023-01-29 16:55:46 +02:00
Gani Georgiev
f4533f3d26 updated comments and added json string value normalizations info panel 2023-01-29 16:00:03 +02:00
Gani Georgiev
7a47a8a979 updated changelog 2023-01-29 14:16:33 +02:00