Commit graph

247 commits

Author SHA1 Message Date
samrzhevsky 8fabc57f04
Fix page count calculation 2024-07-27 23:39:38 +03:00
SrS2225a 76eecb298b added support for kde intergration 2023-12-17 13:44:29 -08:00
samrzhevsky e7a0a99fe6
LDAP fixes
1. Changed `ldap_connect` error handling. `ldap_error` expects `LDAP\Connection`, and `ldap_connect` returns `false` if the syntax check fails
2. Fixed deprecation: passing null to parameter (`$ignore`) of type string
3. Fixed PHPDoc types for compatibility with PHP 8.1+
2023-08-28 00:31:22 +03:00
SrS2225a a11a9307ea corrected styleCI issues for sql querys 2023-08-13 23:40:06 -07:00
SrS2225a 32b8a16c40 readded missing function createVanity 2023-08-13 23:29:41 -07:00
SrS2225a c8fac0a578 Merge branch 'master' of https://github.com/SergiX44/XBackBone
# Conflicts:
#	app/Controllers/MediaController.php
2023-08-13 22:00:19 -07:00
cursey d3fde3e298
Upload: Response now includes raw_url as well 2023-05-29 21:57:55 -07:00
Johannes Zellner 4d791aad06
Make AuthController.php compatible with php8.1+
php api changed https://www.php.net/manual/en/class.ldap-result.php
2023-05-25 10:12:42 +02:00
StyleCI Bot 5e6ba5a0b3
Apply fixes from StyleCI
[ci skip] [skip ci]
2023-05-23 21:00:00 +00:00
Sergio Brighenti 7a4be04917 fix failing test 2023-05-23 22:59:55 +02:00
SrS2225a 69d6ae298e style ci fix 2023-01-17 21:39:40 -08:00
SrS2225a acaceea3f1 added fixes per request by author 2023-01-17 21:17:52 -08:00
Sergio Brighenti 46502074a0 swap implementation psr7
drop direct impl call
2023-01-16 21:03:36 +01:00
SrS2225a 58744bd092 fixed code styling issues 2022-12-30 21:44:51 -08:00
SrS2225a 4deedda3b6 bug fixes for vanity links 2022-12-19 19:42:08 -08:00
SrS2225a d823230c35 Merge branch 'master' of https://github.com/SrS2225a/XBackBone 2022-12-18 21:53:08 -08:00
SrS2225a 634956cb2d added support for vanity links 2022-12-18 21:22:15 -08:00
Sam Rzhevsky 9bddf5940b
Fix filter by tag
Fixed filter by non-existent tag
2022-11-30 21:13:58 +03:00
Sam Rzhevsky 3bb2b7b4ea
Logging fix
PHP Notice: Undefined property: stdClass::$name in app/Controllers/ExportController.php on line 28
2022-11-27 21:37:37 +03:00
FingerlessGloves 9caee0dc5b
Fixes redirect bug for reverse proxy
If you are logged out of XBackbone, and browse to `/upload` for example the direction holds the request URI, which isn't an issue unless you've got a reverse proxy in front of it.
For example, if the app is running in a container on port 8080, and Traefik is doing the reverse proxying, when you try login after being redirected to the login page, the redirectTo session contains the internal port number, which causes you to be redirected to `https://mydomain.com:8080/upload` instead of the correct `https://mydomain.com/upload`
2022-10-31 22:39:32 +00:00
Sergio Brighenti 469ed2068c fix 2022-06-20 17:36:00 +02:00
StyleCI Bot 7f4f262249
Apply fixes from StyleCI
[ci skip] [skip ci]
2022-06-19 21:21:38 +00:00
Sergio Brighenti 1979c3f318 fixed discord video embedding 2022-06-19 23:21:27 +02:00
Sergio Brighenti d21f678843 fix issue with post max size = 0
fixes #453
2022-06-19 20:20:21 +02:00
Girish Ramakrishnan 538f3d6bd8 ldap: ensure missing ldap user is auto-created 2022-06-12 08:35:22 -07:00
TheDevFreak 37b2f5a423
fix for discord UA change. 2021-10-16 17:44:57 +01:00
SergiX44 d8501f2b33 changed url building 2021-08-18 08:57:21 +02:00
Sergio Brighenti ee796c7ded Apply fixes from StyleCI
[ci skip] [skip ci]
2021-08-16 11:56:07 +00:00
SergiX44 3d248c8cb4 support for theme-park.dev 2021-08-16 13:55:47 +02:00
Sergio Brighenti f508686e20 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-08-15 19:34:00 +00:00
SergiX44 54284424ff expose configuration option for s3 2021-08-15 21:33:52 +02:00
Sergio Brighenti fbcdc8f20e Apply fixes from StyleCI
[ci skip] [skip ci]
2021-08-13 07:17:35 +00:00
SergiX44 bfbbf89d79 refactoring 2021-08-13 09:17:24 +02:00
SergiX44 bddcf34c6d Fix default theme 2021-08-12 22:30:26 +02:00
Sergio Brighenti 52883982ad Apply fixes from StyleCI
[ci skip] [skip ci]
2021-08-11 16:17:59 +00:00
SergiX44 f7d8174cb3 improved check for embeds 2021-08-10 23:52:55 +02:00
SergiX44 11e5a52519 changed copy raw mode added toggle for embed 2021-08-10 13:50:58 +02:00
SergiX44 37c0701700 improve remember cookie security 2021-08-01 12:52:32 +02:00
Sergio Brighenti 285c970933 fix 2021-07-31 13:00:38 +02:00
Sergio Brighenti dc03734a20 fix 2021-07-31 13:00:21 +02:00
Sergio Brighenti ab1409e108 add support for secure cookies 2021-07-31 12:55:56 +02:00
Sergio Brighenti 84020830ca address csrf vulnerability
improved discord embed support
2021-07-31 12:37:06 +02:00
Ben Tyger a98f65c9f6 Fixed style error 2021-05-24 09:45:20 -04:00
Ben Tyger 4660ff5317 More style fixes 2021-05-22 13:59:33 -04:00
Ben Tyger dfe73a34f1 More style fixes 2021-05-22 11:34:34 -04:00
Ben Tyger 53761bdc42 More style formatting fixes. 2021-05-22 11:01:25 -04:00
Ben Tyger d3c556234b Fixed PHPDoc type and style errors 2021-05-22 10:57:08 -04:00
Ben Tyger 54381b4958 Fixed style formatting 2021-05-22 10:54:44 -04:00
Ben Tyger 3e53b56aec Fixed double if check 2021-05-22 10:53:34 -04:00
Ben Tyger 7c915032c5 Minor bug fixes. Also added ldap_close(); 2021-05-20 15:06:42 -04:00