Commit-Graf

  • 7643f3cf7b [CORE][ACTION] Removed getfile action. Superseded by attachment/*/download, which additionally uses a file hash as oposed to a filename. Miguel Dantas 2019-06-26 03:39:39 +01:00
  • aa5c6bbf08 [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 Miguel Dantas 2019-06-26 03:27:51 +01:00
  • 9536f2a909 [CORE] Refactored attachement actions to remove duplicate code Miguel Dantas 2019-06-26 03:25:59 +01:00
  • c7475d78b4 [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 Miguel Dantas 2019-06-26 01:54:55 +01:00
  • 3c9a07677e [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 Miguel Dantas 2019-06-25 23:20:17 +01:00
  • b669f57068 [CORE] Fixed common_get_preferred_php_upload_limit, because some values in php.ini can be -1 or 0 for unlimited Miguel Dantas 2019-06-18 20:57:30 +01:00
  • ccebe536b3 [MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect anything) and updated sysadmin documentation Miguel Dantas 2019-06-16 00:33:12 +01:00
  • b9a0733062 [MEDIA][CORE] Add common function for converting a string with a size unit to an int and MediaFile uses file_quota Miguel Dantas 2019-06-15 15:21:05 +01:00
  • 5961b45140 [MEDIA][UI] In case an attachment preview isn't possible, the name is displayed anyway Miguel Dantas 2019-06-16 00:41:54 +01:00
  • 5f53738376 [MEDIA][UI] Added preview support for BMP, WEBP and ICO, displaying the name underneath, centered Miguel Dantas 2019-06-15 15:16:28 +01:00
  • 5eb4a7d711 [MEDIA] File downloader now in PHP, added proper name in the UI and changed the format for new attachment file names Miguel Dantas 2019-06-11 02:42:33 +01:00
  • f717081893 [OEmbed] Revert filename change introduced with 96ce758c Diogo Cordeiro 2019-06-13 08:18:10 +01:00
  • 01b5118c6f [Oembed] Refactoring and some improvements (namely documentation) Imported some changes from postActiv Diogo Cordeiro 2018-07-18 05:31:24 +01:00
  • d705bcbd98 [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. v1.20.9release Diogo Cordeiro 2019-06-22 18:57:43 +01:00
  • f0f5ecb756 [SCRIPTS] Fix sessiongc by XRevan86 Diogo Cordeiro 2019-07-26 18:25:47 +01:00
  • c0342b1482 [DOCUMENTATION] Allow install.php to be ran with sample nginx conf Diogo Cordeiro 2019-07-26 18:29:41 +01:00
  • d1fc7c0774 [CORE] MySQL 5.5 support fully restored Diogo Cordeiro 2019-07-25 15:35:24 +01:00
  • 46be9b76ef [CORE] Fix wrong Profile_list schema and set created in user_im_prefs properly - by XRevan86 This reverts 496ab8c9, which was a bad correction of user_im_prefs values Diogo Cordeiro 2019-07-24 22:28:03 +01:00
  • 6c8d2e159e [DOCUMENTATION] Plugin events should be declared in the plugin's directory not in the core Diogo Cordeiro 2019-07-15 03:25:16 +01:00
  • db9bb6b5a1 [OStatus] null being returned instead of an empty array Fixes: "Invalid argument supplied for foreach" in onEndFindMentions Diogo Cordeiro 2019-07-10 00:10:18 +01:00
  • 5ea0d74a57 [UI] Long strings/words in dents weren't being wrapped Diogo Cordeiro 2019-07-09 23:52:57 +01:00
  • 30a1a460b7 Minor reformatting of upgrade.php, doesn't change functionality Diogo Cordeiro 2019-07-01 23:05:07 +01:00
  • 5eb61c17d4 Regression introduced in daa5f87f fixed by XRevan86 require_once(): Failed opening required 'Error.php' in extlib/DB/DataObject.php on line 562 Diogo Cordeiro 2019-07-01 22:42:37 +01:00
  • 0a4eeb89da [CORE][ROUTER] Fix wrong parameter in all/:tag by XRevan86 Diogo Cordeiro 2019-07-01 22:40:21 +01:00
  • 11dc170ead [CORE][FRAMEWORK] URL_REGEX_VALID_PATH_CHARS didn't recognize the parenthesis sign. Diogo Cordeiro 2019-06-26 15:47:30 +01:00
  • 98c0c1ed53 Implement $config['site']['logdebug'] Diogo Cordeiro 2019-06-25 22:59:10 +01:00
  • 83a05724b8 [CORE] Fix subscriptions and subscribers list (related to 44653d339d) Diogo Cordeiro 2019-06-24 14:01:37 +01:00
  • 44653d339d [Poll] Refactoring and minor bug fixes Diogo Cordeiro 2019-06-23 00:55:40 +01:00
  • f2705180e0 [TagSub] Fix User's tags list issue Issue introduced with 6d9f390b and 9a92b58057 Diogo Cordeiro 2019-06-12 23:44:40 +01:00
  • 306d80de94 [DATABASE] Revert accidental regression introduced with 9a39ebe66f Diogo Cordeiro 2019-06-14 11:59:21 +01:00
  • 2740ff8c4c [DOCUMENTATION] Minor corrections Add two missing contributors Bumped patch due to changed introduced with 0583a6a904 Diogo Cordeiro 2019-06-12 00:39:50 +01:00
  • 74ad4038ac Allow username or email in login form Daniel Supernault 2018-03-24 22:17:05 -06:00
  • 3f8593268e [Nodeinfo][TRANSLATION] Fix languages meta-data Diogo Cordeiro 2019-06-12 02:22:55 +01:00
  • 8ea83aac48 [OStatus] Wrong exception was being caught Diogo Cordeiro 2019-06-12 02:20:25 +01:00
  • 81d65afb28 [RELEASE] The Invicta Crusade Diogo Cordeiro 2019-06-11 18:37:10 +01:00
  • c93547b080 [OpenID] Added support for GS's Internal Session Handler Diogo Cordeiro 2019-06-10 04:11:26 +01:00
  • 54f75683c7 [OpenID] s/sync/synch This commit also fixes the translation in /plugins/OpenID/actions/finishopenidlogin.php#L203-L204 (s/Syncronize/Synchronize) Sync is a bad technical jargon and we should use Synch instead. Synch is already used in other parts of GNU social as seen in plugins/TwitterBridge/classes/Twitter_synch_status.php Diogo Cordeiro 2019-06-10 14:55:38 +01:00
  • abfd691fda Merge branch 'nightly' of biodantas/gnu-social into nightly Diogo Cordeiro 2019-06-09 23:44:43 +00:00
  • 20c73f0596 [FORMATING] Ran php-cs-fixer on lib/mediafile.php, lib/imagefile.php and classes/File.php Miguel Dantas 2019-06-09 23:26:48 +01:00
  • b224d93098 [MEDIA] ImageFile now extends MediaFile and validates images more aggressively. Default supported files need to use consistent names. Bumped version to 1.20.0 Miguel Dantas 2019-06-07 14:08:27 +01:00
  • 719bf065ca Merge branch 'nightly' of tenma/gnu-social into nightly Diogo Cordeiro 2019-06-09 17:16:01 +00:00
  • a1041a53f7 [THEME] Fix OpenID settings styles - Action buttons are now side-by-side - Dropped unused style rule concerning the solo-positioning of the Remove button - Bump GS patch version brunoccast 2019-06-09 18:01:55 +01:00
  • 711badb6b4 Merge branch 'openid-settings-sync' of tenma/gnu-social into nightly Diogo Cordeiro 2019-06-09 16:05:12 +00:00
  • 1e4063254b [OpenID] Added synchronization button and corresponding action brunoccast 2019-06-05 01:44:20 +01:00
  • b8352e912f [THEME] Fix styles identation brunoccast 2019-06-07 18:57:50 +01:00
  • 69a1d77480 [OpenID] Add sync confirmation in both OpenID settings and login connection brunoccast 2019-06-04 16:55:49 +01:00
  • 54d7a7cccd Merge branch 'fix-plugins-copyright' of tenma/gnu-social into nightly Diogo Cordeiro 2019-06-09 15:35:20 +00:00
  • c7afe2f86c [TRANSLATION] Update Plugin POs brunoccast 2019-06-09 03:56:32 +01:00
  • 5f4e3fe0eb [TRANSLATION] Update POTs and normalize files Diogo Cordeiro 2019-06-08 18:34:12 +01:00
  • fb95af1cf5 Added Spanish, Polish and Esperanto translations to NodeInfo plugin Miguel Dantas 2019-06-08 16:51:02 +01:00
  • 7b73d267d5 [TRANSLATION] Update license and copyright notice in translation files brunoccast 2019-06-08 14:48:37 +01:00
  • 08b6cfde66 [SESSION] Add backwards compatibility for third party plugins depending on old Session::cleanup() Namely Qvitter Diogo Cordeiro 2019-06-07 22:04:02 +01:00
  • 2110c20ecc [DOCUMENTATION] README.md should mention about the importance of running upgrade.php script Diogo Cordeiro 2019-06-07 16:41:44 +01:00
  • 9f51692f26 [NGINX conf] Move /var/run to /run As seen in https://lists.fedoraproject.org/pipermail/devel/2011-March/150031.html Thanks to XRevan86 for reporting this :) Diogo Cordeiro 2019-06-05 22:59:54 +01:00
  • 02c67fd114 [Nodeinfo][DATABASE][Usage_stats] Fix wrong type for modified column Diogo Cordeiro 2019-06-05 10:04:59 +01:00
  • b6be1a3659 [DATABASE][User_openid_prefs] Fix wrong type for modified column Patch submited by Sorokin Alexei (XRevan86) Diogo Cordeiro 2019-06-05 10:00:09 +01:00
  • 00b4a084ad PSR2-format brunoccast 2019-06-04 18:56:20 +01:00
  • 061e7891e9 Cleanup and documentation of common_ensure_session - Remove redundant branch - Remove error suppression of session_start() brunoccast 2019-06-04 01:02:46 +01:00
  • a1af5562de EmailRegistration plugin flow requires a confirmation address before user creation Diogo Cordeiro 2019-06-03 15:52:36 +01:00
  • df84ccd916 Nodeinfo has a special rule for upgrades Diogo Cordeiro 2019-06-03 02:39:39 +01:00
  • 2f118fde9e Update /main/version information Diogo Cordeiro 2019-06-03 02:20:13 +01:00
  • 46f98b3142 [VersionBump] 1.19.0, fairly late The core plugins whose version was attached to GS's were reseted to 2.0.0. Diogo Cordeiro 2019-06-03 01:56:52 +01:00
  • 72ee098e0b [DOCUMENTATION] EVENTS.txt: Add Nodeinfo plugin event Diogo Cordeiro 2019-06-02 21:00:50 +01:00
  • 43df2d201c Extend Action with redirect after login logic, update some actions to use it brunoccast 2019-06-02 13:55:12 +01:00
  • 691df04103 PSR2-format brunoccast 2019-06-02 13:46:39 +01:00
  • ab24f59660 [DOCUMENTATION] Add CONTRIBUTING information for developers Inspired both from GNU FM, postActiv and Moodle Diogo Cordeiro 2019-06-02 20:36:47 +01:00
  • 3886db64bc [DOCUMENTATION] Update README.md Diogo Cordeiro 2019-06-02 18:09:38 +01:00
  • e7a875755d [DOCUMENTATION] Move CREDITS to its own file and update list from postActiv Diogo Cordeiro 2019-06-02 17:13:27 +01:00
  • 7cf4e1bb09 [DOCUMENTATION] Convert INSTALL to markdown and update the requirements Diogo Cordeiro 2019-06-02 16:34:24 +01:00
  • eaea9d48c5 [DOCUMENTATION] Convert Configure to markdown, format and improve it by maiyannah and Normandy Diogo Cordeiro 2019-06-02 14:04:12 +01:00
  • 2e9fa8f4b7 [DOCUMENTATION] Reorganize documentation Diogo Cordeiro 2019-06-02 12:59:37 +01:00
  • d7d63e1464 [NGINX conf] Stop serving files as indexAphp, index:php Removed some boilerplate and overly specific configuration Diogo Cordeiro 2019-06-02 12:08:04 +01:00
  • bb175f3d4e [NGINX conf] Fix PHP files being served as files. Diogo Cordeiro 2019-05-29 13:14:11 +01:00
  • 4ca32628f7 [SESSION] Log messages were a bit confusing Reported by XRevan86 Diogo Cordeiro 2019-05-22 23:39:34 +01:00
  • 6b4beb90e1 Merge branch 'master' of postblue/gnu-social into master Diogo Cordeiro 2019-05-26 19:12:29 +00:00
  • d7adc4e13f Changing URI to community plugins page Guillaume Hayot 2019-05-26 20:40:36 +02:00
  • c13b935201 Removing community plugins Guillaume Hayot 2019-05-26 20:34:47 +02:00
  • 18fc39d2cf Fix noticesearch tag regex Diogo Cordeiro 2019-05-17 00:32:00 +01:00
  • c083a8bcc2 [SESSION] Implement SessionHandlerInterface instead of setting custom handlers by XRevan86 Diogo Cordeiro 2019-05-14 22:57:45 +01:00
  • e8783d46d0 [SESSION] Increase type strictness for full PHP adherence Documented this file (adapted from maiyannah's postActiv doc) This commit also fixes PHP Warning: session_write_close(): Session callback expects true/false return value in classes/Session.php on line 289 (spoted by XRevan86) Observation: In a newer release we will be replacing this kind of castings with actual explicit PHP7 return types Diogo Cordeiro 2019-05-11 21:20:09 +01:00
  • d9a42550ff is_rtl should handle lang instead of code Diogo Cordeiro 2019-05-14 15:51:42 +01:00
  • ceae66a30f [Nodeinfo] Fix twitterimport enabled check Diogo Cordeiro 2019-05-11 20:52:02 +01:00
  • 031a491abd Improved version of nginx sample config by XRevan86 Diogo Cordeiro 2019-05-11 20:04:18 +01:00
  • 1536d3ef29 [XML/HTML Outputter] General improvements and refactoring as well as some bug fixes Diogo Cordeiro 2019-05-06 23:58:45 +01:00
  • c03ed457a6 Fix broken user activitystreams feed due to deleted notices Diogo Cordeiro 2019-05-06 04:01:07 +01:00
  • d2e6519bad lib/ping.php - Fix PHP 7.3 Warning switch continue -> break Diogo Cordeiro 2019-05-05 14:03:55 +01:00
  • 688fa4839c [Nodeinfo] Correct HELP info on fix_stats.php Diogo Cordeiro 2019-05-04 22:51:30 +01:00
  • fe411e8138 Fix some typos/small obvious bugs on twitterRssGroupArray Diogo Cordeiro 2019-05-03 17:09:23 +01:00
  • 515682c0cd Merge branch 'ATOM-priority" from Alexandre Alapetite into HEAD source: https://git.gnu.io/gnu/gnu-social/merge_requests/174 Diogo Cordeiro 2019-05-03 13:26:06 +01:00
  • b17e0b4169 Update PEAR to v1.10.9 and patch it so it works quietly Diogo Cordeiro 2019-04-28 23:39:36 +01:00
  • daa5f87fd4 Ugly patch to maintain old DB handle code working quietly We have to replace this database engine with a modern one Diogo Cordeiro 2019-04-27 18:21:14 +01:00
  • d75b5d2f4a Make group edit and logo great again by XRevan86 Diogo Cordeiro 2019-04-27 17:39:42 +01:00
  • f6dbf66983 Undefined user in passwordsettings by XRevan86 Diogo Cordeiro 2019-04-27 15:15:11 +01:00
  • 6cf674f8f8 Some minor refactoring on session handler Diogo Cordeiro 2019-04-27 00:28:05 +01:00
  • 7845a09b34 RSVP asHTML throws a pretty exception that should go out of the div, by XRevan86 Diogo Cordeiro 2019-04-26 23:08:16 +01:00
  • e4d432295d Only variables should be assigned by reference caught by XRevan86 Diogo Cordeiro 2019-04-26 23:03:31 +01:00
  • 339204f1ee Fix negative one subscriptions by XRevan86 Only local users are subscribed to themselves. Diogo Cordeiro 2019-04-26 01:10:50 +01:00
  • a4e679a118 Add Registration form hook points by XRevan86 Diogo Cordeiro 2019-04-26 00:59:38 +01:00
  • 195296846e Add russian translation to NodeInfo plugin by XRevan86 Diogo Cordeiro 2019-04-26 00:43:58 +01:00
  • 7967db6ff5 Various obvious bug fixes and better PHP 7 support Many of these came from a XRevan86 patch Diogo Cordeiro 2019-04-26 00:34:17 +01:00