1
0
Fork 0
mirror of synced 2024-09-15 08:57:35 +12:00
Commit graph

427 commits

Author SHA1 Message Date
Torsten Dittmann
d3150afebc feat: migration for 0.13 2022-01-18 12:05:04 +01:00
Eldad A. Fux
11b0967d3b
Merge pull request #2629 from appwrite/fix-hide-internal-id
fix: hide internal id from documents
2022-01-17 21:15:03 +02:00
Torsten Dittmann
ba2790221c fix: hide internal id from documents 2022-01-17 17:25:20 +01:00
Vincent Ge
a102ee6f14 Wrap unique() in double quotes to better indicate that it's a literal string 2022-01-12 17:19:30 -05:00
Matej Baco
6b77fcf21f FIxed 409 for createCollection 2022-01-12 20:51:13 +01:00
Matej Baco
44bb12475e Replaced rules description with attributes 2022-01-04 17:06:16 +01:00
Torsten Dittmann
ce3a647557 fix: add missing collection prefix to cache purging 2022-01-03 13:30:03 +01:00
Torsten Dittmann
5d44e6ee78 fix: delete audit logs for collections and documents 2022-01-03 11:29:15 +01:00
Torsten Dittmann
0d0abef508 feat: limit database to 100 queries 2021-12-30 11:27:46 +01:00
Torsten Dittmann
2015106702 fix: use bigint for large integers 2021-12-29 15:50:21 +01:00
Torsten Dittmann
1a5712017b fix: database query value limits 2021-12-28 18:57:24 +01:00
Torsten Dittmann
b05680cf7d fix: database activites 2021-12-28 16:48:36 +01:00
Torsten Dittmann
0189fe6cff fix: remove length limit from db query param 2021-12-28 13:37:46 +01:00
Torsten Dittmann
9917cdb9ac fix: get attribute endpoint 2021-12-27 18:07:35 +01:00
Torsten Dittmann
8122d8882b fix: collection level permissions cursor 2021-12-27 18:00:52 +01:00
Torsten Dittmann
693b8c7185 fix: replace internal and external database with project database 2021-12-27 13:45:23 +01:00
Torsten Dittmann
ffae301d5f fix: database service 2021-12-27 11:45:24 +01:00
kodumbeats
c3bbce1b04 Use correct namespace 2021-12-23 19:27:55 -05:00
kodumbeats
3f43b426fa Prepend "collection_" to collections 2021-12-23 17:51:38 -05:00
Torsten Dittmann
7f82661801
Merge pull request #2503 from appwrite/feat-strict-enums
fix: strict enum attribute
2021-12-17 13:51:42 +01:00
Torsten Dittmann
22c20ad11c fix: collection level permission using admin mode 2021-12-17 13:51:07 +01:00
Torsten Dittmann
2690cab771 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-disable-collections 2021-12-17 11:53:57 +01:00
Torsten Dittmann
f6d7228202 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-arrow-functions-on-auth-skip 2021-12-17 11:23:22 +01:00
Torsten Dittmann
0e84545829
Merge pull request #2506 from appwrite/fix-database-collection-level-permissions
fix: collection level permissions
2021-12-17 11:22:36 +01:00
Torsten Dittmann
166c906d51 fix: collection level permissions 2021-12-16 19:12:06 +01:00
Torsten Dittmann
86075a50ab feat: replace attributeId and indexId with key 2021-12-16 16:04:30 +01:00
Torsten Dittmann
d1f901e7a8 feat: use arrow functions on authorization skip method 2021-12-16 12:30:43 +01:00
Torsten Dittmann
a11d7bf750 fix: strict enum attribute 2021-12-16 11:15:55 +01:00
Torsten Dittmann
86fc6a6ba3
Merge pull request #2492 from appwrite/fix-indexes-leftovers
feat: fix issue with listIndexes
2021-12-15 15:17:34 +01:00
Torsten Dittmann
1de17ed132
Merge pull request #2484 from appwrite/feat-add-user-agent
Feat: add user agent
2021-12-15 15:16:32 +01:00
Torsten Dittmann
aaf1a71972
Merge pull request #2478 from appwrite/feat-database-controller-docs-refactor
docs(api): reviewed in-line docs of endpoints
2021-12-15 13:03:33 +01:00
Torsten Dittmann
5463258df9
fix: convert default value to float on attribute creation 2021-12-14 22:01:58 +01:00
Torsten Dittmann
d8d2fbdd95 Merge branch 'feat-database-controller-docs-refactor' of https://github.com/appwrite/appwrite into feat-database-controller-docs-refactor 2021-12-14 12:21:46 +01:00
Torsten Dittmann
af5fb8751e fix: paginatio docs on endpoints 2021-12-14 12:21:44 +01:00
Torsten Dittmann
cb37a69c3e Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-controller-docs-refactor 2021-12-14 12:16:05 +01:00
Christy Jacob
a3e3ba9e44 feat: fix issue with listIndexes 2021-12-14 04:42:54 +04:00
Torsten Dittmann
6c6992a3f7 feat(database): add colection enable/disable 2021-12-13 13:42:04 +01:00
Torsten Dittmann
b15096421b
Update app/controllers/api/database.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-12-13 11:10:03 +01:00
Christy Jacob
854e9f7eaf feat: use Appwrite\Detector in database.php 2021-12-12 21:59:12 +04:00
Christy Jacob
9845fc05fa feat: use Appwrite\Detector in database.php 2021-12-12 21:58:17 +04:00
Torsten Dittmann
aef6c11370 fix(auth): use getRoles instead of static property 2021-12-10 18:52:33 +01:00
Torsten Dittmann
adffae7cf7 docs(api): reviewed in-line docs of endpoints 2021-12-10 13:27:11 +01:00
Torsten Dittmann
0d60e82666 fix(database): permissions using an admin user 2021-12-10 11:56:11 +01:00
Torsten Dittmann
f11a6325ff fix(api): use constant for maximum offset range 2021-12-01 14:05:01 +01:00
kodumbeats
ee5b1da82d Roles must be assoc array with roles as keys 2021-11-28 08:32:00 -05:00
kodumbeats
4b9ff6cca2 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-restrict-assignable-permissions 2021-11-28 07:32:29 -05:00
Torsten Dittmann
0a38f0776a Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-refactor-ui-fixes 2021-11-24 17:28:49 +01:00
kodumbeats
8743756126 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-enable-strict-query-matching 2021-11-24 09:26:59 -05:00
Torsten Dittmann
db0a75a18a Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-refactor-ui-fixes 2021-11-24 14:56:45 +01:00
kodumbeats
c7bc055995 Purge external database cache on createAttribute 2021-11-23 12:04:08 -05:00
kodumbeats
efb8087a9b Purge external database cache on deleteAttribute 2021-11-23 12:03:51 -05:00
Torsten Dittmann
f2eb6ae317 fix(ui): logs pagination 2021-11-18 11:33:42 +01:00
Torsten Dittmann
b796144628 chore(composer): update audit library 2021-11-17 11:18:47 +01:00
Torsten Dittmann
47b6fe59ce Merge branch 'feat-database-logs-pagination' of https://github.com/appwrite/appwrite into feat-db-refactor-ui-fixes 2021-11-16 16:26:13 +01:00
Torsten Dittmann
ced8c9ef03 use updated audit library 2021-11-16 15:54:29 +01:00
Torsten Dittmann
19d01c17bb Revert "fix(api): add after pagination to logs endpoints"
This reverts commit 058b4dd975.
2021-11-16 14:37:33 +01:00
Torsten Dittmann
058b4dd975 fix(api): add after pagination to logs endpoints 2021-11-16 12:20:14 +01:00
Torsten Dittmann
f8731e8d65 fix(api): logs limit param description 2021-11-16 12:02:11 +01:00
Torsten Dittmann
d5f959454b feat(controllers): add pagination to logs endpoints 2021-11-15 10:48:32 +01:00
kodumbeats
4dd6f63fb9 Use Auth method to simplify code 2021-11-11 20:14:40 -05:00
kodumbeats
7853c9370b Enforce that users cannot add permission roles they do not have 2021-11-03 12:38:06 -04:00
kodumbeats
238ff6fcd4 Enable strict query checking if queries are provided 2021-11-02 19:43:10 -04:00
Torsten Dittmann
4dea1ebaf2
Merge pull request #2380 from appwrite/feat-db-refactor-more-api-bugfixes
fix(refactor-db): more api bugfixes
2021-11-02 16:20:06 +01:00
kodumbeats
dd5c873b99 Clear external cache when resources are deleted 2021-11-01 20:48:38 -04:00
kodumbeats
7624f97f0b PHP_FLOAT_MIN provides the smallest positive float, not largest negative 2021-11-01 20:48:14 -04:00
kodumbeats
c2f994a02e Pass filters to createAttribute to inherit default value defined in this layer 2021-11-01 20:47:07 -04:00
kodumbeats
92e48e273d Add reminder to check query order 2021-10-27 18:31:25 -04:00
kodumbeats
6e46e2fb0f Use correct key in metrics array 2021-10-27 18:17:51 -04:00
kodumbeats
79b1fceaf3 Rename to prevent collisions 2021-10-27 18:17:15 -04:00
kodumbeats
656471ced2 Backfill usage stats with empty records when required 2021-10-27 15:57:20 -04:00
Torsten Dittmann
df1398328c Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-refactor-ui-fixes 2021-10-27 11:01:21 +02:00
kodumbeats
0312b071ce Get integer constant from Range class 2021-10-26 16:51:40 -04:00
kodumbeats
10172f4216 Require minimum size 2021-10-26 16:28:16 -04:00
kodumbeats
c6ee3766b7 Prevent default values for array attributes 2021-10-26 16:14:25 -04:00
Torsten Dittmann
7224520fa8 fix all usage ui 2021-10-26 15:19:28 +02:00
kodumbeats
353eb2b057 Respond with proper model on deleteAttribute 2021-10-25 21:12:27 -04:00
kodumbeats
5d0c0b2836 Throw exception if $min > $max 2021-10-25 16:10:39 -04:00
Torsten Dittmann
a7d550ba86 fix(database): documents audit logs 2021-10-25 15:03:20 +02:00
kodumbeats
4a1507ba25 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-api-buxfixes 2021-10-15 09:26:17 -04:00
kodumbeats
d93d2af194 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-ui-fixes 2021-10-13 13:11:06 -04:00
kodumbeats
1f031f1187 Remove legacy method 2021-10-07 14:44:14 -04:00
kodumbeats
6373c4f92d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-api-buxfixes 2021-10-07 14:40:45 -04:00
kodumbeats
f197699523 Throw exception when any enum element is empty 2021-10-07 14:30:52 -04:00
kodumbeats
5b1d7bfa5d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-07 14:08:02 -04:00
kodumbeats
1b4beb5ea2 Ensure enum attribute has proper response model 2021-10-06 22:25:03 -04:00
kodumbeats
ec5d2ed591 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-06 20:36:25 -04:00
Torsten Dittmann
8083c182b0 fix leftover 2021-10-06 16:13:55 +02:00
Torsten Dittmann
9941198a7f Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-before-pagination 2021-10-06 16:11:04 +02:00
Torsten Dittmann
492a83e336 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-search-attribute 2021-10-06 14:48:57 +02:00
Torsten Dittmann
244b62f12d
Merge pull request #1480 from appwrite/feat-enforce-document-collection-permissions
feat(refactor-db) enforce either document or collection permissions
2021-10-05 20:33:23 +00:00
kodumbeats
f2c678bf41 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-search-attribute 2021-10-05 11:04:09 -04:00
Torsten Dittmann
349588df12 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-enforce-document-collection-permissions 2021-10-05 16:37:58 +02:00
kodumbeats
0f5931555a Fix issues from merge 2021-10-05 09:57:57 -04:00
Torsten Dittmann
768ab84a17 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-before-pagination 2021-10-05 15:53:54 +02:00
kodumbeats
35c21e31c8 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-attribute-limits 2021-10-05 09:48:59 -04:00
kodumbeats
481ff1e2f9 Refactor purgeDocument calls to deleteCachedDocument 2021-10-05 09:05:40 -04:00
Torsten Dittmann
580b92227c fix tests 2021-10-05 14:59:58 +02:00
Torsten Dittmann
33699ea2c4 feat(controllers): implement before cursor pagination 2021-10-05 12:30:33 +02:00
kodumbeats
d57f7b0a30 Throw exception on index creation if any attribute is not ready 2021-10-04 20:43:27 -04:00
kodumbeats
2aa94e7897 Improve attr/index lifecycle with status stuck when deletion fails 2021-10-04 20:23:15 -04:00