Commit graph

64 commits

Author SHA1 Message Date
e8ab396d48 Perfgorm a reload after following a thread 2021-02-27 21:57:38 +00:00
7f78d6e722 Replace references of GET mod/substhread with POST item/{id}/follow 2021-01-31 17:36:18 -05:00
b31fc3bfa9 Move GET starred/{id} to POST item/{id}/star 2021-01-31 14:21:57 -05:00
5d270fbb54 Rename dostar() to doStar() 2021-01-31 14:21:09 -05:00
6d31c11e57 Move GET item/ignore/{id} to POST item/{id}/ignore 2021-01-31 12:56:44 -05:00
586d39420e Rename doignore to doIgnoreThread 2021-01-31 12:55:50 -05:00
151db1104a Move GET /like/{id} to POST /item/{id}/activity/{verb} 2021-01-31 08:41:04 -05:00
3a18669730 Rename dolike to doActivityItem 2021-01-31 08:39:47 -05:00
188f7b0eb0 Move GET pinned/{id} to POST item/{id}/pin 2021-01-30 18:42:23 -05:00
b3b2bc96ba Rename dopin() to doPIn 2021-01-30 18:12:01 -05:00
46ed610d04 Restore auto-complete feature in comments forms
- New catch-all feature supports network/display pages, infinite scroll and live updated conversations
2020-12-27 20:36:33 -05:00
481925c353 Fix infinite content ajax call parameters
- Ajax request could end up in a 404 if the page URL didn't have at least a query string parameter
2020-11-02 20:07:26 -05:00
9870c8584f Improved check for existing data 2020-10-23 20:29:29 +00:00
d6662d65dd Log messages removed 2020-10-21 12:13:57 +00:00
1fc36c4470 Only auto update when there is content 2020-10-20 20:43:51 +00:00
4427876c05 Implement correct behavior for min_id in boundary pagination
- The previous behavior of since_id systematically showed the most recent results
2020-10-13 00:11:39 -04:00
99fc97f337 Removing the page number from the infinite scrolling 2020-09-26 21:46:22 +00:00
dd82f150ca Rework of the network page 2020-08-13 20:07:13 +00:00
d7b5674476 Move mod/lockview to Module\PermissionTooltip
- Add explicit type parameter to lockview() in main.js
2020-07-27 01:58:53 -04:00
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
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
7e37378c2a Add page title notification count display 2020-05-26 10:28:53 -04:00
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
0b0309ce8f Remove pager parameter from conversation()
- Add getUrlParameter() Javascript function to determine current page
2020-02-13 23:40:00 -05:00
cf9070c396 Removed unneeded CSS and JS stuff 2020-02-05 16:30:35 +00:00
5a9ec841af
Make Notification bubble work again 2020-01-25 17:25:11 +01:00
0458b9c2df
rename notify => notification once more :-) 2020-01-24 19:08:03 +01:00
b229939c3d
rename CSS attributes notify => notification 2020-01-24 18:56:34 +01:00
0f932ae723
Notify => Notification
Notifs => Notifications
2020-01-24 18:32:38 +01:00
e7a652851e Use only the first part of the path for the local storage 2020-01-14 07:04:42 +00:00
b83f328983 Remove "f" parameter / network page parameter cleanup 2020-01-13 20:10:13 +00:00
d9f26aed66 Use local storage 2020-01-12 12:56:44 +00:00
cfeef7afed We now store the state in a cookie 2020-01-11 08:41:14 +00:00
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
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
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
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
088eb3391e Move urlRegex JS constant to main.js 2019-10-11 19:59:28 -04:00
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
c25527cbe8 Replace obsolete #comment-preview-inp field by query string append 2019-07-29 21:58:37 -04:00
dc2f1d6bd3 Add global Javascript Element.matches polyfill 2019-06-03 08:30:24 -04:00
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
ae3bf47019 Improve global open/close functions in main.js 2019-02-14 22:26:18 -05:00
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
173a17d0e0 tagged the JS files in view/js with their licenses 2019-02-12 11:29:50 +01:00
Jonny Tischbein
93d50af700 move live update: update_contacts to update_contact 2018-11-06 22:22:42 +01:00
14237a9599 Move $pager and $page_offset out of App
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
Jonny Tischbein
d2b5f77be9 Add multimedia link for jot + enables hover text in jot + autosize in when paste link + renaming / Code Standards 2018-10-24 16:20:10 +02:00
Michael Vogel
103535d620
Merge pull request #5773 from MrPetovan/task/rewrite-js-hooks
Rewrite JS hooks
2018-10-01 17:10:30 +00:00