Arthur Schiwon
5dd2207c95
fix nested group retrieval also for 2 other cases
...
and also consolidate logic in one method
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-05 11:07:40 +01:00
Joas Schilling
c84c13fb19
Merge pull request #13850 from nextcloud/feature/11274/enable-disable-multiple-apps
...
Enable & disable multiple apps at once
2019-02-21 14:39:44 +01:00
Roeland Jago Douma
f5449a021a
Move twofactor_backupcodes to main webpack bundle
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-20 15:24:04 +01:00
Roeland Jago Douma
0771091e0f
Remove drone jobs
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-20 12:52:41 +01:00
Daniel Kesselberg
76b5f44f05
Strict Types, Return Types
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 21:03:06 +01:00
Julius Härtl
774b0b3662
Use npm ci for webpack builds
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-19 11:17:37 +01:00
Roeland Jago Douma
518aa1e2a8
Add proper drone job
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-13 09:03:12 +01:00
Arthur Schiwon
4bd3916445
integration test: pages search scenario with multiple bases
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-28 14:20:03 +01:00
Julius Härtl
1a86704338
Use nextcloudci/node
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-25 12:36:42 +01:00
John Molakvoæ (skjnldsv)
9405ff3bbf
Fix vue settings checks and filenames
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-25 12:34:46 +01:00
Roeland Jago Douma
2f3e18a5e1
Move litmusv2 to php7.2
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-27 12:13:42 +01:00
Roeland Jago Douma
70936dcfb3
Fix drone images
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-21 16:04:12 +01:00
Arthur Schiwon
9322f5064a
run LDAP integrations tests with redis which is the recommended setup
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-12-03 14:34:03 +01:00
Daniel Calviño Sánchez
d6c053f6a3
Extract sharing related acceptance tests to their own feature files
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-23 15:13:15 +01:00
Daniel Calviño Sánchez
95dc2ad13c
Extract acceptance tests for tags to their own feature file
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-29 08:40:05 +01:00
Roeland Jago Douma
12f921f043
Merge pull request #11769 from nextcloud/3rdparty/remove/random_compat
...
Remove random_compat
2018-10-11 15:48:03 +02:00
Joas Schilling
f48d5dc27e
Remove random_compat
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-11 14:45:11 +02:00
Roeland Jago Douma
87eefbd192
Add 7.3 CI to drone
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-11 11:20:48 +02:00
Roeland Jago Douma
6680966f7c
Ignore the RiakCache
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-10 22:27:54 +02:00
Roeland Jago Douma
04c80c681d
Add syntax ci job for php7.2
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-10 22:15:59 +02:00
Roeland Jago Douma
4f13430a95
Add drone step
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-28 21:15:46 +02:00
Arthur Schiwon
108a8d6c4c
extend integration tests with users with numerical IDs
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-09-28 11:19:48 +02:00
Roeland Jago Douma
735d5e5cba
Add drone support
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 09:07:06 +02:00
Robin Appelman
254d7caab6
use a dummy database name for the default postgres database name
...
For some reason the docker image does not setup the permissions correctly,
by using a different name the nextcloud installer will create the database instead
with the correct permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-17 18:19:29 +02:00
Arthur Schiwon
8808da816d
simplify tests and move some out to a new feature as we need a pristine
...
database for them
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:12 +02:00
Arthur Schiwon
86d145f069
behat integration tests for LDAP, basic setup
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:04 +02:00
Julius Härtl
138a527cc4
Use correct domain for ci-assets
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-29 22:52:34 +02:00
Morris Jobke
c96d64b083
Update object storage
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-07-29 22:52:34 +02:00
Julius Härtl
33f26c8da2
Frontend regression testing with puppeteer
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-29 22:51:58 +02:00
Daniel Calviño Sánchez
1e16f7ecd9
Add integration tests for searching files by comments
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-25 18:53:45 +02:00
Arthur Schiwon
83339ae10c
use older image for disabled redis tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-30 00:29:46 +02:00
Johannes Ernst
32647a4855
Applied patch for CI to work per https://github.com/nextcloud/server/pull/9760#issuecomment-396888591
...
Signed-off-by: Johannes Ernst <jernst@indiecomputing.com>
2018-06-29 10:37:46 +02:00
Arthur Schiwon
6044733b2d
fix build step
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29 09:11:04 +02:00
John Molakvoæ (skjnldsv)
263d2c89fb
Config set and drone
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-25 17:12:27 +02:00
Julius Härtl
2791bedfa9
Add vue build for oauth2 app to drone
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-20 09:32:23 +02:00
Morris Jobke
4fc9bdea4e
Run vue builds in parallel
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-19 23:54:00 +02:00
John Molakvoæ (skjnldsv)
885b6be733
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-12 11:13:24 +02:00
Julius Härtl
de66336f9c
Add basic acceptance tests for apps management
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-09 11:37:41 +02:00
John Molakvoæ (skjnldsv)
fd147cc3fd
Bump updatenotification
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 09:28:06 +02:00
John Molakvoæ (skjnldsv)
62e29abc5b
Add vue apps build tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 08:35:02 +02:00
Robin Appelman
ac26175a17
add azure unit tests with azurite
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-04 16:18:03 +02:00
John Molakvoæ (skjnldsv)
aec85bf04f
Fix drone mysqlmb4 tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-30 08:33:27 +02:00
John Molakvoæ (skjnldsv)
b2389d0f01
Add feature to drone
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-16 09:50:24 +02:00
Roeland Jago Douma
4202b68ee2
Bump integration test image
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-14 14:20:55 +02:00
Morris Jobke
2094fcf5f0
Merge pull request #9145 from nextcloud/use-authorized-github-checks
...
Add auth token to github requests
2018-04-11 16:27:13 +02:00
Morris Jobke
2c15f4003e
Add auth token to github requests
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-11 15:15:49 +02:00
Morris Jobke
4ef2fb36d0
Disable unreliable swift tests
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-11 10:57:21 +02:00
Morris Jobke
c4c6943c1e
Merge pull request #9127 from nextcloud/make-possible-to-run-acceptance-tests-on-apache
...
Make possible to run acceptance tests on Apache
2018-04-09 23:50:44 +02:00
Daniel Calviño Sánchez
f6d34587a2
Use Docker image for acceptance tests
...
The Docker image for acceptance tests provides support for both the PHP
built-in web server and the Apache web server; the acceptance tests for
the server are run on the PHP built-in web server, but the acceptance
tests for some apps will have to be run on the Apache web server (for
example, Talk, as it uses long polling), so a Docker image to support
both cases has to be used in "run.sh". ".drone.yml" was just updated for
consistency, although it was not really needed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-09 21:50:30 +02:00
Daniel Calviño Sánchez
50ee978aa8
Do not run download scenarios tagged as "large" in Drone
...
Large scenarios take too long to run, so they would be cancelled before
they were finished. Therefore, now they are not even run.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-06 15:59:31 +02:00
Daniel Calviño Sánchez
6ee5469a03
Add integration tests for downloading basic zip files
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-06 15:59:31 +02:00
John Molakvoæ (skjnldsv)
3d99a9d24e
Header acceptance features
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-09 14:33:22 +01:00
Roeland Jago Douma
4bcc282a48
Add v3.0 auth run
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-26 14:54:12 +01:00
Roeland Jago Douma
1541af432e
Use a proper wait for create of the container
...
* Also create a test file so we know for sure it all works
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-19 21:49:38 +01:00
Daniel Calviño Sánchez
32c6cfe7df
Fix typo in build matrix of .drone.yml
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-02-16 12:38:46 +01:00
Daniel Calviño Sánchez
c4478f6297
Add acceptance tests for comments to Drone
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-02-15 17:48:07 +01:00
Robin Appelman
df6e23c98c
add ci for swift primary storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-08 15:18:25 +01:00
Roeland Jago Douma
67a876b7ec
Bump php7.2 image
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-05 20:42:43 +01:00
Roeland Jago Douma
5b5b9cbeca
Use 7.2 image
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-04 14:09:54 +01:00
Roeland Jago Douma
1e75f007ac
Use a phan version instead of master
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-04 14:08:48 +01:00
Morris Jobke
4718d2b80d
Update memcached image
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-25 13:40:57 +01:00
Roeland Jago Douma
24af5c20bd
Bump docker containers used
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-24 20:35:28 +01:00
Morris Jobke
6d95f90361
Raise PHP version number to PHP 7.0
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-12 14:26:10 +01:00
Robin Appelman
74b5ce8fd4
Some tests for the remote cloud api
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-12-08 16:34:33 +01:00
Robin Appelman
95d0b3d490
run postgresql 10 tests in drone
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-11-22 17:57:17 +01:00
Roeland Jago Douma
17bd2fb268
Phan is moved to a new repo
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-16 16:23:55 +02:00
blizzz
9bbb6ffb23
fix postgresql tests
...
we don't support pgsql 10 yet. because Doctrine does not either.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-10-09 12:45:00 +02:00
Roeland Jago Douma
2458095692
Update php7.2 container to rc3
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-04 21:00:29 +02:00
Roeland Jago Douma
be0ecce9bc
Add 7.2 jobs for mysql & mysqlmb4
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-09-14 15:40:23 +02:00
Roeland Jago Douma
e481971155
Bump 7.2 container to RC1
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-09-09 20:45:11 +02:00
Morris Jobke
cea1511397
Use tmpfs for mysql CI containers
...
Should improve performance
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-09-08 15:23:37 +02:00
Roeland Jago Douma
7e065c2946
Add drone step for postgres with php 7.1
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-30 13:55:16 +02:00
Roeland Jago Douma
df268fef34
Properly quote 7.0 so drone handles it right
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-26 19:01:56 +02:00
Morris Jobke
15a29717f1
Merge pull request #6244 from nextcloud/redis_cluster
...
[drone] Give redis a change to fireup
2017-08-25 00:17:59 +02:00
Roeland Jago Douma
3d22e7a6f5
Use a new phpredis
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-24 19:01:13 +02:00
Roeland Jago Douma
8c02bcdeee
[drone] Install intergration tests in RAM
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-24 11:04:30 +02:00
Roeland Jago Douma
ef223b7760
Give redis a change to fireup
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-23 18:19:22 +02:00
Morris Jobke
e826961a51
Fix phan test
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-23 15:22:28 +02:00
Morris Jobke
0460ee70ef
Use docker images without XDebug and with Opcache
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-23 14:15:13 +02:00
Morris Jobke
4ee4d15f01
Enable object storage tests again
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-17 09:40:12 +02:00
Morris Jobke
d3cb4a7965
Merge pull request #6065 from nextcloud/mysql5.5
...
Add CI job for mysql 5.5
2017-08-10 18:12:42 +02:00
Roeland Jago Douma
ca121b7561
Merge pull request #5981 from nextcloud/fix-preview-of-theming
...
Fix preview of theming
2017-08-10 14:23:03 +02:00
Morris Jobke
f8d5dbcdb5
Add CI job for mysql 5.5
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-10 13:49:01 +02:00
Daniel Calviño Sánchez
0c8627a7ee
Add acceptance tests for setting the color in the Theming app
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-08-10 12:37:57 +02:00
Morris Jobke
7904404842
Add CI job for mysql 5.6
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-09 23:17:25 +02:00
Morris Jobke
f83a783d91
Fix redis-cluster support on drone
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-09 22:45:25 +02:00
Lukas Reschke
0857780eb0
Update PHP 7.2 container
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-09 15:12:01 +02:00
Lukas Reschke
db6d785644
Add PHP 7.2 testing container
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-09 15:12:01 +02:00
Morris Jobke
428b8b53a5
Update syntax to drone 0.8
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-09 11:10:21 +02:00
Roeland Jago Douma
e64ba1d343
Add mysqlmb4 php7.1 drone job
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-06 20:13:04 +02:00
Roeland Jago Douma
68d6e788e4
Add myslqmb4 php 7.0 drone
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-06 13:07:34 +02:00
Roeland Jago Douma
5164f25a54
Add PHP 7.1 mysql job to drone
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-06 10:45:10 +02:00
Roeland Jago Douma
c0f9a397d7
Also run mysql test on php7.0
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-05 19:59:37 +02:00
Benedikt Geissler
8a3f3e8c4a
Drop PHP 7.1 test
...
Signed-off-by: Benedikt Geissler <benedikt@g5r.eu>
2017-07-31 12:12:55 +02:00
Benedikt Geissler
ade7d89e36
Also test PHP 7.0 and 7.1 with PostgreSQL
...
Signed-off-by: Benedikt Geissler <benedikt@g5r.eu>
2017-07-31 12:12:55 +02:00
Morris Jobke
c85b7e6ae3
Move all DB tests to top, because they are long running
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-28 09:21:24 +02:00
Morris Jobke
0948365809
Update all drone images to latest version
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-28 09:20:28 +02:00
Morris Jobke
c191e12da4
Enable postgres on drone again
...
* use proper password
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-25 13:48:28 +02:00
Lukas Reschke
29e715a1b9
Exclude build/.phan/ from PHP 5.6 syntax check
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-20 23:04:11 +02:00
Lukas Reschke
3d2600b039
Add Phan plugin to check for SQL injections
...
This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues.
As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections.
The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-20 22:48:13 +02:00