Commit graph

3657 commits

Author SHA1 Message Date
Vinzenz Vietzke bfa85c2555 replace default checkbox color 2020-10-12 23:19:09 +02:00
Vinzenz Vietzke 8c65c0ccf9 move checkbox settings to schemes 2020-10-12 23:18:53 +02:00
Michael f3fd99da60 Don't change resharer when resharing 2020-10-11 17:37:04 +00:00
Philipp bd89b8262f
Merge pull request #9408 from annando/announce
Support for real reshares
2020-10-11 12:48:52 +02:00
Michael d3e19bc880 Support for real reshares 2020-10-11 08:49:47 +00:00
Hypolite Petovan 85677266b9 [frio] Keep jQuery data attached to elements stored in jotcache
- Prevents tagsinput to re-attach to existing tags inputs when jotcache is restored
2020-10-10 19:04:25 -04:00
vinzv 65f541946d intensify notification bubble color 2020-10-08 20:52:57 +02:00
Hypolite Petovan c38559cf7d
Merge pull request #9388 from vinzv/9383-frio-cannot-scroll-left-flyout-sidebar-on-mobile
Adding an on-demand scrollbar for mobile off-canvas menu
2020-10-08 11:02:04 -04:00
vinzv 6e0f3e6ad8 Revert "initial commit"
This reverts commit f5be6f94c1.
2020-10-08 14:51:36 +02:00
vinzv a1cea924c6 fix identation 2020-10-08 14:49:01 +02:00
vinzv f5be6f94c1 initial commit 2020-10-08 14:46:30 +02:00
vinzv 7b0455f976 Move the menu down hard 2020-10-07 22:47:50 +02:00
vinzv d885f5f3d7 Adding an on-demand scrollbar for off-canvas menu 2020-10-07 22:02:45 +02:00
Hypolite Petovan 17b9c3542d
Merge pull request #9387 from vinzv/9236-frio-mobile-color-unread-notification-background
Divert unseen notification background colors into schemes
2020-10-07 15:53:41 -04:00
vinzv e511aea710 Divert unseen notification background colors into schemes to avoid
side effects for other themes
2020-10-07 21:35:56 +02:00
vinzv 0e68049275 revert #9375 2020-10-07 21:19:44 +02:00
vinzv 27a0c19fe8 make contact request buttons more accessible
- scaled up the icons
- removed the dysfunctional hover effect
- added more padding inbetween the icons
2020-10-06 23:01:31 +02:00
vinzv cec91000e2 make sure tweaks work for black and light scheme as well 2020-10-06 22:05:55 +02:00
Vinzenz Vietzke 04f9352fa9 darken unseen notification text on frio accent dark 2020-10-06 20:58:23 +02: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 b6b28b1541 Display the languages in the post 2020-10-04 18:52:28 +00:00
Hypolite Petovan 8aa8c4622e [quattro] Remove seemingly unused slider/range styles
- They conflict with the new range input template
2020-10-03 21:30:20 -04:00
Hypolite Petovan cbe3826b83 [frio] Remove box-shadow from range inputs for dark/black schemes 2020-10-03 21:29:40 -04:00
Hypolite Petovan 94c53b3b23 Introduce range percent template
- Replace usage in frio theme settings
2020-10-03 21:29:17 -04:00
Hypolite Petovan 2bfd9851d3
Merge pull request #9314 from annando/suggestions
New function for contact suggestions
2020-10-03 13:32:21 -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
Michael fb50a43ac0 New function for contact suggestions 2020-09-28 21:33:40 +00:00
Hypolite Petovan 62ed8de568
Merge pull request #9301 from tobiasd/20200927-frio-js
added license hints to the Frio javascript files
2020-09-27 14:02:58 -04:00
Tobias Diekershoff 225e86e437 Please add an EOF EOL 2020-09-27 20:00:06 +02:00
Tobias Diekershoff 66a6292dfc duepuntozero styling of the address in the vcard 2020-09-27 19:50:30 +02:00
Tobias Diekershoff 1e7d9fdcf6 added license hints to the Frio javascript files 2020-09-27 18:36:33 +02:00
Michael c082109ff9 Show if a post arrived via relay 2020-09-21 12:31:20 +00:00
Michael 07f10784ca Fixes Notice: Undefined offset: 0 in /view/theme/frio/php/default.php on line 128 2020-09-19 03:38:14 +00:00
Hypolite Petovan 75b9147945 [frio] Fix Firefox-specific bug where top-level post heading div would cover the avatar 2020-09-17 22:19:51 -04:00
Hypolite Petovan e79df3407d [frio] Highlight active wall item action button in dark/black schemes 2020-09-17 11:14:48 -04:00
Michael Vogel de3ed5faf4
Merge pull request #9197 from MrPetovan/bug/9192-normalize-escaping-item
Remove obsolete uses of Strings::escapeTags in mod/item
2020-09-16 22:10:19 +02:00
Michael 23bac84973 Improve "direction" icons on "vier", new direction "global" 2020-09-14 10:43:16 +00:00
Tobias Diekershoff 766d92aaa0
Merge pull request #9199 from MrPetovan/bug/9193-frio-box-shadows
[frio] Remove textcomplete hidden input box shadows in dark/black schemes
2020-09-14 07:37:37 +02:00
Hypolite Petovan 5aa6284b1d [frio] Destroy unused perfect scrollbar on the aside element
- It was interfering with accented scheme styles
2020-09-14 00:22:59 -04:00
Hypolite Petovan 2ff80bf91b [frio] Remove textcomplete hidden input box shadows in dark/black schemes 2020-09-14 00:18:41 -04:00
Hypolite Petovan 541f15cefc [frio] Restore jot modal panel overflow value
- Reverts 1c37f4aa88
- Reverts part of 43df577209
- It was causing jot panel content to overflow the modal window
2020-09-14 00:00:09 -04:00
Hypolite Petovan 3fa3e78844 Normalize item like/dislike template variable name 2020-09-13 20:01:54 -04: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 f80cc91064
Merge pull request #9194 from annando/additional-directions
Add additional direction types
2020-09-13 17:05:31 -04:00
Michael 5a41cd437d Add additional direction types 2020-09-13 14:15:28 +00:00
Michael Vogel ea893df1c1
Merge pull request #9191 from MrPetovan/bug/9090-frio-autosize-max-height
[frio] Limit jot textarea height
2020-09-13 06:55:33 +02:00
Hypolite Petovan 1c37f4aa88 [frio] Limit jot textarea height 2020-09-12 17:53:03 -04:00
Michael Vogel cb647b5b6c
Merge pull request #9187 from MrPetovan/bug/9182-frio-modal-width
[frio] Increase modal width to accomodate longer words translations in jot
2020-09-12 20:40:21 +02:00
Hypolite Petovan 097cd5f44b
Merge pull request #9188 from annando/more-direction
Store and display to/cc/bcc
2020-09-12 14:34:58 -04:00
Michael a491c5d916 Store and display to/cc/bcc 2020-09-12 17:45:04 +00:00
Hypolite Petovan 90cdc55a79 [frio] Increase modal width to accomodate longer words translations in jot 2020-09-12 09:34:05 -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 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 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
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 f1e36eac7d Update capitalization of "Permissions" translation string 2020-09-07 21:25:04 -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
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 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
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
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
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
Hypolite Petovan 4f37b14e42 Enable footer scripts in minimal view 2020-08-08 15:19:20 -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
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 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
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 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 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 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
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
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 e6388a186f [frio] Disable unexpected asynchronous compose form submission 2020-05-26 10:28:30 -04:00
Hypolite Petovan 40b73fcf91 [frio] Fix double wrapping on all /contact/* pages 2020-05-21 23:14:24 -04:00
Michael 2a56370cf4 Merge remote-tracking branch 'upstream/develop' into annando/issue8514 2020-05-18 21:38:17 +00:00
Michael 3b1d89252a Issue 8582: "cid" in "network" is now "contactid"
Fixes #8582
2020-05-17 15:01:27 +00:00
Michael a3c4021f12 Issue 8514: Make paging for searcg items work again
Fixes #8514
2020-05-17 13:51:56 +00:00
Hypolite Petovan eb09bdfc96 [vier] Fix accordion logic in templates/settings/profile/index 2020-05-08 09:06:28 -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
Michael 6d47324342 Integrate perfect-scrollbar to make tests happy 2020-05-05 05:22:14 +00:00