Christy Jacob
3b4255c457
fix: error in initialising the Exception constructor in api.php
2023-08-01 18:18:27 +05:30
Jake Barnby
ff83751450
Allow privileged user/app user/admin mode access to all resources when disabled
2023-07-31 14:24:21 -04:00
shimon
bed88baa6c
added bucketId to cache::deleteByResource
2023-07-22 17:08:28 +03:00
Steven Nguyen
2befa60350
Track a user's last activity
...
A user will have an accessedAt timestamp that will update at most once
per day if they make some API call. This timestamp can then be used
find active users and calculate daily, weekly, and monthly active users.
To ensure consistent updates to the user the $user from the resource
is always updated to the user making the request, including requests
like Create Account, Update Team Membership Status, and Create Phone
Session (confirmation). This ensures the shutdown can update the
accessedAt timestamp if there was a $user set.
2023-07-19 22:22:58 -07:00
Damodar Lohani
8dc5c2cb4c
Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp
2023-07-19 07:24:58 +00:00
Damodar Lohani
f59d3563f4
Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync
2023-07-10 03:06:48 +00:00
shimon
57bc7d0584
functions/builds/deletes worker
2023-06-11 17:08:48 +03:00
Shimon Newman
73ac9f796d
cache perm fix
2023-06-02 17:56:09 +03:00
shimon
6e7c160249
changing event signature
2023-06-02 06:54:34 +03:00
shimon
9562b95285
saving file output to cache instead of decoding data to json
2023-05-31 19:34:12 +03:00
shimon
e9fda6168c
saving file output to cache instead of decoding data to json
2023-05-31 15:50:19 +03:00
shimon
a6768bdc32
saving file output to cache instead of decoding data to json
2023-05-31 14:41:56 +03:00
shimon
f1466c05cf
refactor workers
2023-05-29 16:58:45 +03:00
shimon
98dc1db878
re-working worker flow
2023-05-23 16:43:03 +03:00
shimon
1e29ec8d59
added bucketInternalId to file
2023-05-08 10:32:29 +03:00
Christy Jacob
60f51580a7
Merge pull request #5246 from singhbhaskar/fix-4960-Database-usage-screen-shows-500-error-when_APP_USAGE_STATS-is-disabled
...
Fix: Updated error when _APP_USAGE_STATS is disabled
2023-05-04 20:47:50 +05:30
Bhaskar Singh
a4299a69ef
Refactored the condition for strict inequality
2023-05-02 23:47:50 +05:30
Bhaskar Singh
7064f884aa
Refactor usage init hook to remove unecessary
...
inject
2023-04-27 19:32:05 +05:30
Bhaskar Singh
3865f48d32
Moved check for _APP_USAGE_STATS
...
to create init hook for App
2023-04-21 23:09:01 +05:30
Damodar Lohani
0177ddccb3
use custom templates to send email when enabled
2023-04-19 08:29:29 +00:00
Damodar Lohani
bf02687ea4
fix type and test reset
2023-03-17 06:37:16 +00:00
Damodar Lohani
c649ba897f
update response model
2023-03-13 09:33:11 +00:00
Damodar Lohani
82498459db
update project smtp using hook
2023-03-13 09:21:16 +00:00
Steven Nguyen
85a2d623a6
Update APIs to check X-Appwrite-Timestamp header
...
Appwrite will refer to the X-Appwrite-Timestamp header for when the
request was originally sent and reject the request if the Timestamp
is older than the updatedAt timestamp of the document.
2023-03-07 10:54:52 -08:00
Matej Bačo
47dbf4c8f6
Fix wildcard bugs
2023-02-19 12:04:12 +01:00
Damodar Lohani
5acd78463a
Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync
2023-02-16 00:44:29 +00:00
shimon
3533f56337
few last updates
2023-02-15 21:14:26 +02:00
shimon
df2e7ca7e1
few last updates
2023-02-15 20:40:42 +02:00
shimon
794f566fae
addressing comments
2023-02-06 16:03:45 +02:00
shimon
5850a454e0
addressing comments
2023-02-05 22:07:46 +02:00
shimon
1ac935077b
addressing comments
2023-02-02 20:16:01 +02:00
shimon
a30dfd284c
addressing comments
2023-02-02 18:36:32 +02:00
shimon
be65f89eff
usage test
2023-01-16 11:38:52 +02:00
shimon
9a2f734d3a
compose.lock
2023-01-12 18:06:20 +02:00
Damodar Lohani
f41e3b1e8f
Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync
2023-01-12 07:25:23 +00:00
Eldad A. Fux
f0bb8dcc33
Merge pull request #4859 from appwrite/refactor-mails-next
...
refactor: make mails event and worker general
2023-01-12 09:07:43 +02:00
shimon
3d2ac6b2d6
minor adjustments
2022-12-29 17:36:00 +02:00
shimon
8941af0677
minor adjustments
2022-12-29 13:32:00 +02:00
shimon
4198cbfca5
moved reduce after delete document to usage-worker
2022-12-28 18:27:26 +02:00
shimon
3954137382
minor adjustments
2022-12-25 19:16:38 +02:00
shimon
e533f8f067
minor adjustments
2022-12-25 19:07:03 +02:00
shimon
b89e04f561
add internalId to collections
2022-12-22 19:18:54 +02:00
shimon
20f9b0c655
refactor usage worker
2022-12-22 15:02:41 +02:00
shimon
18f7b3adbb
refactor usage worker
2022-12-22 10:48:03 +02:00
shimon
5e394fed5d
refactor usage worker
2022-12-21 21:03:09 +02:00
Bradley Schofield
c0daed3644
Refactor names and cleanup code
2022-12-20 16:11:30 +00:00
shimon
18f192ed65
benchmarks
2022-12-19 10:25:49 +02:00
shimon
86638e0079
e2e tests
2022-12-15 19:00:05 +02:00
shimon
7601c9047b
e2e tests
2022-12-15 11:45:43 +02:00
Damodar Lohani
5d195659bd
refactor: mails refactor
2022-12-15 09:22:05 +00:00
shimon
285bfe9fd7
e2e tests
2022-12-15 09:56:06 +02:00
shimon
961c408885
metric negative / positive values in worker
2022-12-14 09:34:04 +02:00
Jake Barnby
ff33068906
Merge remote-tracking branch 'origin/1.2.x' into feat-graphql-support
2022-12-13 21:37:21 +13:00
shimon
141d55bd36
build+functions worker
2022-12-13 09:35:05 +02:00
Damodar Lohani
255c4043d6
fix lint errors
2022-12-13 06:33:26 +00:00
Damodar Lohani
2c46cdcc3c
add session default and comment
2022-12-13 06:08:38 +00:00
shimon
2f34c566e5
addressing comments
2022-12-12 11:37:10 +02:00
shimon
93c3b73291
usage cleanup
2022-12-12 10:16:09 +02:00
shimon
d80bd75b6d
usage cleanup
2022-12-12 09:54:53 +02:00
shimon
0348472345
usage cleanup
2022-12-11 19:15:38 +02:00
shimon
ba04f845da
databases usage
2022-12-11 11:00:00 +02:00
Damodar Lohani
e0be09ded6
refactor: use session group for session limit
2022-12-11 08:33:52 +00:00
Damodar Lohani
3885e0452c
fix: session limit test
2022-12-11 08:26:31 +00:00
Damodar Lohani
509aef16bd
fix: delete user document cache
2022-12-11 07:13:39 +00:00
Damodar Lohani
cda8e53386
feat: add test for max sessions
2022-12-09 11:54:23 +00:00
Damodar Lohani
cbcc17ded6
refactor: add whitespace
2022-12-09 11:36:39 +00:00
Damodar Lohani
f070f0974a
session limit check on shutdown
2022-12-09 11:33:26 +00:00
shimon
806a775663
Switch to decreaseDocumentAttribute
2022-12-09 13:01:17 +02:00
shimon
e2e3d99410
Switch to decreaseDocumentAttribute
2022-12-09 12:41:22 +02:00
shimon
70394ff1bb
nested object calculation
2022-12-08 21:06:55 +02:00
shimon
2d6c0ac844
functions api usage
2022-12-08 15:55:18 +02:00
shimon
4c6b6d00e8
functions api usage
2022-12-07 19:56:38 +02:00
shimon
5d63d2f199
functions api usage
2022-12-07 19:01:25 +02:00
shimon
e1368231b2
updates
2022-12-06 16:17:56 +02:00
shimon
f44ee4ec90
updates
2022-12-06 13:36:17 +02:00
shimon
b71bba2a9c
updates
2022-12-04 19:06:23 +02:00
Eldad Fux
db345fae41
WIP
2022-11-24 09:53:52 +02:00
Eldad Fux
95e835a902
Deprecated Usage stats
2022-11-23 19:08:42 +02:00
Christy Jacob
080abbbb79
Merge branch 'master' of github.com:appwrite/appwrite into feat-add-console
2022-11-17 20:26:10 +05:30
Matej Baco
44875e2d18
QA review changes
2022-11-16 11:33:11 +01:00
Jake Barnby
f9d2976c1d
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
...
# Conflicts:
# CHANGES.md
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/init.php
# app/tasks/sdks.php
# composer.lock
# docker-compose.yml
2022-11-16 19:37:35 +13:00
Christy Jacob
8b0a78bb36
fix: function events and linter
2022-11-16 11:00:57 +05:30
Matej Baco
44a82de09b
Refactor func event triggering
2022-11-15 19:13:17 +01:00
shimon
180262d166
Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions
2022-11-11 13:18:33 +02:00
shimon
7723762dd1
cache buster added to cache key
2022-11-11 12:41:41 +02:00
shimon
f9671ee855
enabling file permissions
...
via cache preview
2022-11-10 12:08:01 +02:00
Damodar Lohani
4b5d537eee
Apply suggestions from code review
...
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-11-02 15:41:50 +05:45
Damodar Lohani
7433a260db
fix formatting
2022-10-30 05:16:51 +00:00
Damodar Lohani
0d29968169
refactor database listener callback
2022-10-30 05:14:46 +00:00
Jake Barnby
89b4d0026a
Move shutdown hook to graphql controller
2022-10-28 10:04:31 +13:00
Jake Barnby
34bd0fe93d
Review remove redundant registry injection
2022-10-25 15:45:08 +13:00
Damodar Lohani
d35b438255
fix collection and document counts
2022-10-21 01:50:03 +00:00
Damodar Lohani
868e487a59
fix bucket collection name
2022-10-18 07:52:41 +00:00
Damodar Lohani
e7c82a28dd
more fixes
2022-10-18 07:09:11 +00:00
Damodar Lohani
305dafe2ad
update missing stats
2022-10-18 06:53:17 +00:00
Damodar Lohani
5b90c433ab
fix collection id
2022-10-17 07:53:55 +00:00
Damodar Lohani
00d194d5d1
fix linters
2022-10-17 07:37:30 +00:00
Damodar Lohani
f3c183b563
listen to delete events
2022-10-17 07:10:18 +00:00
Damodar Lohani
84f5842c81
document create listener
2022-10-17 06:52:24 +00:00
Damodar Lohani
019fa11616
setup to use database listeners
2022-10-16 08:50:53 +00:00
Jake Barnby
a2b532ed22
Set dirty property instead of in registry from shutdown
2022-10-13 12:59:32 +13:00
Damodar Lohani
4969ceadd4
add project internal id to the timeseries tats
2022-09-25 02:07:26 +00:00
Damodar Lohani
2956d5f3eb
collect console stats
2022-09-22 07:34:03 +00:00
Jake Barnby
544413dddf
More 1.0 migrations
2022-09-20 20:25:05 +12:00
Jake Barnby
e9f75d32a1
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# Dockerfile
# app/config/errors.php
# app/config/roles.php
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/graphql.php
# app/controllers/shared/api.php
# app/init.php
# composer.lock
# docker-compose.yml
# src/Appwrite/Extend/Exception.php
# src/Appwrite/Migration/Migration.php
2022-09-20 15:43:09 +12:00
shimon
eabc90ec49
decouple audits log from events
2022-09-04 17:53:37 +03:00
shimon
f63c740917
decouple audits log from events
2022-09-04 11:45:53 +03:00
shimon
2c9b749f72
account labels
2022-09-04 11:23:24 +03:00
shimon
5ea0816540
account labels
2022-09-04 11:17:53 +03:00
shimon
8e1dc84a48
account labels
2022-09-04 10:32:56 +03:00
shimon
94ad09b53f
const update
2022-08-31 16:11:23 +03:00
shimon
dab844308b
dateTime bug fix in the deletes worker
...
dateTime small fix
2022-08-31 16:07:27 +03:00
shimon
b2023020e0
Merge branch '0.16.x' of github.com:appwrite/appwrite into refactor-cache-date
2022-08-31 11:53:16 +03:00
shimon
5e6c288c2b
dateTime
2022-08-31 11:52:55 +03:00
Jake Barnby
8da011ad78
Ensure abuse hit counter is not increased for admin/API keys
2022-08-31 15:50:53 +12:00
Jake Barnby
1273f4c9b7
Allow using route method in abuse key
2022-08-31 15:49:44 +12:00
shimon
cee77ef5a1
timestamp -> datetime on file cache
2022-08-30 15:52:26 +03:00
shimon
97a957e17a
timestamp -> datetime on file cache
2022-08-30 15:46:27 +03:00
shimon
69066cfc5e
timestamp -> datetime on file cache
2022-08-30 15:44:37 +03:00
Jake Barnby
e25fbd1c2a
Fix default for usage params
2022-08-25 23:51:59 +12:00
Jake Barnby
625608804e
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/workers/builds.php
# src/Appwrite/Stats/Usage.php
# src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:21:15 +12:00
Jake Barnby
8841f8fe76
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# app/controllers/general.php
# app/controllers/shared/api.php
# composer.json
# composer.lock
2022-08-22 21:13:29 +12:00
Damodar Lohani
fa165a735b
linter fix
2022-08-21 10:16:55 +00:00
Damodar Lohani
0d57c67cc0
use same method to parse usage params labels
2022-08-21 02:10:42 +00:00
Jake Barnby
7019be987c
Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/account.php
# app/controllers/api/users.php
# app/controllers/shared/api.php
# app/workers/deletes.php
# composer.lock
# docker-compose.yml
# phpunit.xml
# src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Damodar Lohani
3e43424129
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-18 00:49:31 +00:00
shimon
9fc2e4c3a5
sync with 0.16
2022-08-17 17:29:22 +03:00
shimon
cc9a166146
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/storage.php
app/controllers/shared/api.php
2022-08-17 17:08:54 +03:00
Damodar Lohani
c0119e6a0d
fix formatting
2022-08-17 11:10:17 +00:00
Damodar Lohani
6b11fa26ce
rename and remove unused param
2022-08-17 10:55:01 +00:00
shimon
9c68cff317
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup
...
Conflicts:
composer.json
composer.lock
2022-08-17 11:16:09 +03:00
Damodar Lohani
80dfa85c82
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-17 00:45:07 +00:00
shimon
1abd57567f
linter fix
2022-08-16 18:02:17 +03:00
shimon
5d284b8c27
fill gaps from merge
2022-08-16 16:20:35 +03:00
Christy Jacob
51cb03a93e
feat: linter fix
2022-08-16 17:58:30 +05:30
shimon
8f8f033d1a
fill gaps from merge
2022-08-16 12:00:28 +03:00
Jake Barnby
fb34ecfa7d
Merge remote-tracking branch 'origin/0.16.x' into datetime-attributes-merge
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/databases.php
# app/controllers/api/functions.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/controllers/api/users.php
# app/controllers/general.php
# app/controllers/shared/api.php
2022-08-16 19:20:26 +12:00
shimon
590c1467bc
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/account.php
app/controllers/api/functions.php
app/controllers/api/users.php
2022-08-15 18:19:59 +03:00
shimon
f64c82a8cb
addressing comments
2022-08-15 17:03:03 +03:00
shimon
df0bdeb8a3
some fixes
2022-08-15 16:55:11 +03:00
shimon
67d12d3120
some fixes
2022-08-15 15:16:32 +03:00
shimon
edecd8dc22
some fixes
2022-08-15 13:52:20 +03:00
shimon
0dc485d8d7
some fixes
2022-08-15 12:05:41 +03:00
Damodar Lohani
246d9b94b7
null safety
2022-08-15 13:27:02 +05:45
Damodar Lohani
a5aa20ac5c
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-15 05:35:14 +00:00
shimon
1109004727
some fixes
2022-08-14 22:27:43 +03:00
shimon
ab27e0a74d
some fixes
2022-08-14 18:01:34 +03:00
Damodar Lohani
5120158bdb
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-14 11:39:41 +00:00
Steven
610ec1a6a4
Update database query syntax
2022-08-14 05:44:55 +00:00
shimon
d132202662
some fixes
2022-08-13 20:29:33 +03:00
shimon
af56db4048
some fixes
2022-08-13 18:36:44 +03:00
shimon
51e3fc8cab
some fixes
2022-08-13 12:59:34 +03:00
Christy Jacob
3ded17badf
fix: linter
2022-08-13 13:40:39 +05:30
shimon
45c46c1794
sync with 0.16
2022-08-13 11:02:00 +03:00
Damodar Lohani
792d657a4f
formatting fixes
2022-08-13 05:10:34 +00:00
Eldad Fux
3c7a7f0fa4
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes
2022-08-13 06:21:50 +03:00
Damodar Lohani
be00b64b7e
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-13 03:14:28 +00:00
shimon
1af95fcdaa
Tidy up
2022-08-12 16:21:32 +03:00
shimon
90cfac9b52
replace request param extractions
2022-08-12 14:01:12 +03:00
shimon
e86aab5e88
ident
2022-08-11 16:47:53 +03:00
shimon
b5f977e46d
adding user to audits labels
2022-08-11 16:19:05 +03:00
shimon
6a4fee641d
clean
2022-08-11 12:04:05 +03:00
shimon
2d8abac0e3
clean
2022-08-11 11:47:18 +03:00
Damodar Lohani
f0827fef38
formatting issues
2022-08-11 07:02:40 +00:00
Damodar Lohani
d05e1fdfb3
enable ignoring stats on admin requests
2022-08-11 06:16:10 +00:00
Damodar Lohani
63371ce76e
functions usage stats using route labels
2022-08-11 05:25:39 +00:00
shimon
ac827f6861
cache ver updated
2022-08-10 13:13:05 +03:00
Damodar Lohani
cb369dd326
update account routes usage labels
2022-08-10 08:45:10 +00:00
shimon
f9b8a0a661
disabling route from cache
2022-08-10 10:08:48 +03:00
Damodar Lohani
8aa7486e71
database usage stats working via labels
2022-08-10 02:33:46 +00:00
Damodar Lohani
16fe9e241a
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-10 01:49:27 +00:00
shimon
d2519c9a5b
addressing comments
2022-08-09 17:38:54 +03:00
shimon
a261dcd171
init from master
2022-08-09 16:43:37 +03:00
shimon
092e682591
Merge branch 'master' of github.com:appwrite/appwrite into feat-file-cache-cleanup
...
Conflicts:
app/controllers/shared/api.php
2022-08-09 15:02:29 +03:00
shimon
a937cde7a3
init
2022-08-09 14:57:33 +03:00
shimon
eb9ca5d7e3
leftovers
2022-08-09 09:49:55 +03:00
Damodar Lohani
bce998cb53
update imports and fix database usage
2022-08-09 06:28:38 +00:00
shimon
9eb1c3a731
leftovers
2022-08-08 18:44:45 +03:00
shimon
2d7a2bb57f
leftovers
2022-08-08 18:23:45 +03:00
shimon
8a79748b6d
leftovers
2022-08-08 17:48:51 +03:00
Bradley Schofield
bf050ece0f
Fix Exceptions
2022-08-08 15:44:07 +01:00
shimon
62ef532801
leftovers
2022-08-08 17:32:54 +03:00
shimon
89f164bdd7
resource namespace
2022-08-08 15:19:41 +03:00
shimon
a6a9ad8cc0
databases controller
2022-08-08 11:14:27 +03:00
shimon
e9ef94e8af
account controller
2022-08-07 18:49:30 +03:00
shimon
c8196c41d4
api::payload
2022-08-07 18:09:37 +03:00
shimon
ec39ff267c
api::parseLabel
2022-08-07 17:30:47 +03:00
shimon
f4c1a5ea35
response::send
2022-08-07 14:01:00 +03:00
Damodar Lohani
51a6db995a
groups at the top in hooks
2022-08-02 01:10:48 +00:00
shimon
1d38b2ce6a
Reference comments
2022-07-31 13:20:56 +03:00
shimon
39d2f6b981
Reference comments
2022-07-30 21:55:36 +03:00
shimon
5511a93e9c
Expires header returned to the endpoints
2022-07-28 18:24:18 +03:00
Damodar Lohani
13bcb062b2
ordering
2022-07-28 07:06:39 +00:00
shimon
ae80607248
response changes
2022-07-26 16:13:12 +03:00
shimon
d09bf306ce
response changes
2022-07-26 15:50:33 +03:00
Jake Barnby
fd79922284
Per project keys
2022-07-25 16:26:46 +12:00
shimon
966765dac7
tidy up
2022-07-24 18:25:33 +03:00
shimon
16ed2c1572
tidy up
2022-07-24 18:22:31 +03:00
shimon
f214ead6f6
tidy up
2022-07-24 12:49:51 +03:00
shimon
64050337cf
tidy up
2022-07-24 10:05:24 +03:00
shimon
02907f12f1
cache logic moved to api::init & api::shutdown
2022-07-23 20:42:42 +03:00
Damodar Lohani
b168dde502
implementing new Utopia hooks
2022-07-22 06:00:42 +00:00
fogelito
169fb4d6f4
audit + abuse datetime changes
2022-07-19 17:52:06 +03:00
shimon
59627ea9ef
logger moved to App::shutdown
2022-07-09 21:24:28 +03:00
Jake Barnby
5b3c4921d6
Add schema group shutdown hook to set dirty flag in register
2022-07-08 17:43:20 +12:00
shimon
9968bebed2
logger moved to App::shutdown
2022-07-07 21:35:27 +03:00
shimon
eeca43014a
logger moved to App::shutdown
2022-07-07 18:45:24 +03:00
shimon
a0cfc2110a
logger moved to App::shutdown
2022-07-07 17:51:22 +03:00
Damodar Lohani
8f14f5aa21
Database layer ( #3338 )
...
* database response model
* database collection config
* new database scopes
* database service update
* database execption codes
* remove read write permission from database model
* updating tests and fixing some bugs
* server side tests are now passing
* databases api
* tests for database endpoint
* composer update
* fix error
* formatting
* formatting fixes
* get database test
* more updates to events and usage
* more usage updates
* fix delete type
* fix test
* delete database
* more fixes
* databaseId in attributes and indexes
* more fixes
* fix issues
* fix index subquery
* fix console scope and index query
* updating tests as required
* fix phpcs errors and warnings
* updates to review suggestions
* UI progress
* ui updates and cleaning up
* fix type
* rework database events
* update tests
* update types
* event generation fixed
* events config updated
* updating context to support multiple
* realtime updates
* fix ids
* update context
* validator updates
* fix naming conflict
* fix tests
* fix lint errors
* fix wprler and realtime tests
* fix webhooks test
* fix event validator and other tests
* formatting fixes
* removing leftover var_dumps
* remove leftover comment
* update usage params
* usage metrics updates
* update database usage
* fix usage
* specs update
* updates to usage
* fix UI and usage
* fix lints
* internal id fixes
* fixes for internal Id
* renaming services and related files
* rename tests
* rename doc link
* rename readme
* fix test name
* tests: fixes for 0.15.x sync
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02:00
Everly Precia Suresh
746dc72439
fix merge conflicts
2022-05-31 11:32:46 +00:00
Everly Precia Suresh
e6941e76a1
change param type from bool to string
2022-05-27 10:01:00 +00:00
Everly Precia Suresh
e845b2f3a6
refactor-api
2022-05-26 11:51:08 +00:00
Everly Precia Suresh
19300ccdd7
format files in app, src, tests
2022-05-23 14:54:50 +00:00
Torsten Dittmann
0bd62bf4f8
fix: payload duplicates
2022-05-10 14:08:40 +02:00
Torsten Dittmann
fdb64de616
docs: add comments to events passing
2022-05-09 14:36:29 +02:00
Torsten Dittmann
7790d72c0c
fix: realtime, tests and webhooks
2022-04-18 18:21:45 +02:00
Torsten Dittmann
8ec435ed1f
sync: changes
2022-04-17 22:34:32 +02:00
Torsten Dittmann
87b8fc3c41
feat: event classes for different cases
2022-04-13 14:39:31 +02:00
Torsten Dittmann
2f9b9445dd
sync with devices
2022-04-04 08:30:07 +02:00
Christy Jacob
3c65d40234
Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor-merge
2022-02-18 15:16:10 +04:00
Christy Jacob
4ad47061dd
Merge branch 'master' of github.com:appwrite/appwrite into feat-functions-refactor
2022-02-18 13:38:54 +04:00
Christy Jacob
da7512e050
Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-add-error-codes
2022-02-17 02:25:29 +04:00
Eldad A. Fux
f045adb654
Merge pull request #2786 from appwrite/feat-update-realtime-events
...
storage realtime event refactor
2022-02-17 00:03:43 +02:00
Damodar Lohani
8058c66374
fix realtime events for storage
2022-02-16 01:30:27 +00:00
Damodar Lohani
7490aeaf51
remove unused
2022-02-15 08:42:23 +00:00
Damodar Lohani
d73d3015eb
Merge branch 'master' into feat-storage-buckets
2022-02-10 01:20:16 +00:00
Christy Jacob
661630c1c6
Merge branch 'master' of github.com:appwrite/appwrite into feat-add-error-codes
2022-02-08 20:56:03 +04:00
Matej Baco
9a1fb0f0f2
Updated letter case of DOSpaces
2022-02-08 16:40:56 +01:00
Christy Jacob
30c5d3c264
feat: use general server errors in general API controller
2022-02-07 01:27:16 +04:00
Christy Jacob
f197bbf564
feat: use general server errors in shared API controller
2022-02-07 01:01:23 +04:00
Christy Jacob
b16faed83a
feat: update error codes in users API
2022-02-06 16:49:01 +04:00
Bradley Schofield
4286e8d70b
Fix database stuff
2022-01-20 11:34:50 +00:00
Torsten Dittmann
d3150afebc
feat: migration for 0.13
2022-01-18 12:05:04 +01:00
Damodar Lohani
6a735ad232
Merge branch 'feat-large-file' into feat-s3-integration
2022-01-06 15:33:44 +05:45
Bradley Schofield
e2c4272ebd
Merge branch 'master' into the-executor-poc
2022-01-05 13:38:51 +00:00
Matej Baco
e2aebdd2bc
Merge branch 'feat-database-indexing' into feat-quest-filters
2022-01-04 15:29:42 +01:00
Torsten Dittmann
7230b5f6ec
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing
2022-01-03 13:44:28 +01:00
Matej Baco
69b4d074f5
Migrated all imports to new request class
2021-12-31 16:50:07 +01:00
Torsten Dittmann
693b8c7185
fix: replace internal and external database with project database
2021-12-27 13:45:23 +01:00
Damodar Lohani
4de4e87c49
Merge branch 'feat-large-file' into feat-s3-integration
2021-12-19 13:19:54 +05:45
Torsten Dittmann
7566c5368e
fix: events middleware
2021-12-16 19:50:06 +01:00
Torsten Dittmann
166c906d51
fix: collection level permissions
2021-12-16 19:12:06 +01:00
Torsten Dittmann
a10eccbdc7
Merge pull request #2465 from appwrite/feat-database-indexing-realtime-console
...
feat(realtime): add console channel
2021-12-13 16:55:24 +01:00
Torsten Dittmann
aef6c11370
fix(auth): use getRoles instead of static property
2021-12-10 18:52:33 +01:00
Bradley Schofield
37da3c5651
Implement Automatic Deploy
...
+ Implemented Automatic Deploy
+ Tags will now build automatically
+ You can now restart builds that failed
+ Builds now have their own storage device
+ Added a retry build endpoint
2021-12-08 15:08:53 +00:00
Torsten Dittmann
e944da2f3e
feat(realtime): add console channel
2021-12-06 13:03:12 +01:00
Bradley Schofield
879bdf1a74
Update api.php
2021-11-29 09:52:12 +00:00
Bradley Schofield
4cee817161
Merge branch 'master' into fix-improve-recovery-rate-limit
2021-11-29 09:13:35 +00:00
Bradley Schofield
6184c4c93b
Add Eldad's Suggestion
2021-11-24 09:57:25 +00:00
Damodar Lohani
956d26bada
do support and other fixes
2021-11-19 11:43:06 +05:45
Damodar Lohani
3dd10b7c3c
DO spaces support with existing envs
2021-11-16 17:20:13 +05:45
Damodar Lohani
241b6f4cd6
check the device environment variable to set proper device
2021-11-14 18:39:23 +05:45
Bradley Schofield
89cc417e3f
Update api.php
2021-11-09 14:56:25 +00:00
Bradley Schofield
a101c06c62
Update api.php
2021-11-09 14:52:32 +00:00
Bradley Schofield
eb73bee093
Update api.php
2021-11-09 14:45:11 +00:00
Bradley Schofield
b78715f353
Update api.php
2021-11-09 14:07:10 +00:00
Bradley Schofield
24b747453f
Add the ability for multiple abuse-keys
2021-11-09 10:21:24 +00:00
Dmitry
a52d9152e5
fix(typos): fix bunch of typos and missclicks in whole project
2021-10-08 05:03:09 +03:00
Torsten Dittmann
a585a9090a
fix realtime with db refactor
2021-10-07 17:35:17 +02:00
Torsten Dittmann
1ed41f52d3
Merge branch 'master' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor
2021-09-30 12:32:10 +02:00
Torsten Dittmann
9bc3412649
Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-09-02 09:44:36 +02:00
Damodar Lohani
fe51f50b3f
requested changes
2021-08-31 16:14:54 +05:45
Torsten Dittmann
8eef572d3e
Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-08-25 10:01:46 +02:00
Damodar Lohani
218b332b0f
fix get url
2021-08-24 15:36:45 +05:45
Damodar Lohani
c81ee72c7e
Merge branch 'feat-database-indexing' into feat-usage-daemon
2021-08-24 15:04:07 +05:45
Damodar Lohani
0d47dea97f
Merge branch 'feat-database-indexing' into feat-usage-daemon
2021-08-19 11:12:49 +05:45
Damodar Lohani
7b56613b58
update framework
2021-08-19 10:54:55 +05:45
Damodar Lohani
9170f64a75
fix changed getURL to getPath
2021-08-19 10:50:21 +05:45
Eldad Fux
17bbdc3a52
Updated logs screen
2021-08-14 13:13:24 +03:00
Damodar Lohani
d94b203870
add http path to usage request stats
2021-08-13 15:45:25 +05:45
Damodar Lohani
35394e5849
Merge branch 'feat-database-indexing' into feat-depricate-usage-worker
2021-08-08 12:18:31 +05:45
Damodar Lohani
fa46f14092
refactor the class
2021-08-08 12:16:20 +05:45
Damodar Lohani
ffe9c99157
new statsd class and implementation
2021-08-08 11:21:08 +05:45
Eldad Fux
6a22cc92c0
Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-project-object-restructuring
2021-08-06 21:59:35 +03:00
Eldad Fux
09fb8327a5
Minor fixes
2021-08-06 13:48:50 +03:00
Damodar Lohani
6f540fec0f
restructuring auth method keys
2021-08-06 13:46:53 +05:45
Damodar Lohani
851a00e438
group auth methods
2021-08-06 13:27:31 +05:45
Eldad A. Fux
da426cbb2c
Merge pull request #1436 from appwrite/feat-deprecate-tasks
...
Removed the tasks service
2021-08-02 13:42:34 +03:00
Damodar Lohani
afe772f8fc
fix worker statsd not found issue
2021-08-02 14:51:56 +05:45
Damodar Lohani
bc4fede216
refactor usage update and fix functions worker
2021-08-02 12:41:12 +05:45
Damodar Lohani
0d4b706339
save usage data directly to statsd without redis queue
2021-08-02 11:56:08 +05:45
Eldad Fux
58b08c7111
Started work on the UI
2021-08-01 00:36:18 +03:00
Eldad Fux
95dacecf3a
Removed the tasks service
2021-07-27 17:16:12 +03:00
Eldad Fux
13c1bb045d
Cleanup old db library
2021-07-25 17:47:18 +03:00
Torsten Dittmann
882686952e
adapt to review
2021-07-13 17:18:02 +02:00
kodumbeats
a912e2f20e
Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes
2021-06-30 14:24:48 -04:00
Torsten Dittmann
eaa3644f0f
remove Realtime event class
2021-06-30 13:36:58 +02:00
Torsten Dittmann
a2d0c910c1
Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-06-29 13:34:35 +02:00
Torsten Dittmann
dd47f195a0
deps(composer): updated abuse library to 0.5.0
2021-06-28 12:20:22 +02:00
Torsten Dittmann
44ba052fcb
feat(db): improved connection pools
2021-06-28 09:19:33 +02:00
Torsten Dittmann
72392ac09f
fix(abuse): enable abuse limits again
2021-06-23 17:11:23 +02:00
Eldad Fux
ca201011c5
Fixes
2021-06-22 23:31:39 +03:00
Eldad Fux
83047e8784
Fixed is empty conditions
2021-06-20 16:59:36 +03:00
kodumbeats
afd347ca6f
Create attributes and indexes using database worker
2021-06-18 12:13:37 -04:00
Torsten Dittmann
6ebf6bd155
feat(realtime): team events and permission validation
2021-06-16 19:43:06 +02:00
Eldad A. Fux
babf31c3a3
Update app/controllers/shared/api.php
...
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-06-12 17:50:27 +03:00
Torsten Dittmann
2dcf3c2c19
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-06-11 12:34:08 +02:00
Damodar Lohani
12e01f8092
integrate abuse and audit
2021-06-07 11:02:29 +05:45
Eldad Fux
d77226e8f9
Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing
2021-06-03 23:19:04 +03:00
Torsten Dittmann
8f8ba1cb6d
fix(api): time limit with empty values
2021-05-28 18:03:51 +02:00
Eldad Fux
abd0bba8a4
Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing
2021-05-27 01:31:29 +03:00
Torsten Dittmann
787931b45b
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-05-20 09:46:49 +02:00
Eldad Fux
a8cc398c85
Updated functions trigger
2021-05-17 14:32:37 +03:00
Eldad Fux
79bf99372e
Removed DB connection
2021-05-17 12:49:17 +03:00
Eldad Fux
2760cf5993
Cleanups - work in progress
2021-05-16 12:18:34 +03:00
Torsten Dittmann
3d4c3741a2
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-05-04 17:21:10 +02:00
Torsten Dittmann
69bd907729
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-04-12 09:42:46 +02:00
Eldad Fux
f070eb0a3a
Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-auth-limits
2021-04-03 10:16:46 +03:00
kodumbeats
9f8e7358d4
Refactor event $payload to $eventData
2021-03-29 14:00:10 -04:00
Torsten Dittmann
b8531560b2
fix connection pool on spike loads
2021-03-11 17:28:03 +01:00
Eldad Fux
538ffb0b24
Fixed type
2021-03-01 23:04:53 +02:00
Eldad Fux
7f47bfc9f8
Fixed default values
2021-02-28 22:46:26 +02:00
Eldad Fux
b09afd1921
Updated API
2021-02-28 20:36:13 +02:00
Torsten Dittmann
46f64b4faa
add realtime prototype
2021-02-24 18:12:38 +01:00
Torsten Dittmann
f4f0f32468
add realtime event
2021-02-24 13:19:46 +01:00
Damodar Lohani
d4c7ab045a
Switching to utopia-php/storage
2021-01-22 14:13:33 +05:45
Eldad Fux
121bc8a704
Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-new-public-permissions
2021-01-14 08:05:55 +02:00
Eldad Fux
9845931201
Merge branch 'feat-minor-07-refactors' of github.com:appwrite/appwrite into feat-new-public-permissions
2021-01-14 00:06:21 +02:00
Eldad Fux
1d80281ef7
Disable ratelimits
2021-01-11 23:52:05 +02:00
Eldad Fux
7b1bad0a62
Reordered some code
2021-01-05 14:22:20 +02:00
Eldad Fux
07b79c3103
Updated docs
2020-10-29 15:50:49 +02:00
Eldad Fux
0450604d27
Added external swoole lib and extended response class
2020-10-29 15:07:56 +02:00
Eldad Fux
498fb207f6
Added new request methods
2020-07-03 18:14:51 +03:00
Eldad Fux
521f206f09
Updated request methods
2020-07-02 20:37:24 +03:00
Eldad Fux
78c0566028
Removed globals from shared controllers
2020-07-01 08:08:49 +03:00
Eldad Fux
3e808d3bf4
Removed global vars
2020-06-30 00:43:34 +03:00
Eldad Fux
655aecd29d
Cleaned up globals
2020-06-28 22:28:18 +03:00
Eldad Fux
00e3632c59
Upgraded FW
2020-06-28 20:31:21 +03:00
Eldad Fux
539ea96ca0
Adding group support, upgraded FW
2020-06-25 21:32:12 +03:00
Eldad Fux
c7366c7453
Updated coding standards
2020-06-24 23:59:04 +03:00
Eldad Fux
8c33a729bc
Same for app directory
2020-06-20 14:20:49 +03:00
Eldad Fux
0cac2ed506
Fix error message when abuse is missing project ID
2020-06-17 23:08:55 +03:00
Eldad Fux
46cfa9ee92
Updated $uid to $id
2020-02-17 09:16:11 +02:00
Eldad Fux
73e1062884
Merge branch 'master' of github.com:appwrite/appwrite into restify
2020-01-13 14:48:52 +02:00
Eldad Fux
c5444c828f
Fix for OAuth issues
2020-01-13 10:48:37 +02:00
Eldad Fux
3fefd2e764
Removed unused namespace
2020-01-03 23:01:23 +02:00
Eldad Fux
066f08fcf5
Better locction for missing project error
2019-12-17 06:16:50 +02:00
Eldad Fux
53a97a59ca
Project bot found check
2019-12-15 20:59:13 +02:00
eldadfux
f41cc152a3
Apply rate limiting only on API calls
2019-11-29 20:23:29 +02:00
eldadfux
c706349c10
Updated PHP coding standards
2019-10-01 07:57:41 +03:00
eldadfux
6a5f54615a
Updated coding standards using PHP-CS-FIXER
2019-09-06 20:10:41 +03:00
eldadfux
36358e90b5
Added source code
2019-05-09 09:54:42 +03:00