Commit graph

6240 commits

Author SHA1 Message Date
Hypolite Petovan 90cdc55a79 [frio] Increase modal width to accomodate longer words translations in jot 2020-09-12 09:34:05 -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
Tobias Diekershoff 4bbd1ee986 IT translations THX Sylke Vicious 2020-09-11 06:50:10 +02:00
Tobias Diekershoff e30b7e2902
Merge pull request #9177 from MrPetovan/bug/frio-light-dark-schemes-fix
[frio] Various display fixes
2020-09-11 06:24:46 +02:00
Hypolite Petovan 6336beb4eb [frio] Fix shared post external link position 2020-09-10 20:13:12 -04:00
Hypolite Petovan 6fca8c302f [frio] Normalize dropdown link font color to match theme link color 2020-09-10 20:12:24 -04:00
Hypolite Petovan b5b2eaf513 [frio] Disable custom background image for light/dark/black schemes 2020-09-10 20:11:53 -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 fb0fa342be
Merge pull request #9174 from annando/issue-9167
Issue 9167 - messages from non-followers
2020-09-09 14:05:21 -04:00
Michael 555856208e Issue 9167: Adding more direction indicators 2020-09-09 16:54:18 +00: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
Michael b248470376 Show "retweet" icon 2020-09-09 05:35:04 +00: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
Michael 42dcd6646e Issue 9135: Display only reshared posts at the top 2020-09-08 22:06:10 +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
Tobias Diekershoff fb721f8e30
Merge pull request #9166 from MrPetovan/bug/phpinfo-accessible-hotfix
[Hotfix] Fix security vulnerability in admin modules
2020-09-08 19:56:26 +02: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
Michael Vogel 065ab017c7
Merge pull request #9161 from MrPetovan/bug/9140-private-note-self-only
Add a self-only ACL block to personal notes jot
2020-09-08 03:57:11 +02:00
Hypolite Petovan 6251feface Regenerate base messages.po after translation string change 2020-09-07 21:25:26 -04:00
Hypolite Petovan f1e36eac7d Update capitalization of "Permissions" translation string 2020-09-07 21:25:04 -04:00
Hypolite Petovan 5f5b97dad6 Create self-only ACL template and helper method 2020-09-07 19:27:32 -04:00
Hypolite Petovan aa7eb75e62 Add HTML escaping to field_input value
- Quotes weren't rendering in pre-populated fields
2020-09-07 18:53:04 -04:00
Tobias Diekershoff 1c5a0fc308 IT translations THX Sylke Vicious 2020-09-07 16:26:03 +02:00
Tobias Diekershoff 12d254480f NL translation update THX casperrutten33 2020-09-05 08:29:16 +02:00
Tobias Diekershoff 7641a4b968 DE translation update 2020-09-05 08:28:47 +02:00
Philipp 1abb565f1e
Merge pull request #9133 from tobiasd/20200904-typo
Typo reported by silkevicious on Transifex
2020-09-04 20:29:39 +02:00
Tobias Diekershoff ab4529e9c4 IT translations THX Sylke Vicious 2020-09-04 14:24:23 +02:00
Tobias Diekershoff 3a0e1eea04 Tyoi reported by silkevicious on Transifex 2020-09-04 14:17:58 +02:00
Tobias Diekershoff ac6ef42e35 update FR translations THX valvin 2020-09-04 06:16:21 +02:00
Tobias Diekershoff a0f3a8f00c DE translation update 2020-09-04 06:15:13 +02:00
Michael Vogel abe6ecf820
Merge pull request #9126 from MrPetovan/task/post-improvements
Various post display improvements
2020-09-03 22:17:25 +02:00
Hypolite Petovan 36adb93603 Update base messages.po after changing a translation string 2020-09-03 15:45:56 -04:00
Hypolite Petovan d849307725 [frio] Move reshare info on top of posts in network page
- Increase consistency with other social media platforms display
2020-09-03 15:45:56 -04:00
Hypolite Petovan 730a5c5725 Improve post direction display
- [frio] Change icon for commented direction
- Update English translation string for commented direction
2020-09-03 15:45:53 -04:00
Michael Vogel 560746eb3b
Merge pull request #9125 from MrPetovan/bug/8999-fix-new-pm
Fix new private message recipient input
2020-09-03 21:45:31 +02:00
Hypolite Petovan 4a4d0f04cb Fix new private message recipient input
- Add new private message recipient ACL template
- Remove now redundant theme private message templates
2020-09-03 10:01:58 -04:00
Hypolite Petovan a844fd8f58 Move ACL full selector template to subfolder
- Fix display overflow in contact complete suggestion box
2020-09-03 10:00:20 -04:00
Tobias Diekershoff a2bf4f4b4a IT translations THX Fabrixxm 2020-09-03 09:54:02 +02:00
Tobias Diekershoff 58b89f00e9 RU translations THX Alexander An 2020-09-01 14:29:49 +02:00
Tobias Diekershoff 60da8eadd3 DE translation update 2020-09-01 14:29:24 +02:00
Michael f5504ed8d1 Improve notifications for announced posts 2020-08-31 18:51:59 +00:00
Hypolite Petovan 3e95c7ef18
Merge pull request #9100 from tobiasd/20200830-issue8997
clarification of the options hint for setting the accounts email
2020-08-30 12:03:27 -04:00
Tobias Diekershoff 0e3ca91854 clarification of the options hint for setting the accounts email 2020-08-30 17:56:27 +02:00
Michael Vogel d9428a50a7
Merge pull request #9096 from tobiasd/20200830-issue9008
DE translation update THX foss-
2020-08-30 10:44:53 +02:00
Tobias Diekershoff 312d84b4f5 regen messages.po 2020-08-30 10:12:54 +02:00
Tobias Diekershoff 0912567b30 DE translation update THX foss- 2020-08-30 07:42:21 +02:00
Tobias Diekershoff 30bc0e3681 DE translation update THX produnis 2020-08-27 17:06:17 +02:00
Tobias Diekershoff 1101dd19fe DE translation update 2020-08-27 08:12:53 +02:00
Michael a3bf782050 Updated "messages.po" 2020-08-26 17:00:05 +00:00
Michael 355284841a Optionally display the resharer as icon 2020-08-26 12:33:17 +00:00
Michael a7946d80b8 Added directions for the other themes 2020-08-23 18:54:32 +00:00
Michael 6139f5883b Mark posts that arrived in your network stream via tag 2020-08-23 17:48:44 +00:00
Michael 0e4d3fe9e5 Display a symbol when a post had been reshared 2020-08-23 13:26:23 +00:00
Michael 7dbf72e454 We now fetch data with an automatically generated system user 2020-08-22 14:48:09 +00:00
Hypolite Petovan 7c16a25fc9 Account for $nav_bg not being set in frio/php/default
- Address https://github.com/friendica/friendica/issues/8877#issuecomment-677319560
2020-08-20 09:21:44 -04:00
Tobias Diekershoff 0d1fa70e2e
Merge pull request #9039 from MrPetovan/task/frio-accent-scheme
[frio] Add accented schemes including dark scheme and black scheme
2020-08-20 07:01:40 +02:00
Hypolite Petovan 062063c5e5 [frio] Add black accented scheme 2020-08-19 23:12:52 -04:00
Hypolite Petovan 907222da53 [frio] Add dark accented scheme 2020-08-19 23:12:52 -04:00
Hypolite Petovan e4a1ace3ad [frio] Add more color accents 2020-08-19 23:12:52 -04:00
Hypolite Petovan cb588eb535 [frio] Add scheme accent feature
- Add new accented scheme light
- Add first accent blue
2020-08-19 23:12:48 -04:00
Hypolite Petovan 91a1e5df91 Add more references to theme.php 2020-08-19 22:54:12 -04:00
Tobias Diekershoff 760e3791a0 DE translation update THX Gerhard Hallstein 2020-08-19 16:02:33 +02:00
Tobias Diekershoff 8e2a3bc2dd update for ES thx targz 2020-08-18 17:39:51 +02:00
Tobias Diekershoff 150baae391 EN US and GB translation updates THX AndyH3 2020-08-18 17:38:32 +02:00
Tobias Diekershoff c7578d8547 NL translation update THX Casper 2020-08-18 17:37:12 +02:00
Tobias Diekershoff e3ee79da22 PL translation update THX Walis 2020-08-18 17:37:03 +02:00
Tobias Diekershoff 8c04ca9cfc update to the zh-cn translation THX vicdorke 2020-08-18 17:33:46 +02:00
Tobias Diekershoff 76d8d70de8 RU translations THX Alexander An 2020-08-18 17:32:28 +02:00
Tobias Diekershoff 37d41323b8 DE translation update 2020-08-18 17:27:38 +02:00
Hypolite Petovan d5975ff0bc [frio] Add dynamic CSS property before introducing accented themes
- Introduce variables for font colors
- Set content background transparency on several background colors
- Change radio/checkbox colors depending on the link color
- Prevent post highlighting to end up on static white
2020-08-15 20:25:33 -04:00
Hypolite Petovan 43df577209 [frio] Cleanup CSS/UI
- Fix panel usage
- Remove double submit button in theme config
- Remove textarea phantom label when not provided
- Improve filebrowser button display
- Fix slider input display
- Simplify user menu styles
2020-08-15 20:19:00 -04:00
Hypolite Petovan f3b080ed6c [frio] Allow 0% content brackground transparency 2020-08-15 19:36:24 -04:00
Hypolite Petovan fc77ecbe1a [frio] Keep settings between scheme changes 2020-08-15 19:29:51 -04:00
Hypolite Petovan 0ae6c9708a [frio] Remove unused theme functions 2020-08-15 19:15:38 -04:00
Hypolite Petovan 2505b33615 [frio] Move specific event styles to main theme stylesheet
- Fix hovercard.css formatting
2020-08-15 19:02:33 -04:00
Hypolite Petovan 2e286d6a57 Move calendar/event stylesheets/scripts registration to modules
- Add media parameter to Page->registerStylesheet
- Fixes CSS precedence with custom theme stylesheet
2020-08-15 18:56:17 -04:00
Michael dd82f150ca Rework of the network page 2020-08-13 20:07:13 +00:00
Tobias Diekershoff b219677de5
Merge pull request #8991 from MrPetovan/task/restore-autocomplete-comment
Restore auto-complete in comment boxes beyond the first
2020-08-09 10:56:41 +02:00
Hypolite Petovan 4f37b14e42 Enable footer scripts in minimal view 2020-08-08 15:19:20 -04:00
Hypolite Petovan 7a5f2437f9 Fix option syntax for textcomplete 2020-08-08 15:19:04 -04:00
Hypolite Petovan 692bb2a895 Restore auto-complete in comment boxes beyond the first 2020-08-08 12:58:56 -04:00
Hypolite Petovan e64dcc5b5b Remove obsolete modules common and allfriends
- Delete obsolete Model\GContact class
2020-08-06 22:59:10 -04:00
Hypolite Petovan 383ddb10ed Create new page_tabs template
- Replace explicit tabs in profile contacts page with new template
2020-08-06 22:59:09 -04:00
Michael Vogel 1fb47b96aa
Merge pull request #8975 from MrPetovan/task/8918-move-mod-common
Move mod/common.php to src/ Part 2: Add Module\Profile\Common class
2020-08-05 23:17:12 +02:00
Hypolite Petovan 8042119447
Merge pull request #8974 from annando/issue-8967
Issue 8967: Fix avatar in top bar
2020-08-05 10:30:20 -04:00
Michael d56ac8d58f Fix wrong parameter order 2020-08-05 12:57:02 +00:00
Hypolite Petovan c26b72a426 Rework commonFriendsVisitor widget
- Use new Contact\Relation method to fetch common contacts
- Replace reference to /common by /{nickname}/contacts/common
2020-08-05 00:19:48 -04:00
Michael Vogel 0224bc8367
Update view/theme/frio/theme.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-08-05 05:39:00 +02:00
Hypolite Petovan 71db6ab613 Add Module\Profile\Common class
- Add Common tab in profile contacts templates
- Add routing to new module
2020-08-04 23:03:54 -04:00
Hypolite Petovan 1723903219 Rework Module\Profile\Contacts class
- Simplify imports
- Use router parameters
- Use exceptions
- Simplify querying and result processing
- Add no result label
2020-08-04 23:02:43 -04:00
Hypolite Petovan 4c5fe20018 Remove relationship direction display for non-local user contacts
- [frio] Add profile link on avatar in contact_template
2020-08-04 23:00:15 -04:00
Michael f1380e6af4 Issue 8967: Fix avatar in top bar 2020-08-04 20:15:42 +00:00
Hypolite Petovan 73c112066d
Merge pull request #8971 from annando/optimize
Periodically  run an "optimize table" command for cache tables
2020-08-04 12:43:28 -04:00
Michael 288593700d Updated messages.po 2020-08-04 14:05:05 +00:00
Michael d153db44ac Periodically run an "optimize table" command for cache tables 2020-08-04 12:24:24 +00:00
Michael a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
Michael b026901dbc Added additional field 2020-08-02 15:44:41 +00:00
Michael 91c360638a Ensure contact tabs will use the correct id 2020-08-02 13:34:49 +00:00
Michael bb1517a74c Random profiles now moved away from "gcontact" as well 2020-08-02 08:07:31 +00:00
Michael c03cf39c26 "gcontact" removed in the themes as well 2020-08-02 07:54:18 +00:00
Michael 0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael d9a9876ddd Synchronize contacts with the directory server 2020-07-31 09:08:51 +00:00
Michael cc85bc4156 Replace "gcontact" with "contact" - imroved suggestions 2020-07-30 14:08:32 +00:00
Michael 71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
Hypolite Petovan ab3106a129 Move "View As" form at the bottom of the profile page 2020-07-28 11:40:14 -04:00
Michael Vogel 74bc3de472
Merge pull request #8931 from MrPetovan/task/2020-performance-improvements
Various performance improvements
2020-07-28 07:15:02 +02:00
Hypolite Petovan cd84f9a921 Reduce number of calls to Hook::delete when uninstalling addons/themes
- Add a sweeping Hook deletion on theme uninstall (like for addons)
2020-07-27 08:24:55 -04: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
Michael 18617f6c48 Fetch followers/followings of contacts 2020-07-26 07:34:33 +00:00
Hypolite Petovan 08384ecf59 Remove obsolete view/js/jquery-textcomplete folder 2020-07-22 10:48:30 -04:00
Hypolite Petovan f4afd56fa5 Replace jquery-textcomplete with yuku/old-textcomplete
- Add a jQuery wrapper to minimize code changes
- Improve local autocomplete jQuery plugin to allow chaining
2020-07-22 10:48:02 -04:00
Hypolite Petovan 0a71495fa4 Add new admin debug module for ActivityPub 2020-07-20 00:39:17 -04:00
Hypolite Petovan da50456675 Add Twitter source debug to Debug\Babel 2020-07-17 17:14:13 -04:00
Hypolite Petovan cb03418937 Add checks for $a->user existence
- Variable can be empty/null in many cases
2020-07-09 15:09:07 -04:00
Michael 966738ecc6 Use the "orig_title" 2020-07-08 20:47:05 +00:00
Michael 77e272e8ed Issue 8836: Point the event to the local post 2020-07-08 20:42:28 +00:00
Hypolite Petovan a9af0ca26e
Merge pull request #8835 from tobiasd/20200701-lng
PL and EN US / GB translation updates
2020-07-01 07:08:04 -04:00
Tobias Diekershoff 149896e3c7 EN US and GB translation updates THX AndyH3 2020-07-01 12:47:44 +02:00
Tobias Diekershoff bf89318aba PL translation update THX Walis 2020-07-01 12:45:43 +02:00
Hypolite Petovan 9c6fbc6a74 Update references to the friendica/friendica stable branch 2020-06-30 15:25:16 -04:00
Hypolite Petovan 4aacd6ef09 [frio] Add missing margin above relocate form in admin site 2020-06-27 18:37:02 -04:00
Michael Vogel 7fd2c00171
Merge pull request #8792 from MrPetovan/task/share-block-guid
[frio] Add local post link to share block when guid attribute is present
2020-06-23 21:26:07 +02:00
Hypolite Petovan ad9bac8b07 Prevent propagation of escape key press when it was used to close autocomplete dropdown
- It was causing the modal window to unexpectedly close
2020-06-22 22:25:15 -04:00
Hypolite Petovan b77896ed45 [frio] Add local post link to share block when guid attribute is present 2020-06-21 09:45:36 -04:00
Michael 016c99935c Different comment limits for single view 2020-06-16 06:49:53 +00:00
Tobias Diekershoff 5b13c9b1da Added Estonian translation THX Rain Hawk 2020-06-15 06:23:18 +02:00
Tobias Diekershoff cad8748105 RU translations THX Alexander An 2020-06-15 06:21:57 +02:00
Tobias Diekershoff 855a69325f PL translation update THX waldis 2020-06-15 06:21:16 +02:00
Tobias Diekershoff 2da9dca316 NL translation update THX Casper 2020-06-15 06:20:28 +02:00
Tobias Diekershoff 743885b4b0 update to the zh-cn translation THX steve jobs 2020-06-15 06:19:49 +02:00
Tobias Diekershoff f73ea4b621 DE translation update THX copis 2020-06-15 06:18:25 +02:00
Hypolite Petovan 2cf3ed6d7c [frio] Remove duplicate page wrapper in auto_request
- [frio] Add page wrapper to minimal template (for sitewide theme settings)
2020-06-12 22:05:12 -04:00
Hypolite Petovan 18745b1723
Merge pull request #8765 from annando/fix-pubkey
Fix providing the public key
2020-06-12 16:42:16 -04:00
Michael Vogel cf384da4b7 Fix providing the public key 2020-06-12 21:51:42 +02:00
Hypolite Petovan dcd7553da9 [frio] Replace only the users table element when reordering on a column in mod_admin.js
- Replace duplicate jQuery query with a variable
2020-06-11 20:26:29 -04:00
Hypolite Petovan 1de5f2eebb [frio] Improve shared content display 2020-06-10 10:15:54 -04:00
Hypolite Petovan 34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -04:00
Hypolite Petovan fa1e7676c7 [frio] Add color to active buttons in mobile view 2020-06-04 23:47:13 -04: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 ed39618da2 [frio] Move variable assignment where it belongs in asynchronous comment form submission callback 2020-05-27 09:05:46 -04:00
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
Michael Vogel 1e23348635
Merge pull request #8686 from MrPetovan/bug/8685-frio-compose-disable-asynchronous
[frio] Disable unexpected asynchronous compose form submission
2020-05-26 22:28:46 +02:00
Hypolite Petovan 7e37378c2a Add page title notification count display 2020-05-26 10:28:53 -04:00