Commit graph

66 commits

Author SHA1 Message Date
Hypolite Petovan 0ca420c949 [frio] Make addon settings panels keyboard actionable
- Keep the addon panel open after form was submitted
2021-11-29 06:03:59 -05:00
Hypolite Petovan 39c763ce2f Add item_by_link hook to allow connectors to import remote posts 2021-11-23 17:47:02 -05:00
Hypolite Petovan a47830990a Improve probe_detect hook
- Remove Twitter probe from core
- Allow hook function to better abort the probe_detect process
2021-11-23 17:46:20 -05:00
Philipp Holzer 8f741c8b78
Remove afterpost() handling 2021-11-16 22:40:38 +01:00
Philipp Holzer 2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp Holzer ccd8895237
Adress feedback :) 2021-10-05 20:07:14 +02:00
Philipp aebbbbba28
Update doc/Addons.md
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-05 20:07:14 +02:00
Philipp Holzer 08d1dcf14c
Adapt documentation 2021-10-05 20:07:13 +02:00
Hypolite Petovan 66fec8944f Add block and unblock hooks 2021-10-02 17:30:40 -04:00
Hypolite Petovan c4a4473cd0 Remove the obsolete parameter $two_way from terminateFriendship methods
- Follow revokation is now done independently
2021-10-02 16:14:22 -04:00
Hypolite Petovan 72fae04e97 Add revoke follow feature
- Add new follow revoke module
- Add new hooks: revoke_follow, support_follow, support_revoke_follow
- Add link in contact page action menu
2021-10-02 14:01:46 -04:00
Hypolite Petovan 52b8cd054d [Docs] Move unfollow hook instances in the correct file 2021-10-02 13:53:21 -04:00
Hypolite Petovan 797391e1d8 Rework contact termination to separate protocol-level and contact-level
- Mail and Feed contacts are now removed automatically on relationship termination
- Added logging and notice messages for different results
2021-10-02 08:31:59 -04:00
Michael 96055cafff Merge remote-tracking branch 'upstream/develop' into conversation-moved 2021-09-26 03:57:31 +00:00
Hypolite Petovan d8febbe45e Add new hook to support unfollow contacts on non-native networks 2021-09-25 16:15:06 -04:00
Michael 0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
Hypolite Petovan 37a30434bb Remove remaining mentions of $a->argc/argv
- This was breaking the layout of specific pages in Frio
2021-08-17 08:26:12 -04:00
Michael b5f59d5be0 API: Support for deprecated API endpoints and OAuth removal 2021-07-20 20:48:37 +00:00
very-ape 9ddaabc22d Move the 'authenticate' hook deeper into the authentication flow so that password authentication addons are consulted whenever a user's password needs confirming. 2021-05-19 13:11:31 -07:00
Hypolite Petovan bf127c97ff Remove mod/subthread file 2021-01-31 17:36:18 -05:00
Hypolite Petovan d7b5674476 Move mod/lockview to Module\PermissionTooltip
- Add explicit type parameter to lockview() in main.js
2020-07-27 01:58:53 -04:00
Hypolite Petovan a13e004df0 Delete include/items.php
- Remove all references
2020-07-14 10:21:31 -04:00
Hypolite Petovan 6bed6d5587 Add probe_detect hook 2020-06-06 14:54:04 -04:00
Hypolite Petovan 8e2910976f Remove usage of profile.gender 2020-01-27 23:00:18 -05:00
Philipp Holzer 174129af94
add missing namespaces/fix wrong class-names 2020-01-19 16:31:35 +01:00
Philipp Holzer bfae6766bf
Implement Hook::callAll('storage_instance') call for addons and add a description for it.
- Remove implicit Dice usage
- Add concrete instance creating
- Adding Hook call for addon instance creating
- Updating doc for Hook
- Updating tests
2020-01-10 13:22:03 +01:00
Hypolite Petovan e84ad15569 Replace remaining $a->page by DI::page() 2019-12-30 17:35:01 -05:00
Philipp Holzer c7230932d6
Remove deprecated App::registerStylesheet()/FooterScript() - replace with DI::page()->registerStylesheet()/FooterScript() 2019-12-29 20:17:49 +01:00
Philipp Holzer afb93ab0fe
move Hook doc 2019-12-05 23:19:27 +01:00
Michael a6ae6a83b8 Added hooks for the email fetch process 2019-11-20 20:57:34 +00:00
Philipp Holzer b8b1b1c1b3
remove references 2019-10-23 03:02:38 +02:00
Hypolite Petovan 02f02d44dc Move mod/manage to src/Module/Delegation
- Move templates/manage to templates/delegation
- Update navigation links
- Update CSS classes
2019-10-11 19:59:06 -04:00
Hypolite Petovan 4e207ef786 Enable addon using emailer hooks to skip default call to mail() 2019-05-26 21:36:09 -04:00
Hypolite Petovan 8090168aba
Improve addon documentation
- Enforce naming standards for <addon>
- Add info about automatic hook remove on uninstall
- Add info about admin settings
2019-05-08 11:14:57 -04:00
Hypolite Petovan 9ed3f3d6d0
Merge pull request #6978 from annando/no-queue
Remove the queue from the core
2019-04-07 08:05:51 -04:00
Michael 46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
Hypolite Petovan e281b23672 Added doc for route_collection hook 2019-04-03 23:45:55 -04:00
Hypolite Petovan 87b595ad66 Added documentation for jot_networks hook 2019-03-24 22:57:23 -04:00
Hypolite Petovan c90314cd6a Replace deprecated Addon::*registerHook by Hook::*register
- Updated documentation
2019-01-21 09:50:57 -05:00
Hypolite Petovan 55e54bb950 Replace deprecated Addon::callHooks with Hook::callAll
- Update documentation
2019-01-21 09:50:56 -05:00
Michael 3d8a343ab2 Added documentation 2018-11-10 16:55:12 +00:00
Adam Magness 35abc4bb64 get markup template
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness 91facd2d0a replace macros
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Hypolite Petovan 6b1f490a2a
Updated documentation for logged_in hook location 2018-10-19 15:15:24 -04:00
Hypolite Petovan 2fff1f389d Improve Addons doc further
- Fix whitespaces
- Add details about __DIR__
- Add details about event listeners
2018-09-24 19:27:35 -04:00
Hypolite Petovan be348cf8c8 Remove addon_hooks template variable
- Update addon documentation
2018-09-24 08:16:26 -04:00
Hypolite Petovan 2ae6556b32 Add new 'head' hook
- Add new App->registerStylesheet method
- Reworked App->init_pagehead into App->initHead
2018-09-20 21:30:51 -04:00
Hypolite Petovan 55f1d7b90e Add new footer hook
- Add new App->footerScripts array
- Add footer.tpl template
- Add documentation
- Rework App->init_page_end to App->initFooter
2018-09-20 21:01:05 -04:00
Hypolite Petovan 7dd6fb3b3c Rewrite JS hooks
- Use event listeners instead of homebrew hooks
- Remove view/js/addon-hooks.js and its references
- Update Addon docs
2018-09-19 22:51:51 -04:00
Hypolite Petovan de7277ac69 Add load_config hook doc 2018-07-16 19:38:15 -04:00