Skip to content

[pull] master from YOURLS:master#36

Open
pull[bot] wants to merge 345 commits into
caesar-team:masterfrom
YOURLS:master
Open

[pull] master from YOURLS:master#36
pull[bot] wants to merge 345 commits into
caesar-team:masterfrom
YOURLS:master

Conversation

@pull

@pull pull Bot commented Feb 9, 2022

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label Feb 9, 2022
@pull pull Bot added the merge-conflict Resolve conflicts manually label Feb 16, 2022
LeoColomb and others added 28 commits February 5, 2023 01:00
Co-authored-by: ozh <ozh@users.noreply.github.com>
* wrapped $user in preg_quote function
* updated auth test for special character in username

Co-authored-by: Léo Colombaro <git@colombaro.fr>
Co-authored-by: ྅༻ Ǭɀħ ༄༆ཉ <ozh@ozh.org>
- updated calls to functions
- deprecate function yourls_activate_plugin_sandbox()
- add unit tests
- log loaded files
- tweak yourls_debug_log to allow early uses

Co-authored-by: e-ht <1045813+e-ht@users.noreply.github>
Co-authored-by: eht <1045813+e-ht@users.noreply.github.com>
Co-authored-by: ྅༻ Ǭɀħ ༄༆ཉ <ozh@ozh.org>

Closes #3321
…3485)

Pass id to yourls_table_edit_row() so the correct line in the table is updated.
Fixes #3485 

Co-authored-by: ྅༻ Ǭɀħ ༄༆ཉ <ozh@ozh.org>
Co-authored-by: ozh <ozh@users.noreply.github.com>
Co-authored-by: ozh <ozh@users.noreply.github.com>
Fixes #3523

Co-authored-by: ྅༻ Ǭɀħ ༄༆ཉ <ozh@ozh.org>
[skip ci]
[skip ci]
Co-authored-by: ozh <ozh@users.noreply.github.com>
Co-authored-by: ozh <ozh@users.noreply.github.com>
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](shivammathur/setup-php@2.24.0...2.25.0)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](shivammathur/setup-php@2.25.0...2.25.1)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.25.1 to 2.25.2.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](shivammathur/setup-php@2.25.1...2.25.2)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ozh <ozh@users.noreply.github.com>
Co-authored-by: ozh <ozh@users.noreply.github.com>
Check if `click_limit` is empty
yourls-bot Bot and others added 30 commits March 23, 2026 14:02
* Introduce fetch* wrapper
* Filter query statements
* More generic test
* Improve debug message: get real function calling the query (ie "fetchPair", not just "perform")
* Prevent notice when no URL
Text & tags left as comment to be used next time
* Fix debug log messages with correct function
* debug mode and log improvements

- yourls_get_debug_mode() gets actual debug mode, not just the CONST value
- yourls_debug_log() only logs if debug mode is true

Fixes #4041

* Don't enforce twice the error reporting
it's already taken care of in yourls_db_connect()
Also : code style

* Don't force debug after install
As a result unit tests were always running with debug mode on

* Update tests
Everything must run the same no matter the value of YOURLS_DEBUG
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.37.0 to 2.37.1.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](shivammathur/setup-php@2.37.0...2.37.1)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-version: 2.37.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
* Make tests debugging easier

* Remove displayDetailsOnPhpunitNotices because PHPUnit 10 & 11 trip up
* Prevent XSS in referrers

* Add tests for yourls_get_domain()
Empty file and not referenced anywhere
* New action to allow custom redirect logging

Closes #3990


---------

Co-authored-by: dgw <dgw@technobabbl.es>
* Implement cookie prefixes

* Add tests
Bumps the composer group with 1 update in the /tests directory: [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit).


Updates `phpunit/phpunit` from 11.5.50 to 12.5.22
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/12.5.22/ChangeLog-12.5.md)
- [Commits](sebastianbergmann/phpunit@11.5.50...12.5.22)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 12.5.22
  dependency-type: direct:production
  dependency-group: composer
...

Signed-off-by: dependabot[bot] <support@github.com>
* Update checks for min PHP & MySQL requirements

* Update unit test comment as well
* Deprecated md5 and weak algos in API sig
* Remove md5 info from tools.php
* Warn user about md5 in config.php
* Hashing password: don't force PASSWORD_BCRYPT. Instead, use PASSWORD_DEFAULT, which is bcrypt as of writing, but may evolve in future PHP releases.
* Replace `===` with `hash_equals()` where needed
* Enforce REMOTE_ADDR unless trusted proxy
* Increase API sig length. Make it filterable and customizable
* Escape HTML everywhere
* Introduce a new function to escape content except those whitelisted
* Decouple API and Cookie
* Remove those stupid "since 0.1" that make no sense
* Update all tests accordingly

Remaining md5() are kept for backward compat, and advertised as deprecated, or kept in test to ensure backward compat tests.

To be mentioned in the changelog and blog post:

API signatures and cookie values now use separate values, to ensure purpose separation. Existing sessions will be invalidated (users will need to log in again) and API signatures will be regenerated (get new value from your admin/tools.php)
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.37.1 to 2.37.2.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](shivammathur/setup-php@2.37.1...2.37.2)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-version: 2.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.