Commit Graph

80 Commits

Author SHA1 Message Date
Hypolite Petovan df1c74bd33 Make "like" links one way
- Updated dolike() function to accept a "un-" switch
- [frio] Updated doLikeAction() function to call dolike() instead of having duplicated code
- Added boolean logic (with explanatory truth table) to smartly delete existing activities in Model\Item::performActivity
- Moved verb/activity parameter handling closer to their use in Model\Item::performActivity
- Updated all references to dolike() and doLikeAction() to include the "un-" switch
2020-05-27 08:41:13 -04:00
Hypolite Petovan 2d217129b9 Improve performance of asynchronous like/update
- Make the like module return earlier instead of outputting a full empty HTML page
- Update the force_update variable earlier to prevent spilling on multiple unrelated nav update calls
2020-05-27 08:41:10 -04:00
Hypolite Petovan 7e37378c2a Add page title notification count display 2020-05-26 10:28:53 -04:00
Hypolite Petovan e0e131b620 Move perfect-scrollbar dependency back to composer.json 2020-05-06 21:49:34 -04:00
Michael f3bf723cc7 Moved to view/js 2020-05-05 12:42:30 +00: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
Hypolite Petovan 682fb7e4e2 Move community module to src/
- Use boundaries pagination instead of number pages
- Trim down community update module output
- Part of https://github.com/friendica/friendica/issues/4090
2020-02-16 04:41:22 -05:00
Hypolite Petovan 0b0309ce8f Remove pager parameter from conversation()
- Add getUrlParameter() Javascript function to determine current page
2020-02-13 23:40:00 -05:00
Michael cf9070c396 Removed unneeded CSS and JS stuff 2020-02-05 16:30:35 +00:00
Philipp Holzer 5a9ec841af
Make Notification bubble work again 2020-01-25 17:25:11 +01:00
Philipp 09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
Philipp Holzer 0458b9c2df
rename notify => notification once more :-) 2020-01-24 19:08:03 +01:00
Philipp Holzer b229939c3d
rename CSS attributes notify => notification 2020-01-24 18:56:34 +01:00
Philipp Holzer 0f932ae723
Notify => Notification
Notifs => Notifications
2020-01-24 18:32:38 +01:00
Hypolite Petovan cc007f715d Add sortability to custom profile fields form 2020-01-22 19:42:36 -05:00
Philipp Holzer 6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Michael e7a652851e Use only the first part of the path for the local storage 2020-01-14 07:04:42 +00:00
Michael b83f328983 Remove "f" parameter / network page parameter cleanup 2020-01-13 20:10:13 +00:00
Michael d9f26aed66 Use local storage 2020-01-12 12:56:44 +00:00
Michael cfeef7afed We now store the state in a cookie 2020-01-11 08:41:14 +00:00
Hypolite Petovan d01d69b9e7 Update doignore() in main.js to match new Item\Ignore return type
- Remove superfluous jQuery selectors
2019-11-30 23:16:34 -05:00
Hypolite Petovan 39d0735236 Update linkPreview to allow using a generic selector
- The individual textareas still need an id attribute to be set
2019-11-28 12:54:56 -05:00
Hypolite Petovan e8f91d7e54 Ensure the preview parameter is set to 1 when doing a preview
- The element #jot-preview might not exist
2019-11-28 12:54:56 -05:00
Hypolite Petovan b64b18e6f7 Remove obsolete view/js/acl.js
- Remove references to the deleted file
2019-11-28 12:54:56 -05:00
Hypolite Petovan ae3d4f63a3 Use visibility tags input for the default ACL selector
- Move friendica-tagsinput to default view folder
- Update all references to ACL::getFullSelectorHTML
- Fix theme-specific issues with the new ACL
2019-11-28 12:54:53 -05:00
Michael cf56992444 We can now pin our own posts 2019-11-07 05:39:15 +00:00
Philipp Holzer 062e472314
Rename route '/ignored/{iid}' to '/item/ignore/{iid}' 2019-10-24 17:18:29 +02:00
Hypolite Petovan 5fcdb5de00 Move duplicated insertFormatting function to main.js
- Add insertBBCodeInTextarea function
- Add BBCode url exception to insertBBCodeInTextarea
2019-10-11 19:59:28 -04:00
Hypolite Petovan 088eb3391e Move urlRegex JS constant to main.js 2019-10-11 19:59:28 -04:00
Hypolite Petovan 8f20e2054b Move /acl module to src/
- Move Core\ACL::contactAutocomplete to Module\Search\Acl
- Rename module path to /search/acl
2019-10-03 22:40:42 -04:00
Hypolite Petovan 4343e0c592
Update autocomplete.js 2019-09-03 15:30:02 -04:00
Hypolite Petovan 3670e7f9c8 Remove unevenly supported lookbehind from link preview regular expression
- Simplify link preview condition
2019-08-29 21:12:53 -04:00
Michael Vogel 3c7f7b45cd
Merge pull request #7565 from MrPetovan/bug/7406-neutralize-enter-in-autocomplete
Prevents Enter from submitting forms in ACL fields
2019-08-26 11:37:38 +02:00
Hypolite Petovan cba40dc9fd Prevents Enter from submitting the jot form in the ACL search field
- Disable browser autocomplete in jot ACL search field
2019-08-25 21:03:29 -04:00
Hypolite Petovan 082827b67e Remove unused Javascript methods and functions 2019-08-24 13:00:16 -04:00
Hypolite Petovan 895faddf82 Prevents linkPreview to match on URLs lead by an equal sign
- Prevent automatic link preview matching on inserted image BBCode
2019-08-16 23:04:46 -04:00
Hypolite Petovan c25527cbe8 Replace obsolete #comment-preview-inp field by query string append 2019-07-29 21:58:37 -04:00
Michael dfee2c467c Use another "img" format to simplify adding of alternative texts 2019-07-29 20:42:42 +00:00
Hypolite Petovan dc2f1d6bd3 Add global Javascript Element.matches polyfill 2019-06-03 08:30:24 -04:00
BinkaDroid 2dbeae701f
fixing error "json not defined" in frio
when trying to attach video-link to post
2019-04-11 21:37:58 +02:00
Hypolite Petovan f17a6007e5 Fix confusion when connector checkboxes are disabled for private posts
- Saves connector checkbox state when disabling them
- Restores connector checkbox state when reenabling them
2019-03-24 22:42:03 -04:00
Hypolite Petovan 0a58e4c952 Improve contactgroupChangeMember() javascript function
- Add usage of new /group/123/add|remove/123 URL
- Add checkbox revert in case of error
2019-02-23 17:32:41 -05:00
Hypolite Petovan ae3bf47019 Improve global open/close functions in main.js 2019-02-14 22:26:18 -05:00
Hypolite Petovan d7dbc632f8 Improved comment hiding interaction
- Remove global window.showMore and window.showFewer
- Improve global showHideComments function
- Remove frio-specific showHideComments function
2019-02-14 22:24:34 -05:00
rabuzarus b7573a94ee linkPreview - workaround for mising 's' flag ins js regex 2019-02-13 22:26:56 +01:00
rabuzarus f6691c138a bugfix: linkPreview - remove s flag from regexp because FF don't support it 2019-02-13 15:14:56 +01:00
Tobias Diekershoff 29fcb2e7ee typo 2019-02-12 13:59:33 +01:00
Tobias Diekershoff 173a17d0e0 tagged the JS files in view/js with their licenses 2019-02-12 11:29:50 +01:00
rabuzarus b0372e5e93 attachment preview: fix a bug if inserted text did contain a new line between content and url 2019-02-04 01:23:30 +01:00