Commit graph

1380 commits

Author SHA1 Message Date
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 8d5eb61ea3 Normalize item comment template variable name 2020-09-13 20:01:54 -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 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
Michael d153db44ac Periodically run an "optimize table" command for cache tables 2020-08-04 12:24:24 +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 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 a3c4021f12 Issue 8514: Make paging for searcg items work again
Fixes #8514
2020-05-17 13:51:56 +00: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
Hypolite Petovan 50622d27d1 [frio] Restore focus styles
- Replace .btn-main by .btn-primary
- Harmonize focus styles between buttons and form controls based on the theme scheme
2020-04-27 09:43:46 -04:00
Hypolite Petovan 66021480a7 [frio] Align brand name color on nav icon 2020-04-25 15:36:29 -04:00
Hypolite Petovan 16f48731b1 Remove album name bin2hex conversion in file browser
- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
2020-04-21 22:14:11 -04:00
Michael Vogel 461e01bd33
Merge pull request #8531 from MrPetovan/bug/8523-frio-jot-close-button
[frio] Remove duplicate jot modal close button
2020-04-21 05:59:21 +02:00
Hypolite Petovan 79b21e6627 [frio] Remove duplicate jot modal close button
- Fixes display issue on XS view
- Unable to reproduce mentioned Bootstrap bug
2020-04-20 18:09:57 -04:00
Hypolite Petovan 7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
Hypolite Petovan 40a7a43bd2 [frio] Add link to Compose page in jot 2020-04-03 16:33:00 -04:00
Hypolite Petovan 7d8fc8527e [frio] Remove obsolete CSS 2020-04-01 19:45:41 -04:00
Hypolite Petovan cc15381007 Refactor admin user settings page
- Fix header hierarchy
- [frio] Fix panel display
2020-04-01 19:45:31 -04:00
Hypolite Petovan 76feae2203 Refactor connector settings page
- Fix header hierarchy
- [frio] Fix panel display
2020-04-01 19:20:18 -04:00
Hypolite Petovan 91fb396ec1 Refactor profile edit page
- Fix header hierarchy
- [frio] Fix panel display
2020-04-01 19:14:37 -04:00
Hypolite Petovan b480e4eaa9 Refactor display page
- Fix header hierarchy
- Fix panel display
2020-04-01 19:06:11 -04:00
Hypolite Petovan 6bb210ff7a Refactor features pages
- Create frio template for admin features page
- Fix header hierarchy
2020-04-01 19:06:10 -04:00
Hypolite Petovan fd89572606 Refactor admin site settings templates
- Fix header hierarchy in admin/site.tpl
- Fix panel display in frio/templates/admin/site.tpl
2020-04-01 19:06:10 -04:00
Hypolite Petovan 5ce404f517 Refactor user settings page
- Fix header hierarchy
- [frio] Fix panel display
- Move checkbox sub-template calls to template
2020-04-01 19:06:00 -04:00
Hypolite Petovan 3c50f985a9 Remove modal window for default post permission setting 2020-04-01 09:21:26 -04:00
Michael f27900ad78 Reduce the load of "gfollower" 2020-03-10 21:10:59 +00:00
Steffen K9 61f0fb9dcf
Remove orphaned checkbox for compose page 2020-03-09 21:22:10 +01:00
Hypolite Petovan f788cd5851
Merge pull request #8384 from annando/issue-8371
Issue 8371: Improvements for picture permissions
2020-03-09 01:25:13 -04:00
Michael 37376fa715 Issue 8371: Improvements for picture permissions 2020-03-08 13:16:59 +00:00
Michael 0e22036d0e issue 8268: Birthday reminders are now more visible 2020-03-08 09:33:17 +00:00
Michael a6e7b5f295 GContact discovery added 2020-03-05 22:03:24 +00:00
Michael 825a7f9f93 Issue 8321: Follow items now work again 2020-03-05 07:16:47 +00:00
Michael d63e903d9f Changed template for direction 2020-03-03 21:29:51 +00:00
Michael 0e0de5fcad Debug switch added, output added 2020-03-03 21:25:18 +00:00
Michael 72c198990e Merge remote-tracking branch 'upstream/develop' into private 2020-03-02 15:05:00 +00:00
Michael ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Hypolite Petovan a344809d3c [frio] Enable file upload in settings form 2020-03-01 10:15:56 -05:00
nupplaPhil 4f2bea5cb1
Move "regmod" functionality into Admin Users page 2020-02-29 17:10:29 +01:00
Michael Vogel fccecf92cd
Merge pull request #8337 from MrPetovan/task/8323-protect-target-blank
Add rel="noopener noreferrer" to all target="_blank" links
2020-02-25 05:50:33 +01:00
Hypolite Petovan b100b9600e Add rel="noopener noreferrer" to all target="_blank" links
See https://mathiasbynens.github.io/rel-noopener/
2020-02-24 20:07:34 -05:00
Hypolite Petovan e230619a84 Move actions dropdown in search item view 2020-02-23 20:20:20 -05:00
Hypolite Petovan 637e38e535 User hide_dislike user setting to hide dislike button and conversation responses 2020-02-20 05:37:07 -05:00
Hypolite Petovan 96ba2ac00d Add new hide dislike user setting 2020-02-20 05:37:07 -05:00
Michael Vogel eefa699bb2
Merge pull request #8317 from MrPetovan/task/frio-remove-compose-setting
[frio] Remove "Enable Compose page" setting
2020-02-20 09:35:48 +01:00
Michael Vogel b6b567fc97
Merge pull request #8315 from MrPetovan/task/8310-improve-manifest
Update manifest output with config/theme info
2020-02-20 09:34:36 +01:00
Hypolite Petovan cf99c752ea [frio] Remove "Enable Compose page" setting 2020-02-19 15:11:54 -05:00
Hypolite Petovan 2791d70655 [frio] Merge compose/jot buttons features 2020-02-19 15:11:35 -05:00
Michael 7ee9aad6ca Some more unneeded settings removed 2020-02-19 19:31:55 +00:00
Hypolite Petovan 858b63656e
Merge pull request #8306 from annando/contact-unfollow-delete
Don't show "delete contact" when there is a follow or unfollow option
2020-02-19 11:44:49 -05:00
Hypolite Petovan b9325251e8 Add Theme::getBackgroundColor and Theme::getThemeColor methods 2020-02-19 10:28:57 -05:00
Hypolite Petovan 61cc047611
Merge pull request #8309 from annando/remote-comment
Remotely load posts to comment on them on the own page
2020-02-18 13:29:11 -05:00
Michael d64bb0dd8f Remotely load posts to comment on them on the own page 2020-02-18 06:57:38 +00:00
Michael f8670b6268 Don't show "delete contact" when there is a follow or unfollow option 2020-02-17 22:25:12 +00:00