Commit graph

5969 commits

Author SHA1 Message Date
Hypolite Petovan b9117ceddc Remove share_header() function from mod/share 2020-06-18 11:23:57 -04:00
Hypolite Petovan 1f20111c80 Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 08:53:57 -04:00
Hypolite Petovan f544c8383b Implement pull request feedback
- Improve formatting of drop_item in mod/item
- Replace deprecated Logger::log() calls in Protocol\Feed::consume
2020-06-17 21:44:28 -04:00
Hypolite Petovan 3d55ef1546 Move drop_items and drop_item out of include/items
- They were only used in mod/item
2020-06-17 13:24:44 -04:00
Hypolite Petovan f9ecbbd743 Exclude [img] tags from tag replacement
- It broke image captions by inserting an HTML link inside an HTML attribute
2020-06-16 16:34:16 -04:00
Michael da82c3aea4 redir - clicking on title of own post leads to access denied error
Fixes friendica/friendica#8769
2020-06-14 18:40:02 +00:00
Michael Vogel aedbb0d627
Merge pull request #8753 from MrPetovan/bug/fatal-errors
Remove dependency to App in Contact::createFromProbe
2020-06-12 06:58:20 +02:00
Michael Vogel 9b85d0b16e
Merge pull request #8740 from MrPetovan/task/frio-improve-share-display
[frio] Improve share blocks display
2020-06-11 07:32:29 +02:00
Hypolite Petovan 7b3581320b Add missing return variable while replacing tags in mod/item 2020-06-10 17:23:07 -04:00
Hypolite Petovan a5a7855d39 Remove dependency to App in Contact::createFromProbe
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-641259906
2020-06-10 10:36:42 -04:00
Hypolite Petovan e7f50a05d1 Move handle_tag() to Content\Item::replaceTag 2020-06-10 10:13:32 -04:00
Hypolite Petovan 89b3ae2657 Add null/empty string parameter value case in BBCode::convert
- Remove obsolete coalesce operator uses
2020-06-08 19:15:08 -04:00
Hypolite Petovan 0c1e876ee0 Remove superfluous indentation level in mod/poco 2020-06-08 18:58:05 -04:00
Hypolite Petovan 31d6a6157c Add tag escaping to tag handling in mod/item 2020-06-08 18:40:21 -04:00
Hypolite Petovan 76460ddd2d Add tag escaping to Item::setHashtags
- Add return value to Item::setHashtags
2020-06-08 18:40:21 -04:00
Hypolite Petovan d6fd5b273b Ensure $categories is set in mod/item
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-639052328
2020-06-04 21:32:47 -04:00
Michael 117d0e7362 Removed unused parts 2020-06-03 10:33:54 +00:00
Michael b36fb80eb9 File ending, Error Message 2020-06-03 09:40:43 +00:00
Michael 1ca804b638 Issue 8714: Make redirects more secure 2020-06-03 05:14:45 +00:00
Michael 20b93306ad Handling situations where "vid" is empty 2020-05-31 14:38:00 +00:00
Michael Vogel 235f4eaa89
Merge pull request #8697 from MrPetovan/task/8691-like-links-one-way
Make like links one way
2020-05-29 15:33:24 +02:00
Michael 0acb5d4558 "parent = id" is replaced with gravity check 2020-05-28 16:02:36 +00:00
Hypolite Petovan 9ebb2c6527 Implement existing force query string parameter in mod/update_display
- Prevented single item display update when "like" interactions were removed because the item wasn't "unseen"
2020-05-27 08:28:09 -04:00
Michael 973abb6196 Replace "id = parent" checks with "gravity" checks 2020-05-27 12:19:06 +00:00
Michael ba9cf32f36 The "item-activity" is removed 2020-05-26 05:18:50 +00:00
Hypolite Petovan 62f3c1f4b8
Merge pull request #8647 from annando/annando/issue8619
Issue 8619: Limit the tag query to a range of one day
2020-05-17 14:00:55 -04:00
Michael 3b1d89252a Issue 8582: "cid" in "network" is now "contactid"
Fixes #8582
2020-05-17 15:01:27 +00:00
Michael c8954a25ba Limit the tag query to a range of one day
Fixes #8619
2020-05-17 05:24:51 +00:00
Hypolite Petovan bf8bb47d7d
Merge pull request #8633 from annando/notice
Fix: Undefined index: uri-id in src/Model/Tag.php on line 403
2020-05-15 08:46:57 -04:00
Michael a1fc9df4ee Fix: Undefined index: uri-id in src/Model/Tag.php on line 403 2020-05-14 20:44:03 +00:00
Hypolite Petovan 75977ee72b Remove remaining references to cirtual field item.tag 2020-05-13 22:35:13 -04:00
Hypolite Petovan b2ce9601da
Merge pull request #8616 from annando/annando/issue8614
Order of filed items in saved folders seems to be random
2020-05-09 20:10:57 -04:00
Michael cd214102af Order of filed items in saved folders seems to be random
Fixes #8614
2020-05-09 18:47:56 +00:00
Michael 258e9df064 Moved the check for a comment to a different place 2020-05-09 15:50:49 +00:00
Michael 221a659abe Unused variables removed 2020-05-09 09:38:49 +00:00
Michael 556cc3fb13 Always mention the parent author 2020-05-09 08:08:33 +00:00
Michael d5f64e1156 Issue 8610: Implicit mentions work again 2020-05-09 06:33:59 +00:00
Michael 856cf7f664 Don't count and fetch "follow" activities 2020-05-07 18:39:39 +00:00
Michael 180b4e51df fix a fatal error when displaying photos 2020-05-06 04:58:25 +00:00
Michael d33f6fc167 Renamed function 2020-05-05 21:58:25 +00:00
Michael 980de37047 Removed legacy usage of the "tag" field 2020-05-05 19:54:25 +00:00
Michael 3d4ace7a9d Merge branch 'no-term3' into no-term2 2020-05-05 16:09:50 +00:00
Michael b7e25d16e7 Removed usage of "tag" field 2020-05-05 05:11:59 +00:00
Michael 875d6b36e9 File and category aren't using "term" anymore 2020-05-03 15:13:40 +00:00
Michael b0cb6536dd The old tag handling is removed 2020-05-02 05:08:05 +00:00
Michael 729c6b67aa the "term" field now is called "name", workaround removed 2020-05-01 15:18:48 +00:00
Michael 74081a71ff Removed unused "use" 2020-05-01 13:26:13 +00:00
Michael 029a379060 Move "isType" to Tag.php 2020-05-01 12:39:41 +00:00
Michael ac2957c4dd Some more "term" to "tag" conversion 2020-05-01 10:57:32 +00:00
Michael 1f64e672ba Subscribed tags are now based on the tags as well 2020-05-01 07:18:15 +00:00
Michael 8c44f535b7 Merge remote-tracking branch 'upstream/develop' into write-tags 2020-04-29 02:38:33 +00:00
Michael 10ffd3a374 Iissue 8560: Wrong value for parent in mail notification 2020-04-28 20:32:39 +00:00
Michael 70e5639e29 Merge 2020-04-28 13:33:03 +00:00
Michael f75009c20c Some more forgotten DBA::close 2020-04-28 07:10:18 +00:00
Michael 7f5f68a904 More preparations for term to tag transition 2020-04-26 16:15:39 +00:00
Michael a5aa43469b Some more places with owner-view 2020-04-24 13:41:11 +00:00
Michael c4f7f3e26e And some more view calls added 2020-04-24 12:59:19 +00:00
Michael 0950e4bada Another view 2020-04-24 12:09:51 +00:00
Michael 4181eb37f5 More joins replaced by view calls 2020-04-24 11:55:46 +00:00
Hypolite Petovan 43b8bdea07
Merge pull request #8520 from annando/term2tag
We now store tags in "tag"
2020-04-22 22:56:07 -04:00
Hypolite Petovan 16f48731b1 Remove album name bin2hex conversion in file browser
- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
2020-04-21 22:14:11 -04:00
Michael Vogel ee098277b9
Merge pull request #8530 from MrPetovan/task/8498-move-poke-to-src
Move poke module to src/
2020-04-21 05:56:59 +02:00
Hypolite Petovan 7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
Michael 9e9a104320 Tags can now be added and removed from photos 2020-04-18 20:46:41 +00:00
Michael 060503eb44 Tagger is now storing the tag as well 2020-04-17 13:36:55 +00:00
Michael 3ff607deee Store tags for locally created posts 2020-04-15 19:46:47 +00:00
Michael 661dd43b0d Term constants updated 2020-04-13 19:24:22 +00:00
Hypolite Petovan 1e32f74b0b Rework Module/Objects
- Merge two item queries into one
- Add ETag check
- Use Router parameter
2020-04-05 18:00:46 -04:00
Hypolite Petovan 594db70a72
Merge pull request #8500 from lynn-stephenson/develop
Fix Password Reset Token Security
2020-04-05 08:15:31 -04:00
Lynn Stephenson 6cbcea1aac
Update lostpass.php
reduce info leakage on password reset tokens
2020-04-04 08:10:39 +00:00
Lynn Stephenson f459a35cf4
Update lostpass.php
use CSPRNG for password reset token generation
2020-04-04 08:06:49 +00:00
Hypolite Petovan 40a7a43bd2 [frio] Add link to Compose page in jot 2020-04-03 16:33:00 -04:00
Hypolite Petovan 5ce404f517 Refactor user settings page
- Fix header hierarchy
- [frio] Fix panel display
- Move checkbox sub-template calls to template
2020-04-01 19:06:00 -04:00
Hypolite Petovan 3c50f985a9 Remove modal window for default post permission setting 2020-04-01 09:21:26 -04:00
Michael d3722c945b Improved Mime Type detection 2020-04-01 05:42:44 +00:00
Steffen K9 6ea9c1764c
remove default from match.php 2020-03-29 11:37:23 +02:00
Steffen K9 0ddda6160b
Remove multi profile mention in settings
Remove multi/default profile mention in settings privacy.
2020-03-29 11:17:08 +02:00
Hypolite Petovan 7fabafdce6 Enable visibility request parameter to override default user permissions in mod/item 2020-03-24 16:34:19 -04:00
Michael 8bde222fca Issue 8371: Use correct user id for photo upload 2020-03-22 14:07:34 +00:00
Michael 505aa95c3d Fixed wrong contact permisssion 2020-03-22 10:05:52 +00:00
Michael 6de2b0f6d4 Reworked permission stuff 2020-03-21 18:30:40 +00:00
Michael 2234a095c6 Issue 8371 again: Fallback for item permissions 2020-03-20 04:52:04 +00:00
Michael 29bd37cda2 Issue 8371: Ensure to always have permissions 2020-03-19 21:55:31 +00:00
Michael 37376fa715 Issue 8371: Improvements for picture permissions 2020-03-08 13:16:59 +00:00
Michael a55057d974 Function renamed to better reflect the purpose 2020-03-05 08:03:05 +00:00
Michael 825a7f9f93 Issue 8321: Follow items now work again 2020-03-05 07:16:47 +00:00
Michael 55f43be92a Changed setting description 2020-03-03 04:03:37 +00:00
Michael a19151fa6a Improved description, support for "unlisted" via DFRN as well. 2020-03-02 22:35:25 +00:00
Michael 72c198990e Merge remote-tracking branch 'upstream/develop' into private 2020-03-02 15:05:00 +00:00
Michael 31f912b78e Warning removed 2020-03-02 14:51:53 +00:00
Michael 4bf04dd6ee Fixed fatal error 2020-03-02 12:29:08 +00:00
Michael ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Philipp 27b60b200e
Merge pull request #8352 from MrPetovan/bug/8002-album-drop-cancel
Use sensible URLs for return after album actions instead of $_SESSION['photo_return'] in mod/photos
2020-03-01 22:21:33 +01:00
Michael Vogel 057df09ffb
Merge pull request #8353 from MrPetovan/bug/8219-frio-fix-contact-csv-import
[frio] Enable file upload in settings form
2020-03-01 21:08:19 +01:00
Hypolite Petovan ad2b9198a4 Remove last on/off data occurrences in additional features
- Address https://github.com/friendica/friendica/issues/7999#issuecomment-589808923
2020-03-01 14:15:08 -05:00
Hypolite Petovan 7ef3308a8d Improve feedback in mod/settings 2020-03-01 10:15:35 -05:00
Hypolite Petovan f814ca30d3 Use sensible URLs for return after album actions instead of $_SESSION['photo_return'] in mod/photos 2020-03-01 09:56:02 -05:00
nupplaPhil 4f2bea5cb1
Move "regmod" functionality into Admin Users page 2020-02-29 17:10:29 +01:00
nupplaPhil b4f6e8fda1
Move "User::deny()" to own method and update usages 2020-02-29 17:10:28 +01:00
nupplaPhil 6aee153bbd
Move "User::allow()" to own method and update usages 2020-02-29 17:10:27 +01:00