renovate[bot]
81a3f7e322
Pin dependencies ( #739 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 20:30:35 +01:00
Jeldrik Hanschke
fb3bfe9057
use Prettier for YAML files ( #733 )
2023-11-06 19:22:11 +01:00
Jeldrik Hanschke
8a4954f4e8
drop support for polls created with Croodle <= 0.3.x ( #709 )
2023-10-27 20:40:18 +02:00
Jeldrik Hanschke
748b17e0ea
answers could be derived from answerType ( #704 )
...
* answers could be derived from answerType
* improve readability of API test data
* update API tests for removed answers property
2023-10-23 17:33:25 +02:00
Jeldrik Hanschke
4dec5d2d6c
using docker for development is not needed anymore since supporting PHP 7.2 - 8.2 ( #601 )
2023-07-13 21:46:38 +02:00
Jeldrik Hanschke
6382cbd908
test with PHP 8.x in CI ( #595 )
2023-07-11 14:08:56 +02:00
Jeldrik Hanschke
38cc827600
upgrade backend dependencies within configured ranges ( #594 )
2023-07-09 23:35:11 +02:00
dependabot[bot]
4415921ab2
Bump guzzlehttp/psr7 from 1.6.1 to 1.9.1 in /api ( #575 )
...
Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7 ) from 1.6.1 to 1.9.1.
- [Release notes](https://github.com/guzzle/psr7/releases )
- [Changelog](https://github.com/guzzle/psr7/blob/1.9.1/CHANGELOG.md )
- [Commits](https://github.com/guzzle/psr7/compare/1.6.1...1.9.1 )
---
updated-dependencies:
- dependency-name: guzzlehttp/psr7
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-09 21:48:45 +02:00
Jeldrik Hanschke
3fec3508e5
add instructions running API using Docker for development purposes ( #572 )
2023-07-09 21:26:06 +02:00
renovate[bot]
575d8054f6
Update dependency vlucas/phpdotenv to v3.6.8 ( #514 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 19:04:17 +01:00
renovate[bot]
0eca654bb2
Update dependency vlucas/phpdotenv to v3.6.7 ( #470 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-31 08:18:10 +01:00
renovate[bot]
b819124fb1
Update dependency vlucas/phpdotenv to ^3.6.6 ( #386 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-10 23:34:31 +02:00
Jeldrik Hanschke
03983fa294
drop support for PHP 7.1 ( #410 )
...
Also upgrades dependencies with composer upgrade.
2020-05-22 10:03:46 +02:00
Jeldrik Hanschke
a99d83d569
support absolute path for dataDir config option ( #363 )
2020-01-31 20:22:22 +01:00
renovate[bot]
9b75f6d81e
Update dependency flow/jsonpath to ^0.5.0 ( #324 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-18 15:04:06 +01:00
renovate[bot]
2ec0a5bdbd
Update dependency vlucas/phpdotenv to ^3.6.0 ( #314 )
2019-11-30 17:01:40 +01:00
Jeldrik Hanschke
b9c9d54d61
composer update ( #299 )
2019-11-13 23:12:18 +01:00
Jeldrik Hanschke
d604ed8164
upgrade API dependencies ( #267 )
...
Charset was removed from Content-Type intentionally in latest slim 3.x version. See https://github.com/slimphp/Slim/issues/2629 for reasons.
Ensure that composer respects our PHP support commitment.
2019-10-30 10:06:01 +01:00
renovate[bot]
a1c1cb885a
upgrade codeception to ^3.1 and codeception/phpbuiltinserver to ^1.5 ( #182 )
2019-10-30 08:17:06 +01:00
renovate[bot]
9bf40aff26
Update dependency vlucas/phpdotenv to v3 ( #183 )
2019-04-26 10:32:43 +02:00
jelhan
277e783e81
upgrade dependencies of API ( #173 )
...
* upgrade dependencies
* run tests against all supported PHP versions
2019-03-14 21:31:41 +01:00
jelhan
e7555f873f
do not hardcode another DATA_DIR if php built-in webserver is used
2017-08-13 20:22:01 +02:00
jelhan
7979b4d43d
update codeception/phpbuiltinserver
2017-08-12 18:36:04 +02:00
jelhan
1a7d42af4f
update api dependencies
2017-08-12 18:34:38 +02:00
jelhan
2078b2bcc1
flow/jsonpath is only required by tests
2017-08-12 18:32:47 +02:00
jelhan
e3286dfebf
dependencies must support php 5.6
2017-08-12 18:30:04 +02:00
jelhan
b5c31dee93
add required php versions to composer.json
2017-08-12 18:25:04 +02:00
jelhan
7ce671a9c3
api debug mode should be configurable by config.php
2016-12-03 21:41:42 +01:00
jelhan
e7137e2db3
make path of data dir configurable
...
Closes #109
2016-08-19 00:23:49 +02:00
jelhan
be57db575d
update api to Slim 3.5
...
also updates codeception
have to lock phpbuiltinserver cause of https://github.com/tiger-seo/PhpBuiltinServer/pull/32
2016-08-18 23:39:16 +02:00
jelhan
f613a8d884
Fixes #111
2016-08-14 14:41:48 +02:00
jelhan
777dbeeb51
Fix spelling
2016-05-23 11:55:34 +02:00
rugk
eacb089347
cron.php: Better wording
2016-05-21 21:26:51 +02:00
rugk
fdc912588b
Add header to allow script execution
...
If you say it should be executed as a script you might also want this...
2016-05-21 21:26:24 +02:00
jelhan
ce47b2342f
Not supported by PHP 5.6
2016-05-18 16:15:28 -07:00
jelhan
9603444daa
php 5.6 does not support class member access on clone
...
it's a pitty
2016-05-18 15:52:30 -07:00
jelhan
08b5fe26e3
cleanup test data dir before each test
2016-05-18 15:47:08 -07:00
jelhan
a7bc09c9e9
adds test for cron.php
2016-05-18 15:16:41 -07:00
jelhan
08e9f68197
remove polls isDateTime attribute
2016-05-18 13:18:36 -07:00
jelhan
48b134c1b2
remove demo data from codeception
2016-04-11 01:14:06 +02:00
jelhan
a545f7f956
remove auto generated files from repository
2016-04-11 01:00:59 +02:00
jelhan
d02837db6b
Fix tests failing caused by exceeded server expiration date ...
2015-11-24 01:15:34 +01:00
jelhan
6d4fdd5e5b
fix composer.lock
2015-10-29 13:35:35 +01:00
jelhan
ccbf95d3ad
do not include codeception in production build
...
also updated composer to use latest versions (composer.lock)
2015-10-29 13:12:57 +01:00
jelhan
bfe1f488d4
remove proof key knowledge cause it's not secure implemented yet
2015-10-29 12:48:46 +01:00
jelhan
dec12d81a7
move legacy support to api
2015-10-17 15:44:27 +02:00
jelhan
38eecd64ff
PHP 7 is right: an empty string is not a valid JSON
2015-08-23 19:04:58 +02:00
jelhan
b9bef69977
user has to proof that he knows encryption key when he participates
...
Therefore sha256 hash of encryption key is validated against one which is stored
on server on poll creation.
This one is transfered as X-Croodle-Proof-Key-Knowledge HTTP HEADER.
Prevents an attacker of transmitting data with wrong encryption key, which
would cause decryption errors for legit users.
2015-08-23 18:56:41 +02:00
jelhan
6ed0cc367a
reimplement expiration date in new api models
2015-08-23 06:18:05 +02:00
jelhan
09c8310bb6
rewritten API models
2015-08-22 23:47:31 +02:00