]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
5 years ago[TagSub] Fix User's tags list issue
Diogo Cordeiro [Wed, 12 Jun 2019 22:44:40 +0000 (23:44 +0100)]
[TagSub] Fix User's tags list issue
Issue introduced with 6d9f390b and 9a92b58057

5 years ago[DATABASE] Revert accidental regression introduced with 9a39ebe66f
Diogo Cordeiro [Fri, 14 Jun 2019 10:59:21 +0000 (11:59 +0100)]
[DATABASE] Revert accidental regression introduced with 9a39ebe66f

5 years ago[DOCUMENTATION] Minor corrections
Diogo Cordeiro [Tue, 11 Jun 2019 23:39:50 +0000 (00:39 +0100)]
[DOCUMENTATION] Minor corrections
Add two missing contributors
Bumped patch due to changed introduced with 0583a6a904

5 years agoAllow username or email in login form
Daniel Supernault [Sun, 25 Mar 2018 04:17:05 +0000 (22:17 -0600)]
Allow username or email in login form

5 years ago[Nodeinfo][TRANSLATION] Fix languages meta-data
Diogo Cordeiro [Wed, 12 Jun 2019 01:22:55 +0000 (02:22 +0100)]
[Nodeinfo][TRANSLATION] Fix languages meta-data

5 years ago[OStatus] Wrong exception was being caught
Diogo Cordeiro [Wed, 12 Jun 2019 01:20:25 +0000 (02:20 +0100)]
[OStatus] Wrong exception was being caught

5 years ago[RELEASE] The Invicta Crusade
Diogo Cordeiro [Tue, 11 Jun 2019 17:37:10 +0000 (18:37 +0100)]
[RELEASE] The Invicta Crusade

5 years ago[OpenID] Added support for GS's Internal Session Handler
Diogo Cordeiro [Mon, 10 Jun 2019 03:11:26 +0000 (04:11 +0100)]
[OpenID] Added support for GS's Internal Session Handler

5 years ago[OpenID] s/sync/synch
Diogo Cordeiro [Mon, 10 Jun 2019 13:55:38 +0000 (14:55 +0100)]
[OpenID] s/sync/synch
This commit also fixes the translation in /plugins/OpenID/actions/finishopenidlogin.php#L203-L204 (s/Syncronize/Synchronize)
Sync is a bad technical jargon and we should use Synch instead.
Synch is already used in other parts of GNU social as seen in plugins/TwitterBridge/classes/Twitter_synch_status.php

5 years agoMerge branch 'nightly' of biodantas/gnu-social into nightly
Diogo Cordeiro [Sun, 9 Jun 2019 23:44:43 +0000 (23:44 +0000)]
Merge branch 'nightly' of biodantas/gnu-social into nightly

5 years ago[FORMATING] Ran php-cs-fixer on lib/mediafile.php, lib/imagefile.php and classes...
Miguel Dantas [Sun, 9 Jun 2019 22:26:48 +0000 (23:26 +0100)]
[FORMATING] Ran php-cs-fixer on lib/mediafile.php, lib/imagefile.php and classes/File.php

5 years ago[MEDIA] ImageFile now extends MediaFile and validates images more aggressively.
Miguel Dantas [Fri, 7 Jun 2019 13:08:27 +0000 (14:08 +0100)]
[MEDIA] ImageFile now extends MediaFile and validates images more aggressively.
Default supported files need to use consistent names. Bumped version to 1.20.0

ImageFile has been changed to extend MediaFile and rely on it to partially
validate files. This validation has been extended to not rely solely on
Fileinfo, as it is disabled on some places. Now it'll try to use the shell
command `file`, if Fileinfo isn't available.

ImageFile now converts every new upload to PNG, except JPEG and GIF, which
are kept, but still resized (to the same size), to remove possible scripts
embedded therein.

MediaFile::fromUpload will return an ImageFile if the uploaded file is an image
or a MediaFile otherwise.

MediaFile can be constructed with an id with value -1 to denote a temporary
object, which is not added to the DB. This is useful to create a temporary
object for representing images, so it can be used to rescale them.

The supported attachment array needs to be populated with the result of calling
`image_type_to_extension` for the appropriate image type, in the case of images.
This is important so all parts of the code see the same extension for each image
type (jpg vs jpeg).

Added documentation to classes/File.php and to lib/MediaFile and lib/ImageFile

5 years agoMerge branch 'nightly' of tenma/gnu-social into nightly
Diogo Cordeiro [Sun, 9 Jun 2019 17:16:01 +0000 (17:16 +0000)]
Merge branch 'nightly' of tenma/gnu-social into nightly

5 years ago[THEME] Fix OpenID settings styles
brunoccast [Sun, 9 Jun 2019 17:01:55 +0000 (18:01 +0100)]
[THEME] Fix OpenID settings styles
- Action buttons are now side-by-side
- Dropped unused style rule concerning the solo-positioning of the Remove button
- Bump GS patch version

5 years agoMerge branch 'openid-settings-sync' of tenma/gnu-social into nightly
Diogo Cordeiro [Sun, 9 Jun 2019 16:05:12 +0000 (16:05 +0000)]
Merge branch 'openid-settings-sync' of tenma/gnu-social into nightly

5 years ago[OpenID] Added synchronization button and corresponding action
brunoccast [Wed, 5 Jun 2019 00:44:20 +0000 (01:44 +0100)]
[OpenID] Added synchronization button and corresponding action

UI:
- "Delete" area is now "Actions" area
- Updated themes to better reflect the changes

Routes:
- index.php?action=finishsyncopenid => finishsyncopenid

Translations:
- Updated OpenID translation files
- Updated OpenID POT file

Versioning:
- Bump OpenID minor version
- Bump GS patch version

Why would have labeling the Synchronize button of Sync been of bad taste? - answered by XRevan86:

In "synchronise" "ch" is a digraph meaning /k/ (actually /x/ turned into /k/ in English but whatever).
So… not separate letters.
It's like "ph" in "alphabet", or "sh" in "sheep", or "ch" in "chop" -- "ch" can mean a whole variety of sounds.

5 years ago[THEME] Fix styles identation
brunoccast [Fri, 7 Jun 2019 17:57:50 +0000 (18:57 +0100)]
[THEME] Fix styles identation

5 years ago[OpenID] Add sync confirmation in both OpenID settings and login connection
brunoccast [Tue, 4 Jun 2019 15:55:49 +0000 (16:55 +0100)]
[OpenID] Add sync confirmation in both OpenID settings and login connection

5 years agoMerge branch 'fix-plugins-copyright' of tenma/gnu-social into nightly
Diogo Cordeiro [Sun, 9 Jun 2019 15:35:20 +0000 (15:35 +0000)]
Merge branch 'fix-plugins-copyright' of tenma/gnu-social into nightly

5 years ago[TRANSLATION] Update Plugin POs
brunoccast [Sun, 9 Jun 2019 02:56:32 +0000 (03:56 +0100)]
[TRANSLATION] Update Plugin POs

5 years ago[TRANSLATION] Update POTs and normalize files
Diogo Cordeiro [Sat, 8 Jun 2019 17:34:12 +0000 (18:34 +0100)]
[TRANSLATION] Update POTs and normalize files

5 years agoAdded Spanish, Polish and Esperanto translations to NodeInfo plugin
Miguel Dantas [Sat, 8 Jun 2019 15:51:02 +0000 (16:51 +0100)]
Added Spanish, Polish and Esperanto translations to NodeInfo plugin

5 years ago[TRANSLATION] Update license and copyright notice in translation files
brunoccast [Sat, 8 Jun 2019 13:48:37 +0000 (14:48 +0100)]
[TRANSLATION] Update license and copyright notice in translation files

5 years ago[SESSION] Add backwards compatibility for third party plugins depending on old Sessio...
Diogo Cordeiro [Fri, 7 Jun 2019 21:04:02 +0000 (22:04 +0100)]
[SESSION] Add backwards compatibility for third party plugins depending on old Session::cleanup()
Namely Qvitter

5 years ago[DOCUMENTATION] README.md should mention about the importance of running upgrade...
Diogo Cordeiro [Fri, 7 Jun 2019 15:41:44 +0000 (16:41 +0100)]
[DOCUMENTATION] README.md should mention about the importance of running upgrade.php script

5 years ago[NGINX conf] Move /var/run to /run
Diogo Cordeiro [Wed, 5 Jun 2019 21:59:54 +0000 (22:59 +0100)]
[NGINX conf] Move /var/run to /run
As seen in https://lists.fedoraproject.org/pipermail/devel/2011-March/150031.html
Thanks to XRevan86 for reporting this :)

5 years ago[Nodeinfo][DATABASE][Usage_stats] Fix wrong type for modified column
Diogo Cordeiro [Wed, 5 Jun 2019 09:04:59 +0000 (10:04 +0100)]
[Nodeinfo][DATABASE][Usage_stats] Fix wrong type for modified column

5 years ago[DATABASE][User_openid_prefs] Fix wrong type for modified column
Diogo Cordeiro [Wed, 5 Jun 2019 09:00:09 +0000 (10:00 +0100)]
[DATABASE][User_openid_prefs] Fix wrong type for modified column
Patch submited by Sorokin Alexei (XRevan86)

5 years agoPSR2-format
brunoccast [Tue, 4 Jun 2019 17:56:20 +0000 (18:56 +0100)]
PSR2-format

5 years agoCleanup and documentation of common_ensure_session
brunoccast [Tue, 4 Jun 2019 00:02:46 +0000 (01:02 +0100)]
Cleanup and documentation of common_ensure_session
- Remove redundant branch
- Remove error suppression of session_start()

5 years agoEmailRegistration plugin flow requires a confirmation address before user creation
Diogo Cordeiro [Mon, 3 Jun 2019 14:52:36 +0000 (15:52 +0100)]
EmailRegistration plugin flow requires a confirmation address before user creation

5 years agoNodeinfo has a special rule for upgrades
Diogo Cordeiro [Mon, 3 Jun 2019 01:39:39 +0000 (02:39 +0100)]
Nodeinfo has a special rule for upgrades

5 years agoUpdate /main/version information
Diogo Cordeiro [Mon, 3 Jun 2019 01:20:13 +0000 (02:20 +0100)]
Update /main/version information

5 years ago[VersionBump] 1.19.0, fairly late
Diogo Cordeiro [Mon, 3 Jun 2019 00:56:52 +0000 (01:56 +0100)]
[VersionBump] 1.19.0, fairly late
The core plugins whose version was attached to GS's were reseted to 2.0.0.

2.0.0 was chosen as reset version for plugins because it is higher than
  the one that was set by inheriting GS version. Furthermore, it's a
  major change from prior plugin versioning system thus it also makes
  semantic sense.

Justification for version bump:

== GS ==
9a4ab31f26 1.19.0
c13b935201 1.18.3
c13b935201 1.18.2
18fc39d2cf 1.18.1
c083a8bcc2 1.18.0
e8783d46d0 1.17.1
d9a42550ff 1.17.0
1536d3ef29 1.16.0
c03ed457a6 1.15.0
d2e6519bad 1.14.2
fe411e8138 1.14.1
b17e0b4169 1.14.0
daa5f87fd4 1.13.0
d75b5d2f4a 1.11.7
f6dbf66983 1.11.6
6cf674f8f8 1.11.5
7845a09b34 1.11.4
e4d432295d 1.11.3
339204f1ee 1.11.2
a4e679a118 1.11.1
7967db6ff5 1.11.0
bc030da320 1.10.1
9cc7df51d6 1.10.0
bf7f17474d 1.9.2
8a07edec5f 1.9.1
0042971d74 1.9.0
6b5450b7e6 1.8.0
5dcc98d1c6 1.7.0
e6667db0cd 1.6.0
3290227b50 1.5.0
a59c439b46 1.4.0
496ab8c920 1.3.10
986030060b 1.3.9
1d529c021a 1.3.8
f89c052cf8 1.3.7
38f2ecefac 1.3.6
e473937cb9 1.3.5
9a39ebe66f 1.3.4
ddc3cecfc0 1.3.3
2b43d484eb 1.3.2
e8e487187e 1.3.1

== Plugins ==
XMPP plugin
e0887220b0 bump patch
e186ad57d0 bump patch

OStatus
e186ad57d0 bump patch

Nodeinfo
ceae66a30f bump minor
586fb5a517 bump major
195296846e bump minor

5 years ago[DOCUMENTATION] EVENTS.txt: Add Nodeinfo plugin event
Diogo Cordeiro [Sun, 2 Jun 2019 20:00:50 +0000 (21:00 +0100)]
[DOCUMENTATION] EVENTS.txt: Add Nodeinfo plugin event

5 years agoExtend Action with redirect after login logic, update some actions to use it
brunoccast [Sun, 2 Jun 2019 12:55:12 +0000 (13:55 +0100)]
Extend Action with redirect after login logic, update some actions to use it

5 years agoPSR2-format
brunoccast [Sun, 2 Jun 2019 12:46:39 +0000 (13:46 +0100)]
PSR2-format

5 years ago[DOCUMENTATION] Add CONTRIBUTING information for developers
Diogo Cordeiro [Sun, 2 Jun 2019 19:36:47 +0000 (20:36 +0100)]
[DOCUMENTATION] Add CONTRIBUTING information for developers
Inspired both from GNU FM, postActiv and Moodle

5 years ago[DOCUMENTATION] Update README.md
Diogo Cordeiro [Sun, 2 Jun 2019 17:09:38 +0000 (18:09 +0100)]
[DOCUMENTATION] Update README.md

5 years ago[DOCUMENTATION] Move CREDITS to its own file and update list from postActiv
Diogo Cordeiro [Sun, 2 Jun 2019 16:13:27 +0000 (17:13 +0100)]
[DOCUMENTATION] Move CREDITS to its own file and update list from postActiv

5 years ago[DOCUMENTATION] Convert INSTALL to markdown and update the requirements
Diogo Cordeiro [Sun, 2 Jun 2019 15:34:24 +0000 (16:34 +0100)]
[DOCUMENTATION] Convert INSTALL to markdown and update the requirements

5 years ago[DOCUMENTATION] Convert Configure to markdown, format and improve it by maiyannah...
Diogo Cordeiro [Sun, 2 Jun 2019 13:04:12 +0000 (14:04 +0100)]
[DOCUMENTATION] Convert Configure to markdown, format and improve it by maiyannah and Normandy

5 years ago[DOCUMENTATION] Reorganize documentation
Diogo Cordeiro [Sun, 2 Jun 2019 11:59:37 +0000 (12:59 +0100)]
[DOCUMENTATION] Reorganize documentation

5 years ago[NGINX conf] Stop serving files as indexAphp, index:php
Diogo Cordeiro [Sun, 2 Jun 2019 11:08:04 +0000 (12:08 +0100)]
[NGINX conf] Stop serving files as indexAphp, index:php
Removed some boilerplate and overly specific configuration

5 years ago[NGINX conf] Fix PHP files being served as files.
Diogo Cordeiro [Wed, 29 May 2019 12:14:11 +0000 (13:14 +0100)]
[NGINX conf] Fix PHP files being served as files.

5 years ago[SESSION] Log messages were a bit confusing
Diogo Cordeiro [Wed, 22 May 2019 22:39:34 +0000 (23:39 +0100)]
[SESSION] Log messages were a bit confusing
Reported by XRevan86

5 years agoMerge branch 'master' of postblue/gnu-social into master
Diogo Cordeiro [Sun, 26 May 2019 19:12:29 +0000 (19:12 +0000)]
Merge branch 'master' of postblue/gnu-social into master

5 years agoChanging URI to community plugins page
Guillaume Hayot [Sun, 26 May 2019 18:40:36 +0000 (20:40 +0200)]
Changing URI to community plugins page

5 years agoRemoving community plugins
Guillaume Hayot [Sun, 26 May 2019 18:34:47 +0000 (20:34 +0200)]
Removing community plugins

5 years agoFix noticesearch tag regex
Diogo Cordeiro [Thu, 16 May 2019 23:32:00 +0000 (00:32 +0100)]
Fix noticesearch tag regex

5 years ago[SESSION] Implement SessionHandlerInterface instead of setting custom handlers by...
Diogo Cordeiro [Tue, 14 May 2019 21:57:45 +0000 (22:57 +0100)]
[SESSION] Implement SessionHandlerInterface instead of setting custom handlers by XRevan86

5 years ago[SESSION] Increase type strictness for full PHP adherence
Diogo Cordeiro [Sat, 11 May 2019 20:20:09 +0000 (21:20 +0100)]
[SESSION] Increase type strictness for full PHP adherence
Documented this file (adapted from maiyannah's postActiv doc)
This commit also fixes PHP Warning:  session_write_close(): Session callback expects true/false return value in classes/Session.php on line 289 (spoted by XRevan86)
Observation: In a newer release we will be replacing this kind of castings with actual explicit PHP7 return types

5 years agois_rtl should handle lang instead of code
Diogo Cordeiro [Tue, 14 May 2019 14:51:42 +0000 (15:51 +0100)]
is_rtl should handle lang instead of code

5 years ago[Nodeinfo] Fix twitterimport enabled check
Diogo Cordeiro [Sat, 11 May 2019 19:52:02 +0000 (20:52 +0100)]
[Nodeinfo] Fix twitterimport enabled check

5 years agoImproved version of nginx sample config by XRevan86
Diogo Cordeiro [Sat, 11 May 2019 19:04:18 +0000 (20:04 +0100)]
Improved version of nginx sample config by XRevan86

5 years ago[XML/HTML Outputter] General improvements and refactoring as well as some bug fixes
Diogo Cordeiro [Mon, 6 May 2019 22:58:45 +0000 (23:58 +0100)]
[XML/HTML Outputter] General improvements and refactoring as well as some bug fixes

5 years agoFix broken user activitystreams feed due to deleted notices
Diogo Cordeiro [Mon, 6 May 2019 03:01:07 +0000 (04:01 +0100)]
Fix broken user activitystreams feed due to deleted notices

5 years agolib/ping.php - Fix PHP 7.3 Warning switch continue -> break
Diogo Cordeiro [Sun, 5 May 2019 13:03:55 +0000 (14:03 +0100)]
lib/ping.php - Fix PHP 7.3 Warning switch continue -> break

5 years ago[Nodeinfo] Correct HELP info on fix_stats.php
Diogo Cordeiro [Sat, 4 May 2019 21:51:30 +0000 (22:51 +0100)]
[Nodeinfo] Correct HELP info on fix_stats.php

5 years agoFix some typos/small obvious bugs on twitterRssGroupArray
Diogo Cordeiro [Fri, 3 May 2019 16:09:23 +0000 (17:09 +0100)]
Fix some typos/small obvious bugs on twitterRssGroupArray

5 years agoMerge branch 'ATOM-priority" from Alexandre Alapetite into HEAD
Diogo Cordeiro [Fri, 3 May 2019 12:26:06 +0000 (13:26 +0100)]
Merge branch 'ATOM-priority" from Alexandre Alapetite into HEAD
source: https://git.gnu.io/gnu/gnu-social/merge_requests/174

5 years agoUpdate PEAR to v1.10.9 and patch it so it works quietly
Diogo Cordeiro [Sun, 28 Apr 2019 22:39:36 +0000 (23:39 +0100)]
Update PEAR to v1.10.9 and patch it so it works quietly

5 years agoUgly patch to maintain old DB handle code working quietly
Diogo Cordeiro [Sat, 27 Apr 2019 17:21:14 +0000 (18:21 +0100)]
Ugly patch to maintain old DB handle code working quietly
We have to replace this database engine with a modern one

5 years agoMake group edit and logo great again by XRevan86
Diogo Cordeiro [Sat, 27 Apr 2019 16:39:42 +0000 (17:39 +0100)]
Make group edit and logo great again by XRevan86

5 years agoUndefined user in passwordsettings by XRevan86
Diogo Cordeiro [Sat, 27 Apr 2019 14:15:11 +0000 (15:15 +0100)]
Undefined user in passwordsettings by XRevan86

5 years agoSome minor refactoring on session handler
Diogo Cordeiro [Fri, 26 Apr 2019 23:28:05 +0000 (00:28 +0100)]
Some minor refactoring on session handler

5 years agoRSVP asHTML throws a pretty exception that should go out of the div, by XRevan86
Diogo Cordeiro [Fri, 26 Apr 2019 22:08:16 +0000 (23:08 +0100)]
RSVP asHTML throws a pretty exception that should go out of the div, by XRevan86

5 years agoOnly variables should be assigned by reference
Diogo Cordeiro [Fri, 26 Apr 2019 22:03:31 +0000 (23:03 +0100)]
Only variables should be assigned by reference
caught by XRevan86

5 years agoFix negative one subscriptions by XRevan86
Diogo Cordeiro [Fri, 26 Apr 2019 00:10:50 +0000 (01:10 +0100)]
Fix negative one subscriptions by XRevan86
Only local users are subscribed to themselves.

5 years agoAdd Registration form hook points by XRevan86
Diogo Cordeiro [Thu, 25 Apr 2019 23:59:38 +0000 (00:59 +0100)]
Add Registration form hook points by XRevan86

5 years agoAdd russian translation to NodeInfo plugin by XRevan86
Diogo Cordeiro [Thu, 25 Apr 2019 23:43:58 +0000 (00:43 +0100)]
Add russian translation to NodeInfo plugin by XRevan86

5 years agoVarious obvious bug fixes and better PHP 7 support
Diogo Cordeiro [Thu, 25 Apr 2019 23:34:17 +0000 (00:34 +0100)]
Various obvious bug fixes and better PHP 7 support
Many of these came from a XRevan86 patch

5 years agoFix wrong path on Realtime cleanupchannels script by XRevan86
Diogo Cordeiro [Thu, 25 Apr 2019 21:32:30 +0000 (22:32 +0100)]
Fix wrong path on Realtime cleanupchannels script by XRevan86

5 years agoFix undefined variables on Favorite plugin by XRevan86
Diogo Cordeiro [Thu, 25 Apr 2019 21:31:03 +0000 (22:31 +0100)]
Fix undefined variables on Favorite plugin by XRevan86

5 years agoSome obvious bug fixes for i18n
Diogo Cordeiro [Thu, 25 Apr 2019 21:21:15 +0000 (22:21 +0100)]
Some obvious bug fixes for i18n

5 years agoWhen an attachment fails to load, it shouldn't destroy the whole layout by XRevan86
Diogo Cordeiro [Thu, 25 Apr 2019 19:46:31 +0000 (20:46 +0100)]
When an attachment fails to load, it shouldn't destroy the whole layout by XRevan86

5 years agoFix fulltext search by XRevan86
Diogo Cordeiro [Thu, 25 Apr 2019 18:07:54 +0000 (19:07 +0100)]
Fix fulltext search by XRevan86

5 years agoFix bug in 36a55d84.
Diogo Cordeiro [Thu, 25 Apr 2019 17:51:44 +0000 (18:51 +0100)]
Fix bug in 36a55d84.
We still have to further review and improve the caching of streams.
Important related changes: 2272cc24#diff-8633314d55a2834ab2ea425d7157bec14aca672L60
Important related discussion: https://github.com/chimo/gs-rediscache/issues/{1,2}

5 years agoFaster inboxnoticestream.php by XRevan86.
Diogo Cordeiro [Thu, 25 Apr 2019 02:15:26 +0000 (03:15 +0100)]
Faster inboxnoticestream.php by XRevan86.
This commit consequently reverts 5dcc98d1c6 and a59c439b46. This translated the php based version into a faster SQL query.

5 years agoinboxnoticestream.php gotta go fast
Diogo Cordeiro [Tue, 23 Apr 2019 22:10:43 +0000 (23:10 +0100)]
inboxnoticestream.php gotta go fast

5 years agoStoreRemoteMedia - removeRemoteMedia script - Add missing newline in bad limit error
Diogo Cordeiro [Tue, 23 Apr 2019 21:11:29 +0000 (22:11 +0100)]
StoreRemoteMedia - removeRemoteMedia script - Add missing newline in bad limit error

5 years agoFaster NodeInfo stats
Diogo Cordeiro [Mon, 22 Apr 2019 16:22:17 +0000 (17:22 +0100)]
Faster NodeInfo stats

5 years agoOStatus and XMPP plugins now inform Nodeinfo plugins about their activity
Diogo Cordeiro [Mon, 22 Apr 2019 06:27:50 +0000 (07:27 +0100)]
OStatus and XMPP plugins now inform Nodeinfo plugins about their activity

5 years agoAdd chimo's Nodeinfo plugin as a default GNU social plugin
Diogo Cordeiro [Mon, 22 Apr 2019 05:48:51 +0000 (06:48 +0100)]
Add chimo's Nodeinfo plugin as a default GNU social plugin

5 years agoXmppPlugin - Fix preg_match() - Compilation failed
Diogo Cordeiro [Sun, 21 Apr 2019 00:24:57 +0000 (01:24 +0100)]
XmppPlugin - Fix preg_match() - Compilation failed
Disallowed Unicodecode point (>= 0xd800 && <= 0xdfff)

5 years agoModern version of XMPPHP extlib
Diogo Cordeiro [Sun, 21 Apr 2019 00:23:50 +0000 (01:23 +0100)]
Modern version of XMPPHP extlib
Original XMPPHP is no longer maintained
Therefore I've done some optimizations and imported some commits from birkner and zorn-v forks.
None of the forks really looked ready to be adopted...

5 years agoFaster inboxnoticestream.php by XRevan86
Diogo Cordeiro [Sat, 20 Apr 2019 23:56:56 +0000 (00:56 +0100)]
Faster inboxnoticestream.php by XRevan86

5 years agoOStatus plugin - Merge some bug fixes by XRevan86
Diogo Cordeiro [Sat, 20 Apr 2019 22:27:46 +0000 (23:27 +0100)]
OStatus plugin - Merge some bug fixes by XRevan86

5 years agoRemove from .gitignore stuff that should clearly go to developer's global gitignore...
Diogo Cordeiro [Sat, 20 Apr 2019 00:50:02 +0000 (01:50 +0100)]
Remove from .gitignore stuff that should clearly go to developer's global gitignore instead

5 years agoFix typo on 986030060b84
Diogo Cordeiro [Fri, 19 Apr 2019 20:16:42 +0000 (21:16 +0100)]
Fix typo on 986030060b84

5 years agoUser_im_prefs - Fix wrong schemaDef
Diogo Cordeiro [Fri, 19 Apr 2019 19:54:24 +0000 (20:54 +0100)]
User_im_prefs - Fix wrong schemaDef

5 years agoXMPPHP - Fix string as array usage errors on PHP 7
Diogo Cordeiro [Fri, 19 Apr 2019 14:25:01 +0000 (15:25 +0100)]
XMPPHP - Fix string as array usage errors on PHP 7

5 years ago[StoreRemoteMedia] script removeRemoteMedia.php was trying to remove already removed...
Diogo Cordeiro [Thu, 18 Apr 2019 00:03:09 +0000 (01:03 +0100)]
[StoreRemoteMedia] script removeRemoteMedia.php was trying to remove already removed files
Sometimes different posts are associated with the same file, that case wasn't considered
Thanks to XRevan86 for spotting this issue.

5 years ago[StoreRemoteMedia] script removeRemoteMedia.php was deleting every file posted withou...
Diogo Cordeiro [Wed, 17 Apr 2019 01:00:12 +0000 (02:00 +0100)]
[StoreRemoteMedia] script removeRemoteMedia.php was deleting every file posted without being via web interface
Added two more options: delete image-only attachments; delete previews (like oembed thumbs)
Some further minor improvements.
Thanks to colegota for spotting this issue.

5 years agoUpdated HTMLPurifier to 4.10.0
Diogo Cordeiro [Tue, 16 Apr 2019 00:11:54 +0000 (01:11 +0100)]
Updated HTMLPurifier to 4.10.0
Source: http://htmlpurifier.org/releases/htmlpurifier-4.10.0-lite.zip
Release date: 2018-02-22

5 years agoSet default value of datetime columns to CURRENT_TIMESTAMP
Diogo Cordeiro [Mon, 15 Apr 2019 23:43:17 +0000 (00:43 +0100)]
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.

5 years agoextlib/DB/DataObject - Fix PHP 7.3 Warning switch continue -> break
Diogo Cordeiro [Mon, 15 Apr 2019 23:20:20 +0000 (00:20 +0100)]
extlib/DB/DataObject - Fix PHP 7.3 Warning switch continue -> break
Also reformatted under PSR norms

5 years agoUpdate master GS version
Diogo Cordeiro [Fri, 14 Sep 2018 21:42:51 +0000 (22:42 +0100)]
Update master GS version

5 years agoGive priority to ATOM to expose WebSub.
Alexandre Alapetite [Tue, 20 Nov 2018 22:39:23 +0000 (22:39 +0000)]
Give priority to ATOM to expose WebSub.

Hello,
The ATOM feed contains the hub declaration for WebSub / PubSubHubbub, but the RSS / RDF / JSON versions do not.
Currently, the ATOM version is declared last.
RSS/ATOM clients typically pick whichever version comes first, and will thus not see the WebSub feature.
I therefore suggest putting the ATOM version first, as it is more feature-rich than the other versions.

Clients not compatible with ATOM would not pick it anyway due to the different type attribute.

See same PR for Mastodon: https://github.com/tootsuite/mastodon/pull/9302
and WebSub tester https://websub.rocks/publisher

5 years agoMerge branch 'issue-326' into 'master'
Diogo Cordeiro [Fri, 14 Sep 2018 21:33:54 +0000 (21:33 +0000)]
Merge branch 'issue-326' into 'master'

Script for removing remote files until a given date

See merge request diogo/gnu-social!5