Commit graph

2122 commits

Author SHA1 Message Date
El RIDO
a2e479192f
phpunit compatibility 2021-10-07 22:20:25 +02:00
El RIDO
3f469f715f
Merge branch 'master' into php8 2021-10-07 22:17:11 +02:00
El RIDO
c5fd6028b5
Merge pull request #843 from PrivateBin/php8-ci
Add CI for automatic PHP8 branch updates
2021-10-07 21:00:09 +02:00
rugk
c7cd450f9b
Remove useless boilerplate comments 2021-10-06 20:19:03 +02:00
rugk
a988be7431
Add CI for automatic PHP8 updates
Adds a simple CI for pushing the master branches changes to the php8 branch.

Useful/discussed for https://github.com/PrivateBin/PrivateBin/issues/707
2021-10-06 20:13:09 +02:00
El RIDO
981304848f
Merge pull request #840 from PrivateBin/ci-cache
Cache PHP modules, composer and NodeJS stuff in CI
2021-10-04 10:03:31 +02:00
El RIDO
51a590c3c7
Merge pull request #841 from PrivateBin/ci-problem-matchers
Setup CI problem matchers for PHP
2021-10-02 20:15:22 +02:00
rugk
f4e68fcc04
style: better YAML comments 2021-10-02 01:12:08 +02:00
rugk
f43a41c117
Update tests.yml 2021-10-02 01:07:57 +02:00
rugk
ab11fbeb47
Fix syntax error
Apparently in envs the OS etc. syntax is not supported, so we need to use it like this.
2021-10-02 01:01:24 +02:00
rugk
5f4fe52eab
Use package-json instead of package-lock.json
for cache
2021-10-02 00:56:44 +02:00
rugk
b80732f8e2
Add caching for NodeJS 2021-10-02 00:55:08 +02:00
rugk
a372ee92e9
Fix wrong cache key 2021-10-02 00:43:54 +02:00
rugk
e2ae0da4e1
Style cleanup adding newlines
Seems to be the unofficial GitHub Actions YAML style and arguably makes things a lot more readable if you have a lot of steps…
2021-10-02 00:41:54 +02:00
rugk
3f7bceb862
Also cache PHP extensions
See https://github.com/shivammathur/cache-extensions#workflow
2021-10-02 00:38:21 +02:00
rugk
507a10adc5
Use composer.json instead of composer.lock
In a cache
2021-10-02 00:32:57 +02:00
rugk
a8f7840d25
Only restore cache from current date then 2021-10-02 00:29:48 +02:00
rugk
3ba6483bf3
Try caching composer stuff
Especially the GCM stuff may be quite large, so caching may be a good idea.

I tried following https://github.com/shivammathur/setup-php#cache-composer-dependencies
2021-10-02 00:27:57 +02:00
El RIDO
fba8384ac3
Merge pull request #836 from PrivateBin/crowdin-translation
New Crowdin updates
2021-09-28 05:59:13 +02:00
PrivateBin Translator Bot
def58480b3 New translations en.json (Occitan) 2021-09-27 10:21:34 +02:00
El RIDO
cb5ba022ba
Merge pull request #832 from PrivateBin/crowdin-translation
New Crowdin updates
2021-09-04 09:09:00 +02:00
PrivateBin Translator Bot
c5c3a0e743 New translations en.json (Turkish) 2021-09-03 18:58:00 +02:00
PrivateBin Translator Bot
3c068cd6c3 New translations en.json (Turkish) 2021-09-03 17:57:02 +02:00
El RIDO
82f1431440
Merge branch 'conf-path-handling' 2021-08-19 19:33:19 +02:00
El RIDO
df2f5931cd
improve readability, kudos @rugk 2021-08-19 19:28:52 +02:00
El RIDO
ff3b668958
apply StyleCI recommendation 2021-08-19 11:04:31 +02:00
El RIDO
eb10d4d35e
be more flexible with configuration paths
1. only consider CONFIG_PATH environment variable, if non-empty
2. fall back to search in PATH (defined in index.php), if CONFIG_PATH doesn't contain a readable configuration file
2021-08-19 10:21:21 +02:00
El RIDO
18972ae0fa
luckily the PHP ini parser doesn't interpret this as an empty block, replacing the one defined above 2021-08-19 10:18:08 +02:00
El RIDO
e7fb9ac54c
Merge pull request #818 from PrivateBin/crowdin-translation
New Crowdin updates
2021-08-19 10:14:28 +02:00
El RIDO
08816a1d71
Merge pull request #823 from PrivateBin/release-clarify
Clarify download instruction from GitHub releases
2021-08-05 20:17:19 +02:00
rugk
ea663f7491
Clarify download instruction from GitHub releases
Fixes https://github.com/PrivateBin/PrivateBin/issues/822
2021-08-05 19:28:43 +02:00
PrivateBin Translator Bot
5f28acf629 New translations en.json (Lithuanian) 2021-07-08 22:59:50 +02:00
El RIDO
5f2daa5cd6
Merge branch 'persistence-into-data' 2021-06-20 08:17:41 +02:00
El RIDO
1fd998f325
address Scrutinizer issues 2021-06-16 05:57:26 +02:00
El RIDO
9c09018e6e
address Scrutinizer issues 2021-06-16 05:50:41 +02:00
El RIDO
be164bb6a9
apply StyleCI recommendation 2021-06-16 05:43:18 +02:00
El RIDO
fd08d991fe
log errors storing persistance 2021-06-16 05:32:45 +02:00
El RIDO
3d9ba10fcb
more consistent AbstractData implementation 2021-06-16 05:19:45 +02:00
El RIDO
ae1e4e3edb
clarify use of getDeleteToken() method in unit test 2021-06-16 04:39:24 +02:00
El RIDO
af54e70359
apply StyleCI recommendation 2021-06-14 06:48:46 +02:00
El RIDO
3327645fd4
updated doc blocks, comments, fixed indentations, moved some constant strings 2021-06-14 06:44:30 +02:00
El RIDO
b72994f2e0
Merge pull request #813 from binxio/persistence-into-data
removed json encoding from get/setValue
2021-06-14 05:58:40 +02:00
Mark van Holsteijn
b4c75b541b removed json encoding from get/setValue 2021-06-13 21:16:30 +02:00
El RIDO
9357f122b7
address Scrutinizer issues 2021-06-13 12:49:59 +02:00
El RIDO
d0248d55d3
address Scrutinizer issues 2021-06-13 12:43:18 +02:00
El RIDO
078c5785dd
fix unit tests on php < 7.3 2021-06-13 12:40:06 +02:00
El RIDO
68b097087d
apply StyleCI recommendation 2021-06-13 11:16:29 +02:00
El RIDO
fa4fe2852d
address Scrutinizer issues 2021-06-13 11:12:19 +02:00
El RIDO
bbcf57de0e
address Scrutinizer issues 2021-06-13 11:08:38 +02:00
El RIDO
f04043a399
address Scrutinizer issues 2021-06-13 11:02:53 +02:00