Commit Graph

1317 Commits

Author SHA1 Message Date
Michael cfac13790b "escapeTags" is finally removed 2021-11-07 09:18:25 +00:00
Hypolite Petovan 41062eb7e4 Add new purge contacts option to admin server blocklist
- Move adding a server domain pattern to the blocklist in a separate module to allow reviewing the list of known servers that would be affected
2021-11-06 01:36:53 -04:00
Hypolite Petovan 068c567b3d Move server block list HTML escaping to templating 2021-11-06 01:34:16 -04:00
Philipp 62bacbb833
Remove 'maxloadavg_frontend' restriction in Friendica 2021-11-05 20:52:43 +01:00
Michael 8185c591d8 New option to activate/deactivate contact avatar cache 2021-10-23 17:18:30 +00:00
Hypolite Petovan aea07a7c15 Add new purge contact content option to admin contact blocklist 2021-10-16 19:29:38 -04:00
Hypolite Petovan 9935e8e711 Remove event.adjust field
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Tobias Diekershoff 195d3ecd65 remove unneeded tabs 2021-10-03 17:03:05 +02:00
Tobias Diekershoff 4c04ec483f restore jot.tpl file formatting 2021-10-03 17:03:05 +02:00
Tobias Diekershoff f0763c4eaf add character counter to themes other then frio
Only vier needed some styling so that the counter looked fitting.

closes #2525
2021-10-03 17:03:05 +02:00
Hypolite Petovan 47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
Hypolite Petovan 222333f64f Remove contact drop feature
- Feature was confusing, sometimes ineffective and overall overlapping with unfollow/block
2021-10-02 16:04:28 -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 9918fa3ec0 Move translation strings in their own array for confirm templates 2021-10-02 13:52:54 -04:00
fabrixxm 0638e23f7a Mark string translatable in View logs
and update messages.po
2021-10-01 16:46:55 +02:00
Tobias Diekershoff f51438c168 unescape HTML from the relocation warning message 2021-10-01 14:05:17 +02:00
Hypolite Petovan 06b8f93eae Add support for specific confirm value in confirm.tpl
- button tags allow for a different value from the label
2021-09-14 17:28:07 -04:00
Hypolite Petovan 75d3f5094b
Merge pull request #10683 from annando/proxify
Make the proxy functionality optional
2021-09-10 10:24:17 -04:00
Michael Vogel 18470da84a
Merge pull request #10673 from MrPetovan/task/10672-contact-module-security-token
Add form security token to contact actions
2021-09-09 14:51:19 +02:00
Michael bdb5aa6bd9 Make the proxy functionality optional 2021-09-09 12:40:19 +00:00
Michael be3f7e4528 Fix for PR 10674: Changing the template variables according to the last changes 2021-09-06 20:25:23 +00:00
Hypolite Petovan e9aa27b19f Add form security token to contact actions
- Add token to batch POST actions
- Add token to individual GET actions
2021-09-06 12:30:38 -04:00
Hypolite Petovan 5262843e63 Add redirect URL parameter to contact batch
- This allows redirection to the correct contact tab after a batch action
2021-09-05 14:54:51 -04:00
Hypolite Petovan 6e358bfacf Remove user-controlled contact archival feature
- Archival is managed at the system level for failed probing and doesn't make sense for a user to decide on it
2021-09-05 14:54:50 -04:00
Michael 52ca3e5417 Remove all traces of "rino" 2021-09-05 18:34:44 +00:00
Philipp 687e6841bc
Rename Storage Backend labels 2021-09-02 23:27:35 +02:00
Michael 58abaf5c53 Merge remote-tracking branch 'upstream/2021.09-rc' into issue-10640-c 2021-09-01 18:34:24 +00:00
Michael c8d2c87af0 Issue 10640 - Inverse user display settings 2021-09-01 18:29:45 +00:00
Philipp 728e82d8b0
Improve translation for Storage module 2021-09-01 14:00:23 +02:00
Tobias Diekershoff 5fe1ab0758 missing $ in template
The admin/site.tpl file had a missing $ from a variable name thus Smarty
could not compile the template.
2021-09-01 10:54:56 +02:00
Michael 85e2328b23 Issue 10640: Some more inversed settings 2021-08-31 19:26:17 +00:00
Michael 3944e5d38e Disable mail setting when imap support is disabled 2021-08-30 21:17:03 +00:00
Michael e3c7cd25e1 Issue 10640: Use consistent settings to enable protocol support 2021-08-30 19:46:10 +00:00
Michael 42de5c77d0 The desktop notifications have been reworked 2021-08-21 20:35:04 +00:00
fabrixxm 7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm 5b9aeeeca9 Add search and filter to log view 2021-08-19 14:55:33 +02:00
fabrixxm 9368f5445d Display structured logs in admin
Tries to parse log lines and to display info in a table.
Additional JSON data is parsed and displayed clicking on a row.

File reading and line parsing is handled in iterators, to avoid to keep
too much data in memory.
Search and filter should be trivial to add.
Log file is read backward to display log events newest first.
A "tail" functionality should be easy to implement.
2021-08-19 14:55:33 +02:00
Michael 473adaf463 Mark, file and starring does now work for all items 2021-08-12 05:28:47 +00:00
Michael bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
Michael b2bf467afc Issue 10568: Deleting of scheduled posts didn't work 2021-08-03 12:29:46 +00:00
Michael 45f325d025 Fix the "delete" icon 2021-08-02 21:36:27 +00:00
Michael Vogel 5a2fa2f81a
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-02 22:38:08 +02:00
Michael 88e276843e Using "post" when deleting, fixing deleting 2021-08-02 19:18:44 +00:00
Michael f87e41e206 Scheduled posts are now listed and can be deleted 2021-08-02 17:03:06 +00:00
Michael 2e2d1bf81d Added option to define a schedule date when posting items 2021-08-01 13:01:31 +00:00
Philipp 4be4498b13
Update UX for Storage administration 2021-07-24 19:01:01 +02:00
Philipp e19b9824cd
Allow setting & saving storages per type 2021-07-24 19:00:58 +02:00
Philipp cbe522ee82
Fixings 2021-07-24 19:00:58 +02:00
Philipp 3647f6f031
Refactor storage admin setting 2021-07-24 19:00:58 +02:00
Philipp 97bafb3a59
Extract Storage admin section to own page 2021-07-24 19:00:58 +02:00
Michael afe3c8954c Simplified functionality to load the profile in the sidebar 2021-07-23 12:39:37 +00:00
Michael b5f59d5be0 API: Support for deprecated API endpoints and OAuth removal 2021-07-20 20:48:37 +00:00
Michael 3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
Michael 1466afe3b2 Automatically subscribe to the followings of a given AP account 2021-07-13 06:06:08 +00:00
Michael e5c312a066 Issue 10491: Possibility for simple shortening added 2021-07-12 14:11:51 +00:00
Hypolite Petovan 540dc90ce1 Merge frio-specific share block template into the base template
- Add BIDI support for share blocks
- Remove redundant share block styles
2021-07-09 19:23:01 -04:00
Michael dac27ead7a Proxy settings removed 2021-07-06 06:44:18 +00:00
Michael a06d699480 Item cache related functionality removed 2021-07-05 04:57:50 +00:00
Hypolite Petovan efff254a3a Wrap each addon settings form in their own form tag
- The single form tag was preventing a given addon settings to be saved if another addon had an empty required field.
- Instead of concatenating the addon form HTML through Hook::callAll, we loop manually through the hooks, appending the HTML to an array.
2021-06-27 23:15:27 -04:00
Hypolite Petovan c9ec2e21b3
Merge pull request #10403 from annando/doc-structure
Updated database structure documentation
2021-06-14 09:01:58 -04:00
Michael c3cfc443ae Handling of special characters 2021-06-14 12:38:42 +00:00
Michael 7106106f11 Formatted index list 2021-06-14 12:15:10 +00:00
Michael a29c21224d Dash removed 2021-06-14 08:54:31 +00:00
Michael 96f07c7288 Indexes and foreign keys added 2021-06-14 08:53:37 +00:00
Michael 2cd0c1d30d Trailing whitespace removed 2021-06-14 06:10:11 +00:00
Michael fd30df7300 Pad the header 2021-06-14 05:58:51 +00:00
Michael a827f948c8 Reversed "null" 2021-06-14 05:14:09 +00:00
Michael 84ab5d6159 Updates database structure documentation 2021-06-13 20:33:50 +00:00
Michael bf8cb39102 Diaspora relay functionality is removed 2021-06-13 11:15:04 +00:00
Hypolite Petovan 2cc4bd2490 Add RTL support to many input fields
- Compose page
- Post jot
- Comment form
- Event form
2021-05-20 08:39:37 -04:00
Hypolite Petovan 6d0f6d94cb Add RTL support for post titles and photo captions 2021-05-20 08:39:36 -04:00
Hypolite Petovan 8e005f7de2 Remove whitespace from opening HTML tag ending 2021-05-20 08:39:36 -04:00
Hypolite Petovan f3aaed7541 Add RTL support for item body in search and photo body 2021-05-19 10:36:25 -04:00
Hypolite Petovan b79b1a3e7b Remove whitespace before opening HTML tag closure 2021-05-19 10:35:58 -04:00
Michael b18073d5a8 Repurposed OAuth frontend handling, store the scope 2021-05-13 14:58:55 +00:00
Michael Vogel 4fb52385a8
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-12 17:32:55 +02:00
Michael b2fe039dab oauth template redesigned 2021-05-12 12:28:13 +00:00
Hypolite Petovan da2ce5c4f4 Fix undefined tamplate variables in comment_item.tpl
- Remove unused "type" hidden field in comment form
- Remove unused moderated_comment.tpl files
2021-05-10 18:56:26 -04:00
Michael b3e511eb0c No link guessing for DFRN / Don't show redundant data 2021-05-04 05:18:03 +00:00
Tobias Diekershoff f57ddee31c the command was missing from the worker queue overview 2021-05-02 09:55:19 +02:00
Hypolite Petovan c76af27533 Add initial RTL support for post bodies 2021-05-01 15:13:53 -04:00
Hypolite Petovan 531e5d7f3e Add RTL support to profile name and description in the VCard 2021-05-01 15:13:39 -04:00
Michael 3d64c3031b Preview for Videos and images / Video resolution selection 2021-04-28 19:05:46 +00:00
Michael 8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00
Michael e8a539b68d Move template to content/ 2021-04-05 11:44:43 +00:00
Michael 7e0d21b5bb Audio attachments are now displayed as audio elements 2021-04-05 09:15:36 +00:00
Hypolite Petovan 064ff693fd Add custom message to the maintenance module display 2021-03-10 09:50:20 -05:00
Michael 972c9f7bc0 Issue 9743: Added translatable texts 2021-03-08 21:17:27 +00:00
Michael 553ad2994b The template "maitnenance.tpl" isn't used anymore 2021-03-08 10:41:33 +00:00
Hypolite Petovan 3859b7ba10 Move /parse_url module to /parseurl
- Update oexchange module to use BBCode::embedURL instead of a self-request
- Remove mod/parse_url.php file
- Restrict ParseUrl module to authenticated users
2021-02-18 09:06:27 -05:00
Hypolite Petovan 5d270fbb54 Rename dostar() to doStar() 2021-01-31 14:21:09 -05:00
Hypolite Petovan 3a18669730 Rename dolike to doActivityItem 2021-01-31 08:39:47 -05:00
Hypolite Petovan b3b2bc96ba Rename dopin() to doPIn 2021-01-30 18:12:01 -05:00
Michael Vogel 199f72ee3c
Merge pull request #9823 from MrPetovan/task/9677-2fa-remember-device
Add "Remember this device" feature to two factor authentication
2021-01-27 22:32:08 +01:00
Michael 0cd02631ce New setting that controls notifications for ignored contacts 2021-01-24 11:40:09 +00:00
Hypolite Petovan 5a949911ba Add trusted browsers user setting module
- Add trusted browsers help section
2021-01-23 05:42:59 -05:00
Hypolite Petovan 50f97e977a Added support for trusted browser during authentication 2021-01-23 05:42:59 -05:00
Hypolite Petovan 77e9143d3a [non-Frio] Add edited date to post display 2021-01-07 10:25:34 -05:00
Michael a81ac835a1 The frontend worker is removed 2021-01-01 23:05:26 +00:00
Hypolite Petovan beaef12296 Add missing first file/line in exception template 2020-12-30 21:15:01 -05:00
Hypolite Petovan 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
Hypolite Petovan 241cd32b14 Replace obsolete calls to $APP->is_mobile in templates 2020-12-23 03:25:55 -05:00
Hypolite Petovan fbd0cefdf7 Add translation to Yourself option in view as select in profile
- Address https://github.com/friendica/friendica/issues/9682
2020-12-20 02:08:17 -05:00
Hypolite Petovan a991f3dfcf Add translation to required labels for install checks
- Remove unused checks loop in install_base template
2020-12-20 02:08:13 -05:00
Hypolite Petovan 65f74da45b Add translation to required labels on input fields
- Normalize display of required label
- Remove unused field_richtext template
2020-12-19 22:52:45 -05:00
Hypolite Petovan 0dac6e9d34 Add general information header translation to admin site template 2020-12-17 22:52:30 -05:00
Hypolite Petovan a382798999 Add some more result panels to Babel 2020-12-04 07:29:48 -05:00
Michael 1e09eab921 Another place found where "show less" had been "show more" 2020-11-30 19:52:57 +00:00
Michael d4d55a5865 Issue 8605: "show less" now displays "show less" 2020-11-30 19:30:57 +00:00
Michael b52ba79620 Contacts can now be updated from every theme 2020-11-22 08:15:17 +00:00
Hypolite Petovan 4370d0b967 Add missing activity toggle capability to photos 2020-11-21 11:10:04 -05:00
Hypolite Petovan b2c4116357 Replace JQuery .text by .html
- Prevents inserting unescaped HTML in page
2020-11-16 18:19:24 -05:00
Hypolite Petovan 388c0b69d6 Split admin/users into 6 separate modules
- They now feature working pagination
2020-11-08 12:53:12 -05:00
Hypolite Petovan 126ef0ae82 [frio] Add link to settings in account delegation page 2020-11-08 12:53:12 -05:00
Michael 89509f02e4 Move "remote self" to the contact settings 2020-10-24 21:42:49 +00:00
Michael 1fc36c4470 Only auto update when there is content 2020-10-20 20:43:51 +00:00
Hypolite Petovan 4d15cc01e2 Move network module to src/
- Update ForumManager to use a base URL
- Split network module into Conversation\Network and Search\Filed modules
- Implement boundaries pager in network module
- Allow no selection in filter widgets
2020-10-13 07:52:13 -04:00
Michael d3e19bc880 Support for real reshares 2020-10-11 08:49:47 +00:00
Michael f255749c6a Issue 9358: liking and commenting on the community page now gives a feedback 2020-10-06 05:18:54 +00:00
Michael 6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +00:00
Hypolite Petovan 94c53b3b23 Introduce range percent template
- Replace usage in frio theme settings
2020-10-03 21:29:17 -04:00
Philipp 97f07b7518
Merge pull request #9334 from annando/endless-scroll
Endless scrolling for searches and contact comments
2020-10-01 23:04:56 +02:00
Michael 88a0e976da Endless scrolling for searches and contact comments 2020-09-30 19:14:13 +00:00
Michael 5dd426f526 Added option to stay on the local machine when clicking on a contact link 2020-09-30 17:30:26 +00:00
Michael 15e61e78ac Issue 9305: Relay deny tags are added 2020-09-29 19:48:26 +00:00
Tobias Diekershoff 1e7d9fdcf6 added license hints to the Frio javascript files 2020-09-27 18:36:33 +02:00
Michael 99fc97f337 Removing the page number from the infinite scrolling 2020-09-26 21:46:22 +00:00
Michael 3553b564b4 Template now collapses 2020-09-26 18:34:55 +00:00
Michael 4a40a40ed1 Merge remote-tracking branch 'upstream/develop' into hide-sharer 2020-09-26 18:05:15 +00:00
Michael c0ddcfb0cd Hide own contacts 2020-09-26 18:01:10 +00:00
Michael 3ffb90cf07 Improve naming, make widget collapsable 2020-09-26 14:13:14 +00:00
Michael 4504d3c32d Using the equal sign 2020-09-26 12:21:32 +00:00
Michael f936d93730 Moved "selected" check into the template 2020-09-26 12:13:30 +00:00
Michael 5a48002575 Account selector for the community page 2020-09-26 11:05:18 +00:00
Hypolite Petovan 8d5eb61ea3 Normalize item comment template variable name 2020-09-13 20:01:54 -04:00
Hypolite Petovan 65b796ed1f Normalize item_photo_menu template variable name 2020-09-13 20:01:53 -04:00
Hypolite Petovan 2bfd53bf09 Normalize item body template variable name 2020-09-13 20:01:53 -04:00
Hypolite Petovan 9ff228812f Normalize item location template variable name 2020-09-13 20:01:51 -04:00
Hypolite Petovan d1942afbca Stop using q as a page parameter 2020-09-12 09:09:15 -04:00
Hypolite Petovan 043e04f484 Remove confirm template obsolete uses (except for contacts)
- Remove obsolete explode_querystring() function
- Remove $extra_inputs template variable
2020-09-12 09:09:15 -04:00
Hypolite Petovan 4065f71382 Fix qcomment addon
- Initialize $qcomment template variable everywhere it is expected
- Remove addon Javascript from core head template
2020-09-09 16:49:03 -04:00
Hypolite Petovan 70563d251f Improve display of post header reshare mention
- Fix typo in class name
- Add bottom margin with a p tag
- Distinguish reshare header style from reshare footer style
2020-09-09 11:41:23 -04:00
Hypolite Petovan c7a69bbc3d
Merge pull request #9168 from annando/issue-9135
Issue 9135: Display only reshared posts at the top
2020-09-09 10:46:01 -04:00
Hypolite Petovan 6ad75f5b41 Remove over-specific location fields from vcard in favor of "location" 2020-09-09 01:21:56 -04:00
Michael 206caaf51a Reshared data now is a link 2020-09-09 04:49:42 +00:00
Hypolite Petovan fb7f7435c0 Merge branch 'bug/phpinfo-accessible-hotfix' into 2020.09-rc
# Conflicts:
#	src/Module/Admin/DBSync.php
#	src/Module/Admin/Logs/Settings.php
#	src/Module/Admin/Themes/Details.php
#	src/Module/Admin/Themes/Embed.php
2020-09-08 14:07:46 -04:00
Hypolite Petovan 9bc2c5a52e Normalize use of form security tokens in Admin modules
# Conflicts:
#	src/Module/Admin/Logs/Settings.php
2020-09-08 12:27:36 -04:00
Hypolite Petovan 2ce15cae1a Use router parameters in Admin modules
- Remove 10 @TODO tags

# Conflicts:
#	src/Module/Admin/DBSync.php
#	src/Module/Admin/Themes/Details.php
#	src/Module/Admin/Themes/Embed.php
2020-09-08 12:27:15 -04:00
Michael Vogel 8126947b90
Merge pull request #9160 from MrPetovan/bug/9138-escape-field-input
Add HTML escaping to field_input value
2020-09-08 04:00:36 +02:00
Hypolite Petovan 5f5b97dad6 Create self-only ACL template and helper method 2020-09-07 19:27:32 -04:00