Alexei Sorokin
f5aeab39b4
[PEAR DB_DataObject] Make static methods in Cast actually static
2020-01-07 17:16:07 +03:00
Alexei Sorokin
5bc1b8695e
[DATABASE] Disable 'NULL' strings evaluation as SQL NULLs
...
Use $object->sqlValue('NULL') (identical to DataObject_Cast'ing) instead and
fix related issues like (email|sms)settings considering these NULLs as a
false positive for the E-Mail address still being set when it's been removed.
There could also be security implications to the now-disabled approach of
considering 'NULL' strings as SQL NULLs.
2019-11-02 12:21:43 +03:00
Diogo Cordeiro
c154712012
[PEAR DB_DataObject] Removed DB_DATAOBJECT_NO_OVERLOAD as we don't have support for either PHP 4 or 5
2019-11-03 00:43:21 +00:00
Alexei Sorokin
ee7f0a2016
[DATABASE] Re-introduce PostgreSQL support
2019-09-11 14:14:40 +03:00
Alexei Sorokin
62b90c29db
[DATABASE] Introduce a bool type in schema
...
PostgreSQL has a clear distinction between integers and booleans, so it makes
sense to draw a clear line.
2019-09-11 11:25:39 +03:00
tenma
2e66cbeb60
[CORE] Fix undefined offset warnings in different files
...
This problem was presentend in the following issue:
https://notabug.org/diogo/gnu-social/issues/60
AcceptHeader/util:
- Perform isset before using the required array values
2019-09-03 03:26:35 +01:00
Diogo Cordeiro
de91d28f6f
[PEAR][DB] Import some new commits
...
Patch submitted by XRevan86
[DB/pgsql.php] Change pg_exec to pg_query
Encouraged by http://php.net/manual/en/function.pg-query.php and enables
improved monitoring by New Relic (https://newrelic.com )
[DB.php] changed count to empty for php7.2
[DB/common.php] change to array cast for php72
From: https://github.com/pear/DB/
Commits: 7d0ddaff, d04a42a5 and ea9fff4a, respectively
2019-08-08 02:44:14 +01:00
Diogo Cordeiro
24d5d200b8
[EXTLIB][VALIDATE] Fix some types
2019-08-08 02:44:13 +01:00
Diogo Cordeiro
db3253e5d2
[CORE] Bump PHP requirement to PHP7.3+
2019-08-03 17:49:36 +01:00
Diogo Cordeiro
7d262ad50b
[CORE] Fixed some small issues with PEAR
2019-08-03 17:47:28 +01:00
Diogo Cordeiro
39845444cc
[DOCUMENTATION] Update description of extlib and vendor directories
2019-08-03 17:47:27 +01:00
Diogo Cordeiro
966b00617e
[CORE] Remove PEAR Command as it is not used
2019-08-03 17:47:25 +01:00
Diogo Cordeiro
b408208e4c
[FORMAT] Run php-cs-fixer in php-gettext
2019-08-03 17:47:24 +01:00
Diogo Cordeiro
2a06261f75
[CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies
...
This adds a composer.json for all dependencies that are available
2019-08-03 17:47:24 +01:00
brunoccast
5c0a3102ff
[ROUTES] Allow accept-header specification during router creation
...
Router:
- Fix calls to connect, most of them were misusing the function's params
URLMapper:
- Minor fixes
- Documentation
- Add support for accept-header specification
Plugins/*:
- Fix calls to connect
2019-08-03 17:47:16 +01:00
Diogo Cordeiro
a38f25f7cd
[PEAR] Modernize Validate code
...
Upgraded IDNA to IDNA2
Added PEAR Date
> fixed: The each function is deprecated
2019-08-03 17:31:43 +01:00
Diogo Cordeiro
5eb61c17d4
Regression introduced in daa5f87f
fixed by XRevan86
...
require_once(): Failed opening required 'Error.php' in extlib/DB/DataObject.php on line 562
2019-07-01 23:14:23 +01:00
Diogo Cordeiro
b17e0b4169
Update PEAR to v1.10.9 and patch it so it works quietly
2019-04-28 23:39:36 +01:00
Diogo Cordeiro
daa5f87fd4
Ugly patch to maintain old DB handle code working quietly
...
We have to replace this database engine with a modern one
2019-04-27 18:23:51 +01:00
Diogo Cordeiro
1d529c021a
Updated HTMLPurifier to 4.10.0
...
Source: http://htmlpurifier.org/releases/htmlpurifier-4.10.0-lite.zip
Release date: 2018-02-22
2019-04-16 01:11:54 +01:00
Diogo Cordeiro
f89c052cf8
Set default value of datetime columns to CURRENT_TIMESTAMP
...
This resolves an issue with MySQL 5.7 where the default SQL_MODE is set to disallow zero dates (i.e. '0000-00-00 00:00:00')
Fixed thanks to Francis and Normandy from postActiv.
2019-04-16 00:43:17 +01:00
Diogo Cordeiro
38f2ecefac
extlib/DB/DataObject - Fix PHP 7.3 Warning switch continue -> break
...
Also reformatted under PSR norms
2019-04-16 00:20:20 +01:00
abjectio
90e93b9656
Added base64 encoding to get RMQ to work
2017-07-28 12:42:21 +02:00
Mikael Nordfeldth
a75b1df627
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
2017-07-11 21:44:50 +02:00
Mikael Nordfeldth
05a9c11c47
Fixing HTTP_Request2_SocketWrapper so it times out
...
HTTP_Request2_SocketWrapper would never time out on an fgets() call as
discussed in issue #281 https://git.gnu.io/gnu/gnu-social/issues/281
I'm patching it here by setting the socket to non-blocking mode and
using stream_select to wait until the timeout. This patch or some
similar variant must be implemented in HTTP_Request2_SocketWrapper
to avoid the same issue for other users.
2017-07-11 12:04:09 +02:00
Mikael Nordfeldth
57e22d78e0
Patch DB before release, weird use of count()
2017-07-10 14:10:10 +02:00
Mikael Nordfeldth
a4a6a8469e
Updating HTMLPurifier to 4.9.3
...
Source: https://htmlpurifier.org/download
Release date: 2017-06-19
2017-07-10 13:46:07 +02:00
Mikael Nordfeldth
3158f9c33a
Update PEAR DB to 1.9.2
...
Source: https://pear.php.net/package/DB
Release date: 2015-11-24
2017-07-10 13:34:47 +02:00
Mikael Nordfeldth
711f220397
Updating PEAR Net_URL2 to 2.1.2
...
Source: https://pear.php.net/package/Net_URL2
Release date: 2016-04-18
2017-07-10 13:29:31 +02:00
Mikael Nordfeldth
a223273544
Update PEAR DB_DataObject to 1.11.5
...
Source: https://pear.php.net/package/DB_DataObject
Release date: 2015-11-10
2017-07-10 13:25:04 +02:00
Mikael Nordfeldth
61876ed232
PEAR Net_SMTP updated to 1.8.0
...
Source: https://pear.php.net/package/Net_SMTP
Release date: 2017-04-06
2017-07-10 12:53:13 +02:00
Mikael Nordfeldth
f025671b8a
PEAR Net_Socket updated to 1.2.2
...
Source: https://pear.php.net/package/Net_Socket
Release date: 2017-04-13
2017-07-09 23:09:03 +02:00
Mikael Nordfeldth
08b4b73c67
Updating HTTP_Request2 to 2.3.0
...
Source: https://pear.php.net/package/HTTP_Request2
Release date: 2016-02-13 15:24 UTC
2017-07-09 22:17:52 +02:00
Sandro Santilli
aac6a21c4e
Fix OpenID discovery in pages using uppercase <HEAD> tag
...
Closes #60
Equivalent change was proposed upstream:
https://github.com/openid/php-openid/pull/134
2017-04-08 09:13:59 +02:00
Mikael Nordfeldth
da365be5a2
ParagonIE\ConstantTime required PHP7, going to v1.x branch
2016-06-24 14:49:52 +02:00
Mikael Nordfeldth
47aabf4fda
Let's just put the namespaced phpseclib in extlib instead of plugins/OStatus/extlib
2016-06-18 00:00:32 +02:00
Mikael Nordfeldth
d4216d09c6
extlib required by phpseclib (ParagonIE/ConstantTime)
2016-06-17 23:58:49 +02:00
Mikael Nordfeldth
980085a8a3
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
...
Conflicts:
plugins/Minify/extlib/minify/README.txt
plugins/Minify/extlib/minify/UPGRADING.txt
plugins/Minify/extlib/minify/min/README.txt
plugins/Minify/extlib/minify/min/builder/index.php
plugins/Minify/extlib/minify/min/lib/JSMin.php
plugins/Minify/extlib/minify/min/lib/Minify.php
plugins/Minify/extlib/minify/min/lib/Minify/CSS.php
plugins/Minify/extlib/minify/min/lib/Minify/CSS/Compressor.php
plugins/Minify/extlib/minify/min/lib/Minify/Controller/Page.php
plugins/Minify/extlib/minify/min/lib/Minify/Packer.php
plugins/Recaptcha/RecaptchaPlugin.php
2016-03-21 03:10:19 +01:00
Bob Mottram
11c57e7aee
Remove Google References
...
This removes most references to Google, with some
remaining since they may point to things which are still
relevant. References to Google Code, Google Buzz and
Google Maps have been removed
2016-03-20 13:06:58 +00:00
Mikael Nordfeldth
204a8f1fcc
PEAR Mail package updated to 1.3.0
...
1.3.0 (stable) was released on 2016-01-31
Source: https://pear.php.net/package/Mail
2016-03-05 02:54:13 +01:00
Mikael Nordfeldth
826503766e
Jean Lucas mentioned that PEAR::Net_Socket was outdated
...
Updated Net_Socket to 1.0.14 (stable) was released on 2013-05-24
https://pear.php.net/package/Net_Socket
2016-02-26 13:35:53 +01:00
Mikael Nordfeldth
1414abfe95
Jean Lucas mentioned PEAR::Net_SMTP was outdated
...
Net_SMTP updated to 1.7.1 (stable) was released on 2015-09-07
https://pear.php.net/package/Net_SMTP
2016-02-26 13:34:07 +01:00
Mikael Nordfeldth
2c83614170
HTMLPurifier caches were included accidentally
2016-02-03 14:35:26 +01:00
Mikael Nordfeldth
7e6783bb8f
Replace htmLawed with HTMLPurifier
2016-01-28 19:01:13 +01:00
Mikael Nordfeldth
d94f9031ff
Changelog deleted in php-gettext
2016-01-28 14:43:01 +01:00
Mikael Nordfeldth
10f16e4f32
php-gettext extlib updated as req !88
...
Thanks postblue
2016-01-28 14:41:25 +01:00
Mikael Nordfeldth
c459bded53
Markdown library updated to 1.6.0, merge req !90
...
Thanks postblue
2016-01-28 14:37:14 +01:00
Mikael Nordfeldth
fb15dc5080
htmLawed updated (manually merging !89 )
...
Thanks postblue
2016-01-28 14:24:03 +01:00
Mikael Nordfeldth
476197569f
sys_get_temp_dir was added in PHP 5 >= 5.2.1
...
Our requirements are higher than that, so let's just remove the workaround
2015-09-04 22:24:01 +02:00
Mikael Nordfeldth
c77bce12e5
Mf2 extlib update from https://github.com/indieweb/php-mf2/
2015-08-15 11:48:39 +02:00