Commit graph

70 commits

Author SHA1 Message Date
El RIDO
ddd2d72064
replaced the term "paste" with the more generic "document"
Some of the references to "paste" in code or comments got changed as well, but to clarify the intended usage of the terms:

- A PrivateBin document can consist of a paste text (key "paste" in the encrypted payload) and one or several attachments and discussion entries.
- Internally the root document is called a "Paste" and each discussion entry is called a "Discussion".
- When referring to a whole document with one paste and optional discussion(s), we call it just "document".
- When talking about a particular JSON payload type in the internal logic, i.e. during storage or transmission, we call them a paste or discussion to distinguish which type we refer to.

closes #397
2025-07-24 10:46:31 +02:00
El RIDO
13869e46be
updating jdenticon library to 2.0.0, minimum PHP version 7.4 2025-07-14 22:01:11 +02:00
El RIDO
5d4561bd0a
drop ctype requirement (only one use left) 2025-03-13 08:29:53 +01:00
dependabot[bot]
f111def946
Bump mlocati/ip-lib from 1.19.0 to 1.20.0
Bumps [mlocati/ip-lib](https://github.com/mlocati/ip-lib) from 1.19.0 to 1.20.0.
- [Release notes](https://github.com/mlocati/ip-lib/releases)
- [Commits](https://github.com/mlocati/ip-lib/compare/1.19.0...1.20.0)

---
updated-dependencies:
- dependency-name: mlocati/ip-lib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-05 11:20:36 +00:00
dependabot[bot]
ed3347e835
Bump mlocati/ip-lib from 1.18.1 to 1.19.0
Bumps [mlocati/ip-lib](https://github.com/mlocati/ip-lib) from 1.18.1 to 1.19.0.
- [Release notes](https://github.com/mlocati/ip-lib/releases)
- [Commits](https://github.com/mlocati/ip-lib/compare/1.18.1...1.19.0)

---
updated-dependencies:
- dependency-name: mlocati/ip-lib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-04 11:50:21 +00:00
El RIDO
2e69154e9a
Merge branch 'master' into php84-tests 2025-01-04 09:03:51 +01:00
ribas160
f9e2373e62 - str_starts_with, str_contains used instead of strpos === 0, strpos !== 0, strpos === false, strpos !== false
- symfony/polyfill-php80 installed to introduce the polyfill and support php7.3 using php8 functions
- symfony/polyfill-ctype installed to introduce ctype functions in case somebody doesn't have the ctype extension installed
2025-01-04 00:46:20 +02:00
El RIDO
21b259b5eb
bump libraries, document change
fixes #1301
2024-12-22 12:05:55 +01:00
El RIDO
652cf0cf26 bump PHP libraries 2024-11-28 07:48:27 +01:00
El RIDO
9eadf09ac3 bump libraries, document change 2024-10-31 08:05:49 +01:00
dependabot[bot]
6db7d9a6fa
Bump mlocati/ip-lib from 1.18.0 to 1.18.1
Bumps [mlocati/ip-lib](https://github.com/mlocati/ip-lib) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/mlocati/ip-lib/releases)
- [Commits](https://github.com/mlocati/ip-lib/compare/1.18.0...1.18.1)

---
updated-dependencies:
- dependency-name: mlocati/ip-lib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 11:33:35 +00:00
El RIDO
b9a9e7c324
bump versions of optional cloud storage dependencies 2024-04-01 14:35:16 +02:00
El RIDO
5c29619fee
post-release cleanup
- prep changelog for future changes
- composer changes from re-running composer on the repo, testing deps
- change to phpunit coverage make target, required with newer releases
2024-02-11 15:10:01 +01:00
El RIDO
b6ad6b538a allow composer to run at scrutinizer, explicitly telling it about our minimum supported PHP version 2023-07-23 10:38:14 +02:00
El RIDO
c1b3bffe8c document change, update composer, dropping obsolete library with polyfill for random_bytes function on PHP < 7 2023-07-23 10:19:35 +02:00
El RIDO
dabcafb99b
Merge branch 'master' into php8 2023-07-05 07:15:28 +02:00
El RIDO
172088e59b bump optional PHP libraries 2023-07-01 07:59:25 +02:00
El RIDO
57be10ed53
bump libraries, update changelog
required minimal changes in checkmark jQuery accessor code, found by unit tests
2023-06-18 13:47:54 +02:00
github-actions[bot]
9247b25824 Merge remote-tracking branch 'origin/master' into php8 2022-12-20 18:54:23 +00:00
El RIDO
67aab7a491
bump optional libraries for GCS & S3 to address PHP 8.1 deprecation warnings 2022-12-20 19:53:32 +01:00
El RIDO
c44b252aa8
Merge branch 'master' into php8 2022-10-29 19:38:01 +02:00
El RIDO
8ac69590cf
add new Jdenticon comment icon library, set it as default, fixes #793 2022-10-26 06:53:56 +02:00
github-actions[bot]
5768b1e4bd Merge remote-tracking branch 'origin/master' into php8 2022-10-22 16:35:34 +00:00
Felix J. Ogris
ee212b1a33 implemented S3 storage backend
added sample configuration + aws php sdk version

coding style cleanup
2022-10-22 18:30:24 +02:00
El RIDO
38c13398fc
Merge branch 'master' into php8 2022-02-26 06:51:32 +01:00
El RIDO
7277d2bb43
update all libraries 2022-02-18 07:36:09 +01:00
El RIDO
3f469f715f
Merge branch 'master' into php8 2021-10-07 22:17:11 +02:00
El RIDO
b939b64778
Merge branch 'issue-794/add-gcs-support' of https://github.com/binxio/PrivateBin into binxio-issue-794/add-gcs-support 2021-05-30 07:57:58 +02:00
Mark van Holsteijn
342270d6dd added Google Cloud Storage support 2021-05-28 22:39:50 +02:00
El RIDO
3dd01b1f70
testing IP exemption, handle corner cases found in testing 2021-05-22 10:59:47 +02:00
El RIDO
89f6f0051d
imported mlocati/ip-lib version 1.14.0 2021-05-22 09:21:01 +02:00
LinQhost Managed hosting
7d82c82fd9 Make it possible to exempt ips from the rate-limiter 2021-05-04 10:29:25 +02:00
El RIDO
30c8d97517
update PHP dependencies 2021-04-05 17:11:51 +02:00
El RIDO
17c3cb35c0
change tests for phpunit 9 support, breaking support with phpunit 5.6 2020-10-11 10:31:24 +02:00
El RIDO
6f90df9545
updating tests by dropping PHPunit 4.6 support 2020-10-10 12:08:58 +02:00
El RIDO
99f50f6de3
update composer dependencies - test phpunit 9 2020-10-10 11:50:48 +02:00
El RIDO
50f81e1d2e
unlock PHP 8 for composer 2020-10-10 11:24:36 +02:00
El RIDO
df408c1e82
remove code climate dependency, since I couldn't get it to work on github actions 2020-05-31 16:11:24 +02:00
El RIDO
268730e07b
remove unmaintained and incompatible codacy module 2020-05-31 15:07:17 +02:00
El RIDO
2870023e9c
updating composer requirements und identicon library 2020-02-05 19:17:22 +01:00
El RIDO
4d6897f063
increasing minimum PHP version to 5.5 as this is required by the yzalis/identicon library upgrade to version 1.2.0 2019-06-16 10:50:52 +02:00
El RIDO
db4ae09ee3
upgraded PHP libraries 2019-06-16 07:10:24 +02:00
El RIDO
0dbbb61d11
implementing web crypto API for encryption 2018-09-01 19:42:22 +02:00
El RIDO
fd6c18e573
updating random_compat library to 2.0.15 (not upgrading identicon, would raise PHP requirements to 5.5) 2018-07-01 15:32:22 +02:00
El RIDO
df921ad658
fixing licence identifier according to spdx.org for Packagist / composer 2018-02-25 10:18:43 +01:00
El RIDO
76c14795ef
removing unnecessary repository from composer: We do not depend on ourselves 2018-01-02 07:30:51 +01:00
rugk
f514381aa5
Correct license
We do not use the acknowledge version.
Cf.:
Without ack.: https://spdx.org/licenses/Zlib.html#licenseText
With ack.:    https://spdx.org/licenses/zlib-acknowledgement.html#licenseText
2017-04-19 00:09:41 +02:00
El RIDO
88b02d866e
fixes #186 for good 2017-03-24 19:20:34 +01:00
El RIDO
651e38acbe
make travis use phpunit < 6 to avoid failing builds for PHP 7, see: https://github.com/travis-ci/travis-ci/issues/7226#issuecomment-285852088 2017-03-12 14:38:49 +01:00
El RIDO
920f02e43d
fixing composer package versions, thanks @jelhan (#84) 2017-01-30 20:36:38 +01:00