GNU social

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

502 ancestors of v2.0.0beta0 back to v1.20.9release

2021-07-18
11:49
[VersionBump] 2.0.0beta0 Updated composer and translations composer install --no-dev composer dump-autoload --optimize git add vendor/ --force make updatepo Leaf check-in: afefc3ca76 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5, v2.0.0beta0
2021-07-17
19:24
[API] Security hotfix for source, picked from postActive check-in: 484d6ccf00 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2021-07-16
18:44
[PEAR] Force using extlib's patched version check-in: 32ef0a7016 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][POSTMAN] Do not die on network errors check-in: 3a8a4dfc04 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] Fix some wrong calls after MessageModel introduction in d9a9a3746b check-in: 71c01cf7fe user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][INBOX] CREATE NOTE Attachments, we handle enclosures elsewhere It was trying to make enclosures with objects instead of strings, also attachments don't use this, only links check-in: 3f08e00e04 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA][MediaFile] Prevent issues with huge original filenames check-in: 8b5cd773f3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][INBOX] CREATE NOTE now accepts <br> tag check-in: cba047bfb6 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia][SCRIPTS] Fix typo in query This was introduced in 11ebb98919f56f7dcf888adfbebf9e8826f995b4#diff-96141878409d7418ea5a9eefbde509b43482c01R70 The arg number should have been one, as there's only one... check-in: a598e73da5 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Update the project homepage and IRC channel check-in: 9c41161314 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[INSTALL] Update mailing list URL, as recommended by @Gijs Closes notabug issue #327 check-in: eaa1c7c074 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia] Fix failing to show remote thumbnails on first load imgPath onCreateFileImageThumbnailSource would throw FileNotFoundException check-in: 4a67a85e54 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed] Apply encoding and increased type strictness patches from StoreRemoteMedia check-in: 47d60be4bb user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia] Gracefully recover from poorly encoded images check-in: f89b8683d9 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia] Increase type strictness check-in: 56545ced6b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed] Revert defaults and fix Readme example check-in: 48e25288fe user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia][SCRIPTS] Move removeRemoteMedia deleteRemoteMedia check-in: 8f9483aed0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA] Allow thumbnail only entries check-in: 183a639b1f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia][SCRIPTS] Update removeRemoteMedia check-in: d61524c570 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCRIPTS] Update clean_file_table check-in: f3a13b7947 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA][SCRIPTS] clean_thumbnails Allow to delete remote thumbs as well If the sysadmin decides that StoreRemoteMedia plugin should store original, then its thumbs will be regenerated as well, making it safe to delete them if needed. Beware that Embed plugin never stores the original tho. check-in: 85350b5010 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Media] Document recently added settings and add some more Fix some buggy ones, especially Embed crop check-in: 6f033a9ece user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia][Embed] Bump plugins version check-in: 3dfe8c2300 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Media] Upload of previously uploaded files now works (bug fix) This bug was introduced with the commit "[Media] Fix issues with database file storage" due to the API change "File::getByHash now returns a yield of files". I had updated this function on that commit but had missed this little detail. check-in: e19b2a3c4d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StoreRemoteMedia] Remote images are now stored exactly on the necessary size for the thumb check-in: 10c0228a00 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Media] Fix several issues [StoreRemoteMedia] Upgrade plugin to use the new Media system API Changes: - Added getters to File to better formalize the ideas of the commit "[Media] Fix issues with database file storage" UI Changes: - Now presented thumbnails are actual thumbnails (bug fix) - Attachment actions have a slightly more extended behaviour Many other minor bug fixes... check-in: e35ef44d86 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Attachment fetch should happen on StoreRemoteMedia check-in: f071dc1444 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Core] Add an event for StoreRemoteMedia and Embed check-in: 3f6aedf45b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Media] Fix issues with database file storage Fixed file quota as well. There can be more than one file for the same filehash IF the url are different. Possible states: - A file with no url and with filename is a local file. - A file with an url but no filename is a remote file that wasn't fetched, not even the thumbnail. - A file with an url and filename is a fetched remote file (maybe just a thumbnail of it). - A file with no filename nor url is a redirect. Routes: Given these states, updated routes so that an attachment can only be retrieved by id and a file by filehash. Major API changes: File::getByHash now returns a yield of files Major UI changes: - Now remote non stored files are presented. - /view became preferred - Redirects to remote originals are preferred. Many other minor bug fixes... check-in: 5764082136 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION] git clone with https so people don't need an account check-in: ef2bd58f84 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[i18n] Re-add gettext emulation Removed by mistake with 9cc7df51d6#L50 check-in: 06741de59d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Re-implement Delete Actor check-in: 1b68c1a7d9 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Added some ukr translations check-in: c3180a39c0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Fixed some ukrainian translation errors check-in: f026c69b63 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Various fixes Fix OAuth and Realtime issues introduced in 9a515b9234eeb2e500e88899fb31f64535b618cc [DATABASE] Fix an empty default value mistake introduced in fde929b151f2b286cb60d226c47570209199c9c5 [DATABASE][PostgreSQL] Avoid use of pg_constraint.consrc, which was removed in PostgreSQL 12. [DATABASE][MariaDB] Fix a typo introduced in aed2344bd4c512dae48d1a5bd2eda218f914ae11 [DAEMON] Wrap an assignment inside "switch": a follow-up to adc689cb15d611c83ebb9c5aaeaa1008ec14da28 check-in: 628e4e4a1a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[XMPP] Respond to ping and track time monotonically This also fetches a necessary update from the XMPPHP upstream. check-in: 2f1975edeb user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Clear out potential duplicates when semi-joining a union Using a left outer join as a semi-join is not a valid approach. Can still be used for an anti-semi-join. check-in: 08cd888f4b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Set the character set before making a connection Ideally the character set should be set with the connection, and so this is exactly what's being done now. And now the character set code is attempted to be generalised. check-in: 983d435af3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Change required MySQL database character set variable Changing `character_set_server` requires root permissions and rebooting the server. Which is impossible on shared web hosting services. So use `character_set_database`. This variable can be changed with user permissions using `ALTER DATABASE`. check-in: d0050f3402 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Avoid ordering just by a timestamp Try to also employ an id when possible. Involves reworking some of the indices. check-in: 7e3f1c7609 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Remove "magic quotes" code and avoid wrong order implode "Magic quotes" were removed in PHP 5.4, no need to mitigate it anymore. Avoid implode() with the join()-like order of arguments which was deprecated since PHP 7.4 and implicitly since PHP 5.3. Also avoid implode() with an implicit separator for stylistic reasons. mktime() with no arguments has been deprecated since PHP 5.1. check-in: b7ea69cc80 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UTIL] Sanitise instead of validate in common_copy_args() And remove common_validate_utf8() which is now unused. check-in: 2a028493ca user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Switch from PEAR DB to MDB2 check-in: aef9d83a60 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][INBOX][Delete] Stop if the ID is not present check-in: 2d3cf79a55 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix use of ActivityPubPlugin::pull_remote_profile It does not throw but return null. check-in: 1fa0269c42 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Fix "Implement a class for automatic temporary file handling" TemporaryFile::commit throws instead of returning a bool. check-in: d40130124a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Memcached_DataObject] Do not encache on insert This resulted in N=0 and empty "modified" in cache. check-in: ac98b6fc7e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Make sure the session always uses UTF-8 and UTC check-in: da01a4fa62 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[API] Fix /api/statuses/update reporting a failure check-in: f456303305 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Avoid use of assignments bare inside statements Either use them in a subroutine call or put parentheses around the assignment. check-in: e127f72578 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Profile] Extend the allowed length of nicknames to 191 characters check-in: 23d60b803c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Implement a class for automatic temporary file handling And adopt it all over the code. check-in: dc9b01e9e3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Memcached_DataObject] Change how multiGet achieves an ordered result The previous approach sent the key values twice, which for large sets is twice as bad. As an optional feature of this approach multiGet now allows retrieving tuples in exact order and amount of the requested key values. check-in: 62dc256f3a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] Simplify the inbox query check-in: aaaa0aef16 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Check if a Notice is public via CC as well check-in: f67eba5cb0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix note URIs check-in: 35344cd57a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Tombstones now have datetimes check-in: ea087647b3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Fix invalid index on lookup check-in: aa167dbc83 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Implement Failed Queue check-in: c1b33d952b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix DELETE check-in: fbd8f27f62 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix issues concerning Activity URIs And some other minor bugs. check-in: 89bc37c796 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Fix use of ORDER BY with DISTINCT statuses/retweets_of_me has performance fixed, so it is also stripped of its "bad query" status. check-in: 100e1e8b6d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Queue_item] Let DataObject construct WHERE IN check-in: a59ab8f9d7 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OpenID] Correct table definition types "server_url" should not be blob. Lengths are adjusted to Auth/OpenID/(PostgreSQL|MySQL)Store.php. check-in: 527cc33177 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Foreign_link] Change the type of "credentials" to blob TwitterOAuthClient::packToken uses \0 as a delimeter which can cause issues on TEXT or VARCHAR. check-in: 3f37065773 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Directory] Fix SQL string quotation check-in: c4503b29da user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Do not allow lower priority protocols to handle remote actors already handled by the higher ones check-in: 214639b674 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][Queues] Fix Like check-in: 0261c2cafc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Revert moving Disfavor to Queues It seems this kind of notice isn't queued? check-in: 7e7edceb24 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TwitterBridge][DAEMONS] Fix database connection clean-up check-in: 78a68c1526 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICES] Condition pushdown in the subquery in inboxnoticestream This improves performance on PostgreSQL. check-in: 30fc54495d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE][PostgreSQL] Ignore index prefix length check-in: aa3935086e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PostgreSQL] Set timezone to UTC And remove some redundant neighbouring cruft: utf8mb4 is already set in mysqlschema more than enough times. check-in: 8115662eb1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Rename the mysql_foreign_keys option to foreign_keys And apply it universally. check-in: d12a6f34a1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SESSION] Session ID can be as long as 128 characters check-in: 56100f2758 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICE] Store "url" as TEXT and not VARCHAR(191) check-in: db7d829c9b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Change collation handling Before now table definitions could define collations only for MariaDB using the MariaDB's collation names directly. Now instead definitions get a slightly more abstract collation name syntax, but only supporting the collations utf8mb4_bin and utf8mb4_unicode_(cs|ci) (wrapped as utf8_bin, utf8_general_(cs|ci)), because those are the ones that have practical use for GNU social. Which also means that on MariaDB the formerly used utf8mb4_general_(cs|ci) have been superseded by utf8mb4_unicode_(cs|ci), as they are the more modern replacement. Introduce collation support on PostgreSQL which results in use of the C (POSIX) collation as utf8_bin and the und-x-icu collation as utf8_general_cs. utf8_general_ci is also mapped to und-x-icu, which makes it case-sensitive, unfortunately. check-in: e42775e7c3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SEARCH][PostgreSQL] Make LIKE search case-insensitive check-in: 7a35f1c1cc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TwitterBridge] Create Foreign_user before Foreign_link To keep foreign key constraints intact. check-in: 441219202c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SEARCH][MariaDB] Change user-facing fulltext search syntax Now analogous to the simple and safe PostgreSQL's websearch_to_tsquery syntax. MariaDB's full-text boolean search queries will fail on input such as "@user" (unquoted) which is particularly noticeable to the user. check-in: a10c243afd user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SEARCH] Exclude message scope check-in: 7501bd1977 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[FFmpeg] Add FFmpeg plugin FFmpeg plugin serves as a better performant/quality alternative to resize animated GIFs than the ImageMagick plugin. check-in: cc901688bc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA] Add WebP support WebP format is now the default image format for anything that is not an animated GIF. Image Intervention doesn't support animated WebPs so we don't convert animated GIFs. ImageFile: MediaFile: default: - Add WebP support check-in: 7a99d31fac user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ImageMagick] Remove unnecessary code ImageMagickPlugin: - Remove animated thumbnail setting, we'll be able to use FFmpeg for performance - Remove onFillImageFileMetadata and onCreateFileImageThumbnailSource(), these are handled just fine by ImageFile - Bump minor version number README: - Update check-in: 56f4190f9e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[File] Fix file deletion violating foreign keys check-in: 25272714a6 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RedisCache] Connections should not be shared by daemon threads check-in: 219afde33b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Memcached] Do not set persistent connections for daemons check-in: 4749c11c82 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed] Fix a query typo in fixup_files.php Regression introduced in ec86de2bc462c7b41540b9d1c537f2777bafef48 check-in: 33dcc2bd27 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Memcached_DataObject] Thorough check of pivotGetClass arguments check-in: edf76b89e1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Bookmark] Silence a warning when no tags in BookmarkForm check-in: b0eb8fb1ab user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Bookmark] Fix undefined variable "rendered" in Activity options check-in: 0b1492683d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[EXTLIB][VALIDATE] Declare everything as static As was originally intended by the author and is expected. check-in: ea0d812d94 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RSSCloud] Avoid the deprecated in PHP each() function check-in: c921375691 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Managed_DataObject] Remove the "timestamp" type It is converted to "datetime" in lib/database/schema.php check-in: 870f384183 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RSSCloud] Update schema definition check-in: fe314a329a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Profile] Allow grantRole to work when role exists check-in: 29de549998 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RedisCache][DiskCache] Check if unserialize succeeded check-in: ca67721f0b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TwitterBridge] Check if Notice::$lat and Notice::$lon are defined check-in: 651ce1792b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE][MariaDB] Always use LONGBLOB for "blob" "blob" is practically used with the expectation of unlimited length, which is true with PostgreSQL's bytea, but not with MariaDB's BLOB, which is limited to 64KiB. So instead use LONGBLOB, which has a maximum of 4GiB, effectively unlimited. check-in: a94ac36ec8 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[COMPOSER] Add new php-ffmpeg package check-in: 14a6d8e276 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Clean Notice_prefs and Fave_tally when a notice is deleted check-in: e2d636b4b5 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE][PostgreSQL] Add fulltext search support check-in: 3a993dafe9 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Enable fulltext search by default Also rename fulltext indices to more fitting names and move the check from classes into database/schema.php check-in: 99273e8bcd user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[EmailAuthentication] Check if e-mail with filter_var check-in: 1ed4479c94 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICES] Restore FullNoticeStream But only allow a select number of verbs. This is to display optional subscription notices. check-in: 0fc0a66fbb user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RequireValidatedEmail] Only check current user posts This check made registration impossible when welcomeuser didn't have validation as well. And rename the "grandfatherCutoff" option to "exemptBefore". "Grandfathering" is a relatively obscure term linked to the history of the United States of America, so replace that with something self-descriptive. check-in: acd186d63f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Revert "[CORE] Avoid the old "reply" relation in inboxnoticestream" It is needed for mentions. check-in: 1b73a40df8 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Queue_item] There is no "modified" attribute Fixes a regression introduced in ec86de2bc462c7b41540b9d1c537f2777bafef48 check-in: b4bf458299 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Fix remaining misuses of SQL's GROUP BY check-in: 298a807573 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ExtendedProfile] Clean up of missing array indices handling check-in: 379c3d2e2a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TwitterBridge] Do not fail on missing notice check-in: 38b346473c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ACTIONS] Fix selftag check-in: 16322b1a3c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UTIL] Fix up common_ensure_session() Give priority to cookies over GET. Make sure session ids have only expected characters (PHP file session handler's limitation). Replace a mostly useless log warning with a debug message. check-in: 2ba7c5223c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[EXCEPTIONS] Inherit the Previous Exception parameter check-in: a991696347 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TwitterBridge] Fix issue "Only variables should be assigned by reference" From the docs: "The new operator returns a reference automatically, so assigning the result of new by reference is not allowed as of PHP 7.0.0" check-in: 3ab907dd60 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][NOTICE] Process attachments check-in: e49d472240 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA] fromUrl now supports using original file name check-in: 42f8ded7cf user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][NOTICE] Fix variable being wrongly reused check-in: f40c09c4e9 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][INBOX][Delete] Support Delete Actor object being a Tombstone check-in: 1601fb5789 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][NOTICE] Fix other federation protocols mention handling check-in: dde3cdad00 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][SCRIPTS] Add fix_subscriptions.php check-in: 76356820b2 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork][fix_duplicates.php] Don't die because you couldn't federate an undo follow check-in: 0a5d8e34ca user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork][fix_duplicates.php] Small improvements on queries performed check-in: 5fd7680a75 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Set HTTP status codes with http_​response_​code() check-in: fcc4c6e551 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Favorite] Fix "Properly trigger DisfavorNotice on profile deletion" Calling find() inside delete() is probably not a good idea. check-in: 1b43ea8e27 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[VersionBump] 2.0.0alpha0 Ran composer update and locale updater check-in: dee5020682 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Add Readme Improve script fix_duplicates.php's comments check-in: ced30edf3c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Add fix_duplicates script check-in: c49cde7b08 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Small rewrite to the onStartTFNLookup event check-in: ed12da46d0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MODULES] Make default loading attributes available in global config check-in: 8d64255385 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][QUEUES] Handle Create (AS1 POST) verb properly Fixes a bug introduced in e504d13120 check-in: f344a648be user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCHEMA] Better DBMS information fetching On PostgreSQL: - Parse defaults for strings and booleans properly. - Parse the "serial" definition type properly. - Get information on the "enum" definition type. - Re-work getting information about keys/indices. On MariaDB: - Get information about lengths in indices. - Get foreign key information separately from the rest as they can have colliding names. check-in: 025dc7981a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OpenID][DATABASE] Store UNIX timestamps as BIGINT check-in: 4d9235f299 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCHEMA] Fix a few mistakes check-in: 76a4a6fcb2 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[BLOCK] Increase type strictness check-in: 6b569c1199 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Add explicit indices for all foreign keys This adds a requirement for all definitions that have foreign keys to also require indices for all source (local) attributes mentioned in foreign keys. MariaDB/MySQL creates indices for source attributes automatically, so this serves as a way to get rid of those automatic indices and create clean explicit ones instead. In PostgreSQL, most of the time, indices on the source are necessary to decrease performance penalty of foreign keys (like in MariaDB), but they aren't created automatically, so this serves to remove that difference between PostgreSQL and MariaDB. check-in: 0000575f09 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Fix index identifiers and clean up redundant ones check-in: 97104b4714 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] Update ApiDirectMessageNew action - Messages are now saved as Notices check-in: 59ab92f4d0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] Update ApiDirectMessage action - getMessages() is now fetching from the Notice table as supposed - every show{format}* method is properly updated to use Notice objects - json and xml responses retrieve multi-recipients without compromising backwards compatibility check-in: 3bb3abcbf9 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] PSR12-format check-in: 9908d4ceca user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] Update inboxMessages() to stop fetching replies This is yet to be supported in the plugin. check-in: 90673d5a8d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION] Adopt PSR-12 and clarify on arrays check-in: d4cbbeac2b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger Instead of relying on the MariaDB's ON UPDATE CURRENT_TIMESTAMP trigger update "modified" attributes in Managed_DataObject. Every raw query that needs adjusting is adjusted, as they won't update "modified" automatically anymore. The main goal behind this change is to fix "modified" updates on PostgreSQL. check-in: 94d5dce0a7 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Fix more incorrect uses of quotation in SQL check-in: c73f29440d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Notice] Fix clearReplies() and clearRepeats() check-in: 652c6ef821 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SHOWSTREAM] Add "noindex" robots meta-tag for silenced profiles check-in: 65e5ebc5cc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AuthCrypt] Password storage and comparison improvements Password hashes are now stored in a TEXT attribute, not limited to 199 symbols. That limitation makes no sense as password hashes are not the kind of information to be indexed. Actually replace crypt() with password_verify() for password checking, current code left password_verify() unused. Only update passwords when they use a different algorithm from the current default. Previously "overwrite" meant rehashing every login. Replace the "argon" boolean option with "algorithm" and "algorithm_options" for better configurability. The default remains whichever is default for PHP's password_hash. check-in: 790d7b6617 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AuthCrypt] Update README and fix formatting check-in: c182c04f29 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MODULES] Make settings great again Plugin main class doesn't use this construct despite extending this class. check-in: 21962e80c1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Profile][User_group] Fix profile deletion violating foreign keys check-in: 575aa8f666 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Favorite] Properly trigger DisfavorNotice on profile deletion check-in: 77df451827 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE][MariaDB] Fix index changes with foreign keys enabled check-in: df9a893f7b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE][Schema_version] Change the hashing algorithm to SHA3-512 check-in: b3b30600ad user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Make unprefixed schema.php a bit more DBMS-neutral check-in: 05584a70fb user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][Explorer] More robust exception handler for invalid remote answers check-in: 377ddaef56 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RemoteFollow] Fix location display check-in: 2b89ae2d67 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA] Fix headers when using x-static-delivery check-in: 05def73d74 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[LRDD] Fix unhandled bad data in HostMeta, LinkHTML and WebFinger check-in: 7c0205e237 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][AProfile] Complete strict typing check-in: 726582b768 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Check SQL boolean values with "IS TRUE" This way UNKNOWN (NULL) explicitly turns to FALSE when three-valued logic is reduced to binary. In pgsqlschema, however, use "IS FALSE" as boolean attributes in pg_index are non-nullable, there is no outer join and there's no clear preference for NULL reduction. Over-complicated constructions in TagCloud queries have been simplified, which should not affect their performance. Additionally, in TagCloud's lib/subscriptionspeopleselftagcloudsection.php a typing mistake in an equi-join of "profile_tag" and "profile_list" on "tagger" was fixed. That regression was introduced in f446db8e2ae9be8ae7b8489ddffcc04c6074b6f2 check-in: 5df3fae16e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UserFlag] Fix type of onUserRightsCheck check-in: 9359650e4f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UserFlag] Increase strict typing of main file Run php-cs-fixer Correct case of class name onDeleteRelated event handlers check-in: 05ba6f697e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Increase type strictness on Explorer check-in: 8cbe56ca39 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix wrong type handling on AProfile:update_profile check-in: 42caabb818 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Bookmark] Fix misuse of XMLOutputter Argument 3 passed to htmloutputter::input() must be of the type string or null, array given, called in /srv/gnusocial/plugins/Bookmark/forms/bookmark.php on line 166 check-in: 559d548317 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ExtendedProfile] Fix misuse of XMLOutputter Argument 1 passed to xmloutputter::text() must be of the type string, null given, called in /srv/gnusocial/plugins/ExtendedProfile/lib/extendedprofilewidget.php on line 556 check-in: db1df5a8e0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICE][UI] Fix bug: Option to message "Everyone at site" when using private instance check-in: 0cb7c59a92 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION] Adapt the nginx config for avatars located in /file check-in: 08d5ec1daf user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Avoid materialisation in the TaggedProfileNoticeStream query This is analogous to c862589dcfafac57213f72dfdad5d56c896946b0 check-in: 660403d410 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICE] Update index for verbs in ProfileNoticeStream After adding a verb condition there, MariaDB now prefers the ("created", "id", "is_local") and ("profile_id", "verb", "created", "id") indices for that query, even though they are slow for the job. So replace them with ("is_local", "created", "id") and ("profile_id", "verb", "created", "id") respectively. Also fix the naming of the ("profile_id", "created", "id") index. check-in: 94cf7b5a33 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix bug introduced with 4d171b27 Too few arguments to function Activitypub_notice::create_notice() check-in: 6858fcdbb4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA] ImageFile fromUpload method wasn't ensuring uploaded file was an image check-in: cb7ff87d6d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AVATAR] Try to delete tmp avatar if something goes wrong during the process check-in: 7466f29c25 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AVATAR] Temporary ImageFile wasn't check-in: ef406057f1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[XML] Inscrease types strictness check-in: 7d428f08a1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UI] Make neo-quitter default theme check-in: cdb4a9339f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PEAR] I'm tired of this issue still popping up, this seems to silence it check-in: 4f8a96ac6a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TESTS] Fix CommandInterpreterTest Also corrected a bad refactoring that affected Xmpp plugin test check-in: e813cd485b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[FORMAT] Run php-cs-fixer on tests/ check-in: 86317308f7 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ExtendedProfile] Fix XML type bug check-in: 50cad2ed54 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TESTS] Move AcceptHeader from ActivityPub plugin to Core Delete temporary ActivityPub tests (they were to be deleted long ago) check-in: 602ad07184 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][Inbox] get_all_headers was nginx only check-in: afffe012bc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Memcached_DataObject] Check if it is possible to sort efficiently check-in: af2bb5e45a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][Inbox] With PHP 7.3 we don't need get_all_headers workaround anymore Furthermore, it was broken on Apache2 because the actual function doesn't put the resulting array's key in lowercase. check-in: 847b51f5e5 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA] Move AttachmentAction::sendFile to common_send_file This fixed the wrong content type and status code returned by the Avatar action check-in: 407a5138cf user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AVATAR] Ensure this Action stays secure check-in: 74bf10eb16 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][Inbox] Signature verification after Actor update would always fail check-in: e41fe29553 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][HTTPSignatures] Fix verify check-in: ff0692e54d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Fix MariaDB schema verification check-in: ad281369a4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCHEMA] Improve timestamp storage Avoid the use of deprecated MariaDB "zero dates" globally. If they're present as attribute defaults somewhere, they will be replaced with NULL implicitly. The existing "zero dates" in MariaDB storage will be left intact and this should not present any issues. The "timestamp" type in table definitions now corresponds to DATETIME in MariaDB with "DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP", which should be close enough to the original behaviour for compatibility purposes. It is now the recommended type for "modified" attributes, because of the update trigger on MariaDB. But there is no such trigger implemented on PostgreSQL as of this moment. check-in: 4afbddc0d4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Revert "FullNoticeStream selects all verbs" It appears this was added to display "tombstones" of deleted notices. However, it has other side-effects and the concept of keeping them visible has not been adopted by the wider fediverse. check-in: 1b5a36492a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Avoid the old "reply" relation in inboxnoticestream All verbs for not visible notices are filtered out, so this should not break the timeline. Additionally, filter by profile outside of the derived relation as that shows better performance in PostgreSQL and MariaDB both. check-in: 9509126362 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Avoid materialisation in the TagNoticeStream query The notice.created sort forced the notice_tag by notice join plain to employ materialisation, which can have a serious performance penalty depending on the size of the database. Sort by notice_tag.created instead, which should be exactly the same. check-in: a40d29f234 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][Ostatus] Fetch avatars in accordance to the new media system check-in: 38bff06645 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][NOTE] Do not extract actor from attributedTo There was no checking of attributedTo, actors and referent object IDs to make sure they exist in the same domain. Therefore, one could spoof messages from people by doing attributedTo: whoever-i-want-to-spoof check-in: c18092391b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][INBOX][Delete] Fix misconceptions References: - https://socialhub.activitypub.rocks/t/the-delete-activity-and-its-misconceptions/137 - https://socialhub.activitypub.rocks/t/the-update-activity-more-than-caching/260 check-in: c74680144e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][QUEUES] Add Like, Undo and Delete check-in: 4c1ad7e684 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][SCRIPTS] Make update profiles work with an uri check-in: c37f567b77 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Fix small logic issue regarding StartTFNLookup return check-in: ba7beca222 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICES] Fix InboxNoticeStream caching Introduce a new property in CachingNoticeStream for always checking if there are any new elements in the stream. It would be extremely hard to blow InboxNoticeStream, so instead the database hit will still occur, but it is be much faster than starting fresh. This fixes a regression introduced in 36a55d84363e69bf08da38e524f7d33063c2743a check-in: bb7b9a97c6 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICES] Revert "We want the profile stream to be as raw as possible!" There are only three possible visible notice verbs: POST, SHARE and DELETE. What including all verbs does is it makes limiting (FETCH FIRST) unreliable as the query will fetch invisible stuff (like favourites) and count it in, but nothing will be displayed. NoticeStream only allows POST and SHARE, so this effectively removes tombstones from the profile page like in 78a111b57d96721b2136b7d9e0da515f8382f224 check-in: dc9e1887ba user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Do not set "confirm_address"."user_id" to 0 by default That breaks the foreign key constraint, it is better to just have it nullable. check-in: cf39af7e7e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RedisCache] Catch string return type from Predis\Client::setex check-in: 1dc68acbf8 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Some query improvements Make common_sql_weight employ standard SQL functions for the timestamp difference in seconds. Also replace UTC_TIMESTAMP in the MariaDB-specific part with CURRENT_TIMESTAMP as it is the only occurence and GNU social sets UTC as a default timezone. In a delete_orphan_files.php script simplify the main query considerably. In clean_profiles.php stop using COUNT as if it is ANY, that is unnecessary punishment for the database. Instead implement the anti-join with a left outer join. In Autocomplete and Activitypub_profile use joins instead of a WHERE OR anti-pattern for the semi-joins. In lib/ui/galleryaction.php replace a CROSS JOIN with an INNER JOIN. In actions/sup.php remove a redundant subquery: WHERE is applied before grouping either way. check-in: bb72d88266 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE][DATABASE] Another approach to semi-join in the inboxnoticestream query Compared to the solution with INNER JOIN this seems to have better performance as there is no need to deduplicate the subquery result before use. check-in: 9246a0ab51 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Replace NOW() with CURRENT_TIMESTAMP check-in: db2d0d1364 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Use "<>" as an SQL non-equality sign in more cases A follow-up to commit 644b417f6cb16ebe1777f8aa1091c7cde7e4a015 check-in: 8c7c9d811c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Start transactions with START TRANSACTION "BEGIN" is non-standard and unnecessary. check-in: 9e342ca1db user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Autocomplete] Fix postgres incompatible query in AutocompleteAction check-in: bebf56b292 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCRIPTS] Fix postgres incompatible query in clean_profiles.php check-in: 88591ead31 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix Postgres incompatible query in Following and Followed collection check-in: c9ecade5a6 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[THEME][neo-quitter] Added icon for Network in navbar check-in: 97d3e2f79c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[FIX] Fix 'Trying to access array offset on value of type null' in AntiBrutePlugin and SimpleCaptchaPlugin when using scripts check-in: eaee20d985 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OStatus] Remove TFN's deprecated Census event and fix small typo in the code check-in: 64b4711ad4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Remove TFN's deprecated Census event check-in: dea9f6af3d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Use config + module settings for initialization and online lookup The Census event is now replaced with module settings for populating the protocols array. With this we can shutdown some plugins and still make them be checked by TFN. The performance:high config is now added when deciding whether or not to do online lookup after the offline lookup fails. default: - Add default values for the TFN protocol setting EVENTS: - Remove Cencus event TheFreeNetworkModule - Remove Census event handler, update protocols array to use module's settings - Use performance:high config when deciding to do online lookup check-in: 3c75a26916 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OStatus] Add TheFreeNetwork module's support in handling profile insertion Ostatus_profile: - Update createActivityObjectProfile to trigger TFN's assistance in inserting the profile check-in: 576e136974 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Add TheFreeNetwork module's support in handling profile insertion Activitypub_profile: - Update do_insert to trigger TFN's assistance in inserting the profile explorer: - Use the new LRDD's method for grabbing profile aliases check-in: 29e1af5873 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] Handle new StartTFNLookup and EndTFNLookup events EVENTS: - describe new events TheFreeNetworkModule: - add event handlers and necessary auxiliary methods - minor comment updates check-in: 4c6df7a9fd user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OStatus] Update salmonaction to use the new LRDD's method for grabbing aliases check-in: 3ec9aeb502 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[LRDD] Add a new method for grabing profile aliases check-in: f571f4084b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Autofix profile URIs through alias discovering Activitypub_profile: - Add updateUri method explorer: - Add grab_aliases method - Update grab_local_user's online course to grab and test aliases check-in: a1b005c743 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UI] Fix group member pages showing up twice check-in: 68270b312a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UI] Order groups in join descending order in profiles check-in: 2ddea94d54 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Fix 'Array and string offset access syntax with curly braces is deprecated' in AuthCryptModule and DirectionDetectorPlugin check-in: 27dadae096 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Nodeinfo] Count active users for full days and without silenced check-in: 33335dd20a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Re-format the inboxnoticestream query check-in: 4da4e57a60 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UI] Small improvement on attachment's visual check-in: 8696cd5c27 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SensitiveContent] Fix plugin settings Also reformatted the code and minor bug fixed it check-in: 5f68dd232f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SensitiveContent] Add option to activate for not-logged-in visitors Remove redundant setting retrival code. An example config.php entry to activate the new config: $config['site']['sensitivecontent']['hideforvisitors'] = true; check-in: 8adcba921c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SensitiveContent] Don't crash in GNU social classic When an attachment has no thumbnail (for example when it's a video). check-in: f4a07b1e8a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SensitiveContent] Fix bug where having this plugin activated would not size thumbnails correctly check-in: ceb933c3fc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Make avatars be served with the same mechanism as attachments check-in: 905aab57b0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[REALTIME] Reviewed both the superclass and its dist plugins check-in: f4afdfb42a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[UI] Fix a small typo check-in: d8346f4931 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NodeInfo][DATABASE] Adjust indices of the "notice" and "user" tables On big databases these queries from the Nodeinfo plugin choked up: SELECT profile_id FROM notice WHERE notice.created >= (CURRENT_DATE - INTERVAL '180' DAY) AND notice.is_local = 1; SELECT id FROM "user" WHERE "user".created >= (CURRENT_DATE - INTERVAL '180' DAY); check-in: 2a25b87b65 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ExtendedProfile] Fix updates and allow to delete values check-in: 5e618b46d0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][RSA] Fix types of generate_keys check-in: 8bb9ca15ea user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[COMPOSER] update check-in: bc95ce1c29 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Xmpp] Adjust type declarations for changes in XMPPHP check-in: 5642c00101 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCRIPTS] Fix resend_confirm_address.php Fix a regression from 6ec72b29781d30c473d7d8ed69782eec92ebddad, check if an address is set when using --email. check-in: 0007e15749 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[API] Show a nicer no such user error on statusnet/groups/list_all check-in: 8d36a977dc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL check-in: aae4d830dd user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Properly handle Actor URIs by using events correctly This should fix nulls on explorer lookups inputed by postman after generate_followers/getSubscribers, that I think were caused by calling common_profile_uri that, curiously, only handles local profiles check-in: cb817dcd7a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][RSA] Revision, increase type scrictness and improve docs check-in: eda43831e3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Ostatus] Partially revert 69add504e6 updateuris isn't needed after alll, we should solve this with TFNM and existing infrastructure. check-in: cb35d0f1fa user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub][Postman] Fix not sending notices to self check-in: 18211b6975 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Better queues defaults check-in: 3c0deaced2 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION] Updated TODO and branches info check-in: 2cbfe268a3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PEAR DB_DataObject] Make static methods in Cast actually static check-in: 34eb54e1f5 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed][CORE] Validate the hexadecimal for hex2bin properly check-in: 032f47dca5 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Use monotonic time via hrtime() where applicable The realtime clock is not reliable when calculating elapsed time. check-in: 9f5f9c1161 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[FORMAT] Ran php-cs-fixer on the handlers of notice items and streams This was to keep the following two commits readable - actions/showstream.php - actions/userbyid.php - lib/modules/ActivityHandlerModule.php - lib/modules/ActivityHandlerPlugin.php - lib/notices/conversationnoticestream.php - lib/notices/noticelistitem.php - lib/notices/noticestream.php - lib/notices/threadednoticelistitem.php check-in: 819e687667 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SHOWSTREAM] Add robots meta-tag for remote profiles check-in: 95f13102c7 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[NOTICES] Add data-nosnippet attribute for notices by remote profiles check-in: 898aff5dda user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix undefined tag index 'type' in Activitypub_notice check-in: 07359506cc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Fix deprecated call to implode() check-in: d7c6c7e0d6 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION] Add further notes to the nginx sample config check-in: ccd0ff15d8 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[INSTALL] Allow the setup of sslproxy during install time install.php: installer.php: - add option field and handle logic display.css: - hardcode ssl's label margin-top value so all options are correctly displayed check-in: d4217ebe6f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix profile url handling check-in: 1a7a591de3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Remove VideoThumbnails not useful anymore check-in: ce6e44f5c0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Remove profile_tag_tag_fkey profile_list.tag is not supposed to be unique, this also reverts the addition of profile_list_tag_key. check-in: 94270f3958 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Xmpp] Latin-1 space characters are not forbidden for XMPP resources Also use mb_strlen() with the 8bit encoding to count octets, strlen() is not as reliable (mbstring.func_overload). check-in: 945e230585 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Xmpp] Use UnexpectedValueException in splitJid, a bit narrower check-in: 597508a037 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[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. check-in: 5e97e8e698 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] New URI system check-in: bdfa08e34a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PEAR DB_DataObject] Removed DB_DATAOBJECT_NO_OVERLOAD as we don't have support for either PHP 4 or 5 check-in: 50216d6d2c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TheFreeNetwork] First code: Module class and census event check-in: 22368e0d20 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCRIPTS] Add updateuris script To fix user URIs to their non-fancy version check-in: 52b6041eaa user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Update common_user_uri To be consistent between federated-protocols and maintain non-fancy URIs check-in: 2a93dab815 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OStatus] Add script for profile deduplication and URI fixing check-in: beae091f64 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix some small known problems ActivityPubPlugin: - Rework onProfileDeleteRelated to account for the tables _rsa and _pending_follow_requests - Update onEndShowAccountProfileBlock to stop creating the ap_profile if it doesn't exist (we'll handle this in a different manner) Activitypub_profile: - Remove unnecessary code from from_profile method and add return type information Explorer: - Update travel_collection to call itself instead of _lookup, that was wrong check-in: 55cec2539d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AnonymousFave][DATABASE] Set the created timestamp on INSERT check-in: 64d2e5f261 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DAEMONS][TwitterBridge] Set PUBLICDIR check-in: 63b1b69bf4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[COMPOSER] Remove some pre-composer remnants from the code check-in: e225879b03 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION][NGINX conf] snippets/fastcgi-php.conf is Debian-specific check-in: f5b1513edf user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed][CORE] hex2bin should always get an even amount of symbols check-in: ceb6ce1497 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix successive "Cannot use object of type stdClass as array" errors in the postman check-in: 2a68a7a464 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MODULES] Fix VERSION constant to MODULE_VERSION in various modules check-in: aef74ca902 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Allow to force non-fancy URLs Essential to allow toggling fancy urls later. In some cases it is critical to keep the URL an unique URI. check-in: 11e83ae6da user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MEDIA] Simplify Attachment actions check-in: 14a903f5df user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[FILE] Fix Return value of File::getFileOrThumbnailSize() must be of the type int, null returned check-in: 285130409d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[LIB_REFACTOR] Fix minor issues check-in: 86d6b0654b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Revert usage of bitwise-operator & in the inbox_handler class. check-in: ea80656bbd user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] The protocol allows content to be null, GNU social doesn't, we'll reject silentiously Reported by kaniini check-in: 25b064bcec user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] attributedTo itself is not required, if not present then it should be inferred from the actor Reported by kaniini check-in: f95ce4a0df user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix security issue concerning remote profile deletes Reported by kaniini check-in: ccdbdb6bdd user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Inbox Handler: Remove old guzzle import Improve exception information in doc blocks check-in: 84da6c2507 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Slightly increase robustness on exception handling Also ported Activitypub_rsa to PHP7 Minor indentation fixes check-in: f2a2747abe user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Consistent headers in explorer requests Minor indentation fixes check-in: e6cc493148 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Fix 'Call to a member function getPayload() on null' Trying to enable the RedisCache with the latest nightly, getting this with the daemon: sep 25 11:40:18 friedrich startdaemons.sh[21428]: PHP Fatal error: Uncaught Error: Call to a member function getPayload() on null in /var/www/social/plugins/RedisCache/RedisCachePlugin.php:96 sep 25 11:40:18 friedrich startdaemons.sh[21428]: Stack trace: sep 25 11:40:18 friedrich startdaemons.sh[21428]: #0 /var/www/social/lib/util/event.php(89): RedisCachePlugin->onStartCacheSet('gnusocial:herds...', Object(HubSub), NULL, 86400, false) sep 25 11:40:18 friedrich startdaemons.sh[21428]: #1 /var/www/social/lib/cache/cache.php(202): Event::handle('StartCacheSet', Array) sep 25 11:40:18 friedrich startdaemons.sh[21428]: #2 /var/www/social/classes/Memcached_DataObject.php(520): Cache->set('gnusocial:herds...', Object(HubSub)) sep 25 11:40:18 friedrich startdaemons.sh[21428]: #3 /var/www/social/classes/Memcached_DataObject.php(52): Memcached_DataObject->encache() sep 25 11:40:18 friedrich startdaemons.sh[21428]: #4 /var/www/social/classes/Managed_DataObject.php(50): Memcached_DataObject::getClassKV('HubSub', 'hashkey', 'a38b9dc516371af...') sep 25 11:40:18 friedrich startdaemons.sh[21428]: #5 /var/www/social/plugins/OStatus/classes/HubSub.php(47): Managed_DataObject::getKV('hashkey', 'a38b9dc516371af...') sep 25 11:40:18 friedrich startdaemons.sh[21428]: #6 /var/www/social/plugins/OStatus/lib/hubprepqueuehandler.php(68): HubSub::getByHashkey('https://herds.e...', 'https://raki.so...') sep 25 11:40:18 friedrich startdaemons.sh[21428]: #7 /var/www/social/plugins/RedisQueue/classes/RedisQueueManager.php(58): HubPrepQueueHandl in /var/www/social/plugins/RedisCache/RedisCachePlugin.php on line 96 Sign in to j check-in: 47ac340768 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OpportunisticQM] Revamped plugin to be able to use other poll based queuemanagers, no just the DB check-in: 5d4472576e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DAEMONS] Properly disconnect daemons from the database check-in: 19b6a38fdb user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DAEMONS] Switch daemons to double-forking for daemonisation check-in: af99fa7149 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Another inboxnoticestream improvement check-in: 8a08f0a722 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Always quote identifiers The code used to operate under the assumption that MariaDB doesn't support quoting identifiers. Not only is that not exactly true, but MariaDB has reserved keywords that cannot be used as table or column names unquoted. check-in: 7a919f07c3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Set NULL in DB_DataObject in a more reliable manner Also stop assuming that FeedSub::sub_state (enum) and FeedSub::sub_end (datetime) can possibly be set to an empty string. check-in: 81858494ce user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Only use single quotation marks for SQL strings Double quotation marks are only used for identifiers in the SQL standard. check-in: a758f9800a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Use time intervals in a SQL standard compliant way check-in: 6d5610dbdb user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Consistently use the "LIMIT $limit OFFSET $offset" syntax The "LIMIT $offset, $limit" syntax is only supported by MySQL and MariaDB. check-in: 9b749cdb8c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[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. check-in: 8ec93b9b05 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Re-order tables to be created Foreign keys need to be created after the respective tables are already in place. This order makes sure this is the case. check-in: f14e39ff6d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Various table schema related fixes check-in: bdc7137a63 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Set all primary keys as "not null" explicitly check-in: edd74843dd user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Re-introduce the enum type abstraction check-in: b80f75b05f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Columns not in GROUP BY must not be queried check-in: 252d6d92df user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Use "<>" as an SQL non-equality sign "!=" is not SQL compliant. check-in: 01b93a4f3a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE] Re-introduce PostgreSQL support check-in: 6ace10232a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MODULES] Make disable in admin panel effective check-in: 7a16962046 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[INSTALL] Fix lib/util/installer.php import path check-in: c8f29f5a75 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OStatus] The unsubscribe state also needs a label check-in: a09de8c4b4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[BugFix] Plugins ExtendedProfile and OverwriteThemeBackground - admin is identical to system path names. check-in: 5cbc0a6686 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DATABASE][MariaDB] Properly account for foreign keys check-in: a71e06e796 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Fix logging of very early failures check-in: 910bc3c14a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix some bugs with onStartNoticeSearch Refactored Activitypub_profile::ensure_web_finger to Activitypub_profile::ensure_webfinger Do not throw exceptions in the handling of this event because we don't want to stop the regular search just because we were unable to find ActivityPub actors or notes. check-in: 72e47a96f2 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix an unhandled error in onStartGetProfileFromURI check-in: 0e38ad3eaa user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Add missing parenthesis in class instantiation Fixed some issues related to thrown exceptions in the doblocks; also boolean -> bool check-in: 5541032ff2 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DAEMONS] Move resetDb to the Daemon class As it is used inside the Daemon class now, it should always be available. check-in: 83d716769a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SCRIPTS] Set PUBLICDIR in plugin scripts as well check-in: 649b075aa6 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Fix minor git merge resolving issues check-in: d3e8d2625c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed][CORE] Fixes 'Invalid Filename' on Embed. Regex didn't get updated check-in: f90fdca488 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[StompQueue] Changed StompQueueManager to use polling rather than sockets check-in: e8b6ecfaef user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Added UnQueue, a new default plugin which does all actions immediately check-in: 593e2ab23e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Added DBQueue plugin check-in: 50a75a648f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Added StompQueue plugin, based on the implementation in lib/queue/stompqueuemanager. Updated to new STOMP library version. Dropped liberalstomp.php and stompqueuemanager.php check-in: 0ba450324a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Added RedisQueue check-in: 1bf5cbe0cc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE][AUTOLOAD] Fix class OAuthRequest not found Issue description as reported by aab: 2019-08-28 17:34:48 LOG_ERR: [khp.ignorelist.com:61055.f5f7f51c GET /api/statuses/show/178372.atom] ServerErrorAction: 500 Class 'OAuthRequest' not found 2019-08-28 17:39:50 LOG_ERR: [khp.ignorelist.com:65390.4483ff85 GET /api/statusnet/conversation/104672.rss] Handled serverError (500) but cannot output into desired format ('rss'): 'Class \'OAuthRequest\' not found' 2019-08-28 17:39:50 LOG_ERR: [khp.ignorelist.com:65390.4483ff85 GET /api/statusnet/conversation/104672.rss] ServerErrorAction: 500 Class 'OAuthRequest' not found 2019-08-28 17:40:49 LOG_ERR: [khp.ignorelist.com:65390.4c745f68 GET /api/statuses/show/18132.atom] Handled serverError (500) but cannot output into desired format ('atom'): 'Class \'OAuthRequest\' not found' 2019-08-28 17:40:49 LOG_ERR: [khp.ignorelist.com:65390.4c745f68 GET /api/statuses/show/18132.atom] ServerErrorAction: 500 Class 'OAuthRequest' not found 2019-08-28 17:47:41 LOG_ERR: [khp.ignorelist.com:65390.42ee9fd4 GET /api/statusnet/conversation/133023.as] Handled serverError (500) but cannot output into desired format ('as'): 'Class \'OAuthRequest\' not found' check-in: fd63eea1cc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[FRAMEWORK][AUTOLOAD] Fix autoloads check-in: 3448f82c69 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[LIB_REFACTOR] Fix requires check-in: 8c4f529e1a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[LIB_REFACTOR] Moving files into separate semantic categories check-in: 53cb183a1d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RedisCache] Fix call to getPayload on int. The library is badly documented, but seems to return the TTL instead of the normal redis response Issue description as reported by aab: About one day after enabling redis plugin: PHP Fatal error: Uncaught Error: Call to a member function getPayload() on int in /var/www/html/plugins/RedisCache/RedisCachePlugin.php:96 Stack trace: 0 /var/www/html/lib/event.php(89): RedisCachePlugin->onStartCacheSet('gnusocial:gatea...', Object(Queue_item), NULL, 86400, false) 1 /var/www/html/lib/cache.php(202): Event::handle('StartCacheSet', Array) 2 /var/www/html/classes/Memcached_DataObject.php(496): Cache->set('gnusocial:gatea...', Object(Queue_item)) 3 /var/www/html/classes/Memcached_DataObject.php(416): Memcached_DataObject->encache() 4 /var/www/html/classes/Managed_DataObject.php(620): Memcached_DataObject->update(Object(Queue_item)) 5 /var/www/html/classes/Queue_item.php(74): Managed_DataObject->update(Object(Queue_item)) 6 /var/www/html/lib/dbqueuemanager.php(75): Queue_item::top(Array, Array) 7 /var/www/html/lib/iomaster.php(287): DBQueueManager->poll() 8 /var/www/html/lib/iomaster.php(161): IoMaster->poll() 9 /var/www/html/scripts/queuedaemon.php(112): IoMaster->service() 10 /var/www/html/lib/spawni in /var/www/html/plugins/RedisCache/RedisCachePlugin.php on line 96 check-in: 228f0fb29e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Memcached] Fix call to undefined method `close` Issue description as reported by aab: Memcached config in config.php: addPlugin('Memcached', [ 'servers' => ['127.0.0.1', 11211], 'defaultExpiry' => 86400 // 24h ]); Memcached and php-memchached installed. The error appears when executing startdaemons. Log: PHP Fatal error: Uncaught Error: Call to undefined method Memcached::close() in /var/www/html/plugins/Memcached/MemcachedPlugin.php:202 Stack trace: #0 /var/www/html/lib/event.php(89): MemcachedPlugin->onStartCacheReconnect(false) #1 /var/www/html/lib/cache.php(273): Event::handle('StartCacheRecon...', Array) #2 /var/www/html/lib/spawningdaemon.php(209): Cache->reconnect() #3 /var/www/html/lib/spawningdaemon.php(188): SpawningDaemon->resetDb() #4 /var/www/html/lib/spawningdaemon.php(118): SpawningDaemon->initAndRunChild(3) #5 /var/www/html/lib/daemon.php(168): SpawningDaemon->run() #6 /var/www/html/scripts/queuedaemon.php(186): Daemon->runOnce() #7 {main} thrown in /var/www/html/plugins/Memcached/MemcachedPlugin.php on line 202 check-in: d6b2878e92 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed] Fix use of undefined `img_data` Got error 'PHP message: PHP Notice: Undefined variable: img_data in /var/www/html/plugins/Embed/EmbedPlugin.php on line 544' check-in: c8d5da63cb user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[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 check-in: 605dab90a0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Add support fox search-box profile/notice grabbing NoticeSearchAction: - Add new event before finding query matches ActivityPubPlugin: - Subscribe new searchNotice event - Bump minor version number Activitypub_explorer: - Update lookup to make remote-grabbing optional check-in: 9989623c02 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Handle DELETE-Person activity ActivityPubPlugin: - update grab_notice_from_url to make online grab optional - subscribe events of user and profile deletion - bump minor version number Activitypub_inbox_handler: - separate handle_delete for delete-note and delete-person Activitypub_postman: - add delete-person logic Activitypub_delete: - update validation method to check for the "Person" type - update to_array method to target the activity check-in: 28e56c3175 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Fix small bug where Notice was sending a JSON representation to the queue, instead of sending itself check-in: 69a9cd28e9 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Fix subscription events Both StartSubscribe and StartUnsubscribe had a wrong initial if-condition. Furthermore, this events were calling Activitypub_profile::from_profile() which is wrong because it creates the Activitypub_profile object when the goal is only to check if it exists already. check-in: 6282341137 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Subscribe RemoteFollow plugin events for allowing following with the remote-follow button check-in: 1a67aaf718 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OStatus] Port remote-follow to the RemoteFollow plugin OStatusPlugin: - Stop adding the remote-follow button - Subscribe to required RemoteFollow plugin events - Drop main/ostatussub route and update urls to the main/RemoteFollowSub route - Bump plugin minor version number actions/ostatusgroup, actions/ostatuspeopletag: - Update urls to the main/RemoteFollowSub route lib/util: - Port required functions from OStatusSubAction and adapt to be used with the new events check-in: 036183ad54 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RemoteFollow] Initial work in the RemoteFollow plugin lib/default.php - Add RemoteFollow to the list of default plugins RemoteFollowPlugin: - Subscribe events to add the remote-follow button RemoteFollowInitAction: - Handles the remote-follow form and getting the redirection url for follow completion RemoteFollowSubAction: - Handles the remote profile pulling and actual following check-in: 100a23adc0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[URLMAPPER] Fix small bug in URLMapper: a dynamic route might not exist even if a static one does check-in: 038e7bdaa1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] Fixed use of incorrect type which prevented posting notices with only one word check-in: 0fd59fa10c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Update version info check-in: 43128e1103 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Prevent postman to include the actor's followers for every sent activity check-in: c2e8bf0ad1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Support Private Messaging ActivityPubPlugin: - Subscribe DirectMessage events Activitypub_inbox_handler: - Update handle_create_note to create private messages Activitypub_postman: - Add create_direct_note for sending private messages Activitypub_create: - Update create_to_array to support the 'directMessage' attribute - Add isPrivateNote to verify private activities Activitypub_notice: - Update create_note to support the 'directMessage' attribute - Remove isPrivateNote lib/models: - Add Activitypub_message, the model in charge of private notes check-in: f6e488584e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Fix Follow collections Activitypub_profile: - Fix subscription-counter getter functions, invalid profiles were being counted apActorFollowingAction: - Small rewrite of generate_following, didn't make sense to not use try-catch block apActorFollowersAction: - Small rewrite of generate_followers, didn't make sense to not use try-catch block check-in: 6a10e49d77 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Handle unlisted/followers-only notices Note that this commit isn't intended to add support for sending such notes in GS. Instead, we handle the reception, storage and direct reply to this type of notices, in AP. ActivityPubPlugin: - Subscribe the event StartNoticeSave to hack answering non-public notes Activitypub_create: - Add 'directMessage' attribute to the Create activity, defaulting to false for now - Update validation method: validate 'directMessage' and add debug Activitypub_notice: - Handle incoming unlisted/followers-only notes - Add support for unlisted-replies - Add method to verify private (direct) notices inbox_handler: - Add handler for CREATE Note - Prepare logic for private-messaging - Overall refactor: Class members were continuously being passed as function arguments without need SharePlugin: - Stop showing the announce button in non public posts check-in: 48722bf075 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[AP] Properly target public notices ActivityPubPlugin: - Use TO as principal audience, CC as secondary - Update note validation check-in: aebd7c7bf7 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RedisCache] Added plugin description, fixes 'empty msgid' error check-in: 6b1fde12e8 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OverwriteThemeBackground] This new plugin will let the admin set a custom background theme independent check-in: f1bd1adfd8 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ForceGroup] Modernized plugin and improved documentation check-in: 3921eaa828 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Removed GeoURL as the service doesn't exist anymore check-in: 822ddb5390 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Removed GNUsocial{Photo, Photos, Video} as we don't need them anymore check-in: afed94e668 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[GNUsocialProfileExtensions] Fixed plugin check-in: 4c6540d6d9 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Plugins] Incorporated GNUsocialExtendedProfile as part of ExtendedProfile Also improved a lot of the plugin and made things in a way it would make sense check-in: b664397517 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ExtendedProfile] Allow to delete custom profile field check-in: 68d29b0b5c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ExtendedProfile] Hide 'Extra fields' from profile when no field was created by the sysadmin check-in: f4e2d1b95f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[GroupFavorited] Fix plugin check-in: 59fb086af4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Removed OpenX as the service doesn't exist anymore check-in: 460f179cb3 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OfflineBackup] Fix plugin check-in: 341c87a6d7 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ConversationTree] Format the plugin, add strict typing and fix docblocks check-in: 40593534bf user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SamplePlugin] Review and update with the latest GNU social best practices check-in: 0ea17b6d42 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[SearchSub][README] No longer is a default plugin since 8614cd77 check-in: 0a8fd640fe user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[TagCloud] Add Readme check-in: f42a1c7a47 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION][DEVELOPERS][PLUGINS] Some updates to Plugins doc check-in: 5a14716fd1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MODULES] List all available plugins and allow enabling them via UI Yet another revision of the Admin Plugin Management tool check-in: 0640f2524b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MODULES] Allow to upload third party plugins Fixed some bugs check-in: 219eabf503 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[MODULES] Allow to delete third party plugins check-in: daa91bce12 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ExtendedProfile] Fix Admin menu option check-in: 1caa891353 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DEFAULT] Add 'DirectionDetector' as a default plugin check-in: a70de0a225 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ChooseTheme] Fixed plugin check-in: fd581894e4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[BlankAd] Fixed plugin check-in: 5d0751e81a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Awesomeness] Fixed plugin check-in: 666d9a1ebf user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DEFAULT] Add 'AccountManager' as a default plugin check-in: b3d8ca8337 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Core modules shouldn't show up in version action check-in: d47e777135 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Plugin API now extends a new Module API check-in: 2be23705ec user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGIN API] Bug fixes and improvements check-in: b25593de28 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Move plugin superclasses from /lib/ to /lib/modules/ check-in: 3b1beb30f4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Move core plugins to a new modules directory For reference (raised by rozzin in IRC): * http://foldoc.org/module * http://foldoc.org/library * http://foldoc.org/plugin As noted by XRevan86, modules are not necessarily non-essential. As we will keep the modules directory in GS root [therefore, near to plugins/], it is evidenced the difference between both. This is a simple yet fundamental structural change. It doesn't change functionality but makes clearer the way we understand GNU social's internals. check-in: 95d32733e2 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed] Added support for inline images check-in: d872578950 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DirectMessage] Major plugin rework This commit does the necessary rework to store private messages as Notices and to support Federation. The plugin's README presents some more detail about the changes and future work that is still required to do. check-in: ea47593326 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE][ROUTES] Update urlmapper to search dynamic routes before static ones when generating URLs. This solves the problem of routes that differ only in having or not $_GET params. The ones not having params (static) were being matched first during URL generation. The way this problem was solved was by separating the $reverse array in both $reverse_statics and $reverse_dynamics and explicitly traversing this last one first in the generation function. Note that maintaining the $reverse array and unshifting dynamic routes to its head ( and therefore to the front of the static ones ) doesn't work since even among dynamic routes the order of arrival should be kept. check-in: 30a3465453 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Add new Notice scope for private messaging Notice: - Add MESSAGE_SCOPE scope lib/*.stream: - Filter out notices with MESSAGE_SCOPE scope check-in: 501b232be1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed] Added support for inline images check-in: bd3ad1d6f5 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Embed] Only resize thumbnail if it's bigger than the desired size check-in: 6b84ca112e user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[DOCUMENTATION] Add release notes Update INSTALL requirements Update CHANGELOG Update TODO check-in: 548899d528 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Move models from 'classes' to 'lib/models' check-in: be2d561890 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix WebFinger event subscription ActivityPubPlugin: - remove reference to the first argument of onEndWebFingerProfileLinks, no need as it is an object check-in: 7c8fb78750 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix handling of Delete Activity inbox_handler: - Call stronger validation method for Delete Activity objects - Take into account mixed object in handle_delete Activitypub_delete: - Add validation method for Delete Activity objects check-in: d1f5e5421f user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] This is the first release of the plugin check-in: 2d881024d0 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Use queues for notice distribution ActivityPubPlugin: - Change event-based notice distribution to queues logic ActivityPub/lib: - Add queue handler class activitypubqueuehandler.php Misc: - Add documentation for the (Start/End)InitializeQueueManager events check-in: 9b1b4decdc user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[OStatus] Fix notice enqueue OStatusPlugin: - Enqueue in the last position, as it should be. No need to worry about the OMB comment, this protocol no longer have queue handlers that could cause a conflict. check-in: 6d57bd4cd1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Ensuring federation with other software ActivityPubPlugin: - Prevent sending a Delete for an Announce Activitypub_announce: - Update announce_to_array to add id, to and cc information to the retrieved object Activitypub_follow: - Add id to the arguments of follow_to_array, useful for Accept-Follow activities Activitypub_notice: - Fix notice validation, url isn't a MUST Activitypub_inbox_handler: - Make handle_follow use the received activity id for the later Accept-Follow Activitypub_postman: - Fix call to the updated announce_to_array - Fix successive unnecessary calls to ActivityPubPlugin::actor_uri() check-in: e0841bc126 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Fix notice creation Activitypub_notice: - Perform url test, use id when missing. check-in: 98b948f009 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Routes ActivityPubPlugin: - Update routes to properly use the updated URLMapper check-in: 6b0c1dcaf4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Ensuring notice deletion ActivityPubPlugin: - Minor onDeleteOwnNotice rewrite Activitypub_inbox_handler: - Add deletion check to incoming notice Activitypub_postman: - Call the correct getUrl function check-in: 37159a485a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Ensuring Notice Favor/Disfavor ActivityPubPlugin: - Minor re-write of favor/disfavor event handlers Activitypub_postman: like/undo-like: - fix proper getUrl() call misc: - make all activities accumulate errors (may be needed later) and log some information about it check-in: 21e82d08c1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Ensuring notice distribution ActivityPubPlugin: - Fix of accepted activity verbs to include SHARES - Add attention profiles to delivery when announcing Activitypub_notice: - New local function to retrieve original URL - Removal of unnecessary 'Atom*' attributes - Small fix to the ensuring of actor profile Activitypub_profile: - New local function to fetch AP profiles from a collection Activitypub_postman: - Fix url passed in the announce activity check-in: f3b02bfce5 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Caching of Following/Followers interactions and collections Follow interaction: - Fixed mini-bug where the subscriber profile was being used as the subscribed - Updated cache subscription-related values in both instances - Tested and working with local GS instances Unfollow interaction: - Updated cache subscription-related values in both instances - Tested and working with local GS instances Followers/Following collections: - Now returning ActivityPub profiles only - Stored collections in cache Misc: - Fix bug concerning the retrieval of public/private-key after in-function generation check-in: 65db67f13b user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[COMPOSER] Added predis/predis and updated packages check-in: 55d73ebd45 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Fixed small anti-pattern on cache code. Plugins had to throw EndCache events, when this should be done by the library check-in: ff1fd9308d user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CACHING] Imported Chimo's RedisCache plugin and fixed some small parts check-in: c59ffb7e9c user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Removed direct call of EndCache events on all plugins, as it is now handled by the library check-in: f1335d5c99 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RedisCache] Fix use of undefined variable check-in: bfc795f3f1 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[RedisCache] Added README with configuration instructions check-in: 9cca4c5af4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Updated and reviewed the Memcached plugin check-in: 8f1c88c426 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[Memcached] Merged useful features from Memcache check-in: 8741871e14 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[PLUGINS] Dropped Memcache in favor of Memcached. The difference between these is that they use a similarly php library to interact with memcache, but memcached is more modern check-in: 7852143a1a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[CORE] Add ActivityPub plugin This is not the same as the one in https://notabug.org/diogo/gnu-social-activitypub-plugin Differences to the first "release" -> Doesn't use guzzle nor has any composer dependencies -> Supports HTTP Signatures -> Has basic l10n/i18n -> Some minor bug fixes check-in: ee80b9688a user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
[ActivityPub] Routes ActivityPubPlugin: - Update routes to properly use URLMapper - Minor updates check-in: c9fa16b5a4 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
18:44
Revert "[CORE] Another fix for the inboxnoticestream query" This reverts commit bdd55f611f4b30a663ab788214989fa30fa33ee9. check-in: 09ea1da308 user: mail@diogo.site tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2020-06-11
20:52
[CORE] Another fix for the inboxnoticestream query check-in: 94dc8d3b1d user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2019-08-14
14:32
[LinkPreview] Fix 'no candidate for action "embedproxy"' check-in: 85c5458155 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2019-08-13
02:01
[CORE] Fix subscription-related functions from the Profile class The undifined variable $private_stream, from the User class, was causing undifined behavior from calling requiresSubscriptionApproval. The is_null test was added to fix this problem. check-in: a70ccaf981 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
02:00
[DOCUMENTATION][SYSADMIN][CONFIGURE] x-static-delivery was in the wrong section check-in: 8690061fc9 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2019-08-12
04:35
[NodeInfo] New endpoint and formula for computing active users Seriously improved documentation Now NodeInfo 2.0 is available at /api/nodeinfo/2.0.json For active users we now also consider favourites and recently created accounts Some further minor bug fixes and full review of the implementation check-in: 687798ce80 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
04:35
[DOCUMENTATION] Late update of CHANGELOG and TODO list check-in: 607ef44aad user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2019-08-11
00:11
[DOCUMENTATION][SYSADMIN][CONFIG][profile] Fix default of backup and restore options check-in: 2e241ab20a user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
00:11
[REFACTOR] Added explicit return type to all instances of QueueHandler::handle check-in: 0e970dc6e4 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2019-08-08
01:44
[CORE][QUEUE] Error checking and type declaration on handling notice queue events Patch submitted by XRevan86 check-in: 8d94caeb27 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
01:44
[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 check-in: ac631f2bbb user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
01:44
[EXTLIB][VALIDATE] Fix some types check-in: 42f4bd5948 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
01:44
[DOCUMENTATION] Added X-Sendfile/X-Accel-Redirect to the sample nginx and apache config files check-in: c5fe04d8fd user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
01:44
[DOCUMENTATION] Add versioning information Some other minor improvements and a bug fix in the boilerplate check-in: e850edd23d user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2019-08-07
22:57
[Embed] Fixed error related to oembed action check-in: 8e5d09b0a5 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
22:57
[DOCUMENTATION] Fix nginx location rule's regex for install and index check-in: 4974a7e61d user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
2019-08-03
20:04
Merge branch 'master' of biodantas/gnu-social into master check-in: fe37513a19 user: gogitservice@gmail.com tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
20:02
[MEDIA] Fixed wrong image cropping check-in: 733b7b5ef5 user: biodantasgs@gmail.com tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[MEDIA] Replaced internal image handling with intervention/image, which is capable of using both GD and ImageMagik check-in: 15681c5bec user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[CORE][COMPOSER] Added intervention/image check-in: cf35418fa9 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[CORE] Bump PHP requirement to PHP7.3+ check-in: 632c54c3c7 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Fixed use of undefined variable in fixup_files script check-in: 1fea568dc0 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Resize thumbnails fetched by Embed to avoid keeping original images when we need only 128x128. Size configurable in config.php check-in: 598d908f90 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[FORMAT][Embed] Ran php-cs-fixer on Embed's files and small style fixes check-in: dfb6aeabde user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[DOCUMENTATION] Add a CHANGELOG that includes a TODO list to reach alpha in v2 check-in: 9734450220 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[SCRIPTS] Make them work in v2 by setting PUBLICDIR check-in: 1e8b55743c user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Updated fixup_files.php script to be able to fix broken oEmbedinfo using the --broken-oembed flag check-in: 8f383dca59 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Hide error from the UI and just don't display an image if the remote image is not valid check-in: 93a1565d03 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Fix bug where we we're losing track of a file, in case the image needed to be reencoded check-in: 2d967b4a83 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Fixed Embed tests check-in: eeb9da8078 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Fixed bug where sometimes images were written outside the site root check-in: 8eac0c34ea user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Removed old oEmbed and OpenGraph implementation check-in: 874ec9a4ad user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Refactoring and bug fixing check-in: 528414f24e user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[Embed] Using oscarotero/Embed as first attempt to get oEmbed/OpenGraph data, fallback to previous implementation otherwise. check-in: 87d8d39af1 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:49
[PLUGINS] Fixed oEmbed dependents to use Embed check-in: 7614df5465 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:48
[Embed][DB] Renaming the 'file_oembed' table to 'file_embed' on upgrade check-in: ea64df48e0 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:48
[OEmbed][Embed] Renamed OEmbed plugin to Embed check-in: ebc29e754d user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[COMPOSER] Added embed/embed check-in: 8cb44fe5b4 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[DOCUMENTATION] New socialfy solution check-in: 92501885db user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Avatars are in PUBLICDIR in v2 Fixed a bug in the Installer check-in: 70030a6907 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[INSTALL] Minor reformatting and modernization. Shouldn't change functionality significatively. check-in: 7dab26dda3 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Fixed some small issues with PEAR check-in: d16cb06be6 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0 check-in: 1feb1d17d7 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Make tests great gain check-in: 2a282fe2be user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[DOCUMENTATION] Update description of extlib and vendor directories check-in: cd60533b65 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE][COMPOSER] Add hoa/consistency Renamed curry to callable_left_curry check-in: 953d3eebe5 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Downgrade phpseclib to a working state check-in: fac7ad1950 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[DEVTOOL] Add a robust and modern REPL check-in: fb1e4253eb user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Add custom favicon configuration support Adds support for custom favicons defined in config.php that override theme favicons. check-in: 8dfdc84e6a user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Remove function_exists() calls and add up default bcrypt cost to 12. check-in: cb472fe252 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Add Argon2I support Add Argon2I support, disabled by default. check-in: 18c785c687 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Update AuthCryptPlugin Added password_hash() (bcrypt) support with fallback to crypt() for older PHP versions. check-in: effd58afd8 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Add timing safe backwards compatible password_verify check-in: 02094383b8 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Move public resources to a /public directory Advantages: * Increases security by preventing direct access to file/ * We are careful and have a defined('GNUSOCIAL') || die() to prevent direct access to GS files, but we may miss one or a vendor/extlib may not be as careful * Improves directory structure - It's more natural to physically separate what is public from what are GNU social resources check-in: 699c4634f4 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Remove PEAR Command as it is not used check-in: ab3fdf3b4d user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[FORMAT] Run php-cs-fixer in php-gettext check-in: 2dc8b89d80 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE][COMPOSER] Move plugins extlibs to composer (where appropriate) check-in: fceedd9e0f user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies This adds a composer.json for all dependencies that are available check-in: c5e6b5020b user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Fix notice delete-form DeletenoticeAction: - Added tombstone check before deletion NoticeListItem: - Added tombstone check before showing delete-form ActivityVerb: - The plugin was overwriting the deletenotice route. Added stronger regexp to the connected routes. check-in: e4df3340c4 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[CORE] Bump Database requirement to MariaDB 10.3+ check-in: e1cf904d2d user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[Media] Fix undefined variable box in imagefile.php check-in: 08f25aaf1c user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[StoreRemoteMedia] Added documentation for feature which limits the maximum filesize which is kept locally check-in: b0c8bea7ef user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[ROUTES] Fixed attachment routes, broken by channges in fa378462f4 check-in: b650299bd5 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:47
[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 check-in: 518dd48cbb user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[ROUTES] PSR2-format check-in: 889b31e6b5 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Added documentation and fixed typo in attachments action check-in: 87685158a3 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Fix bug where we we're losing track of a file, in case the image needed to be reencoded check-in: 6f20cfc9d6 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Fixed Media tests check-in: 589fc173e9 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the site root check-in: b1f5fe79eb user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[PEAR] Modernize Validate code Upgraded IDNA to IDNA2 Added PEAR Date > fixed: The each function is deprecated check-in: 5a9fbbde57 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Fix X-Sendfile for nginx, using the X-Accel-Redirect header check-in: 1f98083ec8 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Fixed bug where the http connection was using the wrong size for thumbnails, and returning the wrong one check-in: 1a93a490eb user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[StoreRemoteMedia] StoreRemoteMedia now uses the new filename format, which allows it to display correctly in the UI. Formatting fixes check-in: fc863bbe87 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[MEDIA][OEMBED] Fixed regression in OEmbed, because it relied on accessing the files directly, which previous commits broke. The File table really should have a bool... check-in: eaa10e46a1 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[OEMBED][UI] Skip adding an image thumbnail for oembed results if we don't have a file locally to generate it, which can happen, for instance, if StoreRemoteMedia is disabled check-in: 3483580789 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[MEDIA] Fix trying to display file wich is not available locally check-in: 8560d93ada user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Fixed bug where all thumbnails were using the original file check-in: b575202ab8 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[INSTALL] Fixed issue in installing where default.php needs util.php but it's not loaded check-in: 4c4abad1c9 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE][ACTION] Removed getfile action. Superseded by attachment/*/download, which additionally uses a file hash as oposed to a filename. Additionally, added etag and last modified HTTP headers to attachments, to more effectively take advantage of caching check-in: 85f0234e89 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE][UI] Made attachment actions and its subactions be able to identify attachments by id and by filehash. Changed the url stored in the DB to be attachment//view check-in: 878ec3e4f4 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Refactored attachement actions to remove duplicate code check-in: 879ec49426 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE][UI][ROUTER] Added view action, which inlines images and videos but downloads everything else. Fixed File url to get an URL fromthe view action, so when a making a remote notice, the correct URL is used, not accessing directly to the file check-in: 4885a13748 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Attachments and thumbnails aren't accessed directly by the file under the file storage folder, but indirectly from PHP, so that access to the file folder can be blocked in the server config check-in: 31ce5af552 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[CORE] Fixed common_get_preferred_php_upload_limit, because some values in php.ini can be -1 or 0 for unlimited check-in: 958371e3ca user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect anything) and updated sysadmin documentation Fixes bug which broke the UI. Oops check-in: 6a51436484 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[MEDIA][CORE] Add common function for converting a string with a size unit to an int and MediaFile uses file_quota check-in: c4d54303f1 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[MEDIA][UI] In case an attachment preview isn't possible, the name is displayed anyway check-in: 9ab4e36151 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[MEDIA][UI] Added preview support for BMP, WEBP and ICO, displaying the name underneath, centered check-in: f161d7a178 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:31
[MEDIA] File downloader now in PHP, added proper name in the UI and changed the format for new attachment file names The file downloader was changed from a simple redirect to the file to one implemented in PHP, which should make it safer, by making it possible disallow direct access to the file, to prevent executing of atttachments The filename has a new format: bin2hex("{$original_name}")."-{$filehash}" This format should be respected. Notice the dash, which is important to distinguish it from the previous format, which was "{$hash}.{$ext}" This change was made to both make the experience more user friendly, by providing a readable name for files, as opposed to it's hash. This name is taken from the upload filename, but, clearly, as this wasn't done before, it's impossible to have a proper name for older files, so those are displayed as "untitled.{$ext}". This new name is displayed in the UI, instead of the previous name. check-in: 91c22361b9 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:30
[OEmbed] Revert filename change introduced with 96ce758c check-in: ea4d51d224 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:30
[Oembed] Refactoring and some improvements (namely documentation) Imported some changes from postActiv check-in: 8a780d8665 user: diogo@fc.up.pt tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5
16:29
[CORE] Use random_bytes() if available and improve common_confirmation_code() randomness. With PHP 7 comes the [random_bytes()](https://php.net/manual/en/function.random-bytes.php) and the [random_int()](https://www.php.net/manual/en/function.random-int.php) function which generates cryptographically secure pseudo-random bytes and integers, respectively. Leaf check-in: 0b21ccc4dd user: diogo@fc.up.pt tags: trunk, v1.20.9release, origin/1.2.x, origin/1.1.x