Commit graph

3573 commits

Author SHA1 Message Date
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
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
Michael af97df96bd Merge remote-tracking branch 'upstream/develop' into views 2020-04-26 09:21:57 +00:00
Hypolite Petovan 66021480a7 [frio] Align brand name color on nav icon 2020-04-25 15:36:29 -04:00
Michael ee3a724b41 Three more joins replaced with views 2020-04-24 20:39:14 +00: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
Hypolite Petovan 49b71546ec Normalize vcard across themes display after profile fields reorganization 2020-03-11 08:19:28 -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
Steffen K9 e342d2bd81
fix view profile link vier 2020-02-17 20:19:10 +01:00
Steffen K9 4f8027116e
fix view profile link frio 2020-02-17 20:18:01 +01:00
Michael 1d3586623c Replace "suggestme" with "net-publish" 2020-02-17 07:16:45 +00:00
Michael 101251668c Reworked expiration settings 2020-02-16 20:44:55 +00:00
Michael 3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00
Michael 15f37a6ef4 Issue 8290: Clicking on the notification count does work again 2020-02-16 09:35:10 +00:00
Hypolite Petovan 756de11cda
Merge pull request #8282 from AlfredSK/AlfredSK-frio-notif-bgcolor
Frio: unseen notifications background adjustment
2020-02-13 19:53:17 -05:00
Michael 303fb65574 Frio: Only display item menu separator when there is something to separate 2020-02-13 22:46:27 +00:00
Steffen K9 eb1cddae82
Also change the color value in plusminus 2020-02-13 23:18:08 +01:00
Steffen K9 1efc47c88c
Frio: unseen notifications background adjustment
Background color for unseen notifications slightly changed for better visibility.
2020-02-13 23:15:29 +01:00
Michael Vogel e757d16fc1
Merge pull request #8279 from MrPetovan/task/frio-mobile-actions-buttons
[frio] Add narrow screen short item action button row
2020-02-13 05:38:26 +01:00
Hypolite Petovan 2afdc69c20 [frio] Add narrow screen short item action button row 2020-02-12 21:26:49 -05:00
Hypolite Petovan 95b09aaec4 [frio] Add loading animation on comment form submit 2020-02-11 23:45:47 -05:00
Michael Vogel 13a10b8f20
Merge pull request #8277 from MrPetovan/task/8251-use-about-for-pdesc
Remove profile about field double HTML escaping
2020-02-12 05:23:04 +01:00
Hypolite Petovan 1ce5b1d65b Remove profile about field double HTML escaping
- Add BBcode conversion for profile.about in widget/vcard.tpl
2020-02-11 21:38:42 -05:00
Michael Vogel e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
Hypolite Petovan 3e5ec95dcd [frio] Fix more action button position on Firefox 2020-02-10 08:06:12 -05:00
Michael Vogel 0e05ff6868 Merge pull request #8269 from MrPetovan/bug/frio-more-actions
[frio] Prevent more action menu to be clipped by the post box
2020-02-10 05:28:58 +01:00
Michael Vogel 8293d5ed0a Merge pull request #8271 from MrPetovan/bug/8229-frio-mobile-back-to-top
[frio] Improve back to top button behavior at bottom of page
2020-02-10 05:08:30 +01:00
Hypolite Petovan 5930d94c91 [frio] Improve back to top button behavior at bottom of page 2020-02-09 18:14:06 -05:00
Hypolite Petovan 2ec3a97393
Merge pull request #8263 from annando/remote-follow
New page for remote follow requests
2020-02-09 17:53:13 -05:00
Hypolite Petovan 4e17aab96a [frio] Prevent more action menu to be clipped by the post box
- Address https://friendica.mrpetovan.com/display/0b6b25a8-615e-3dda-937e-21e937937450
- Move external link back to the post top right
- Prevent more action menu to become semi-transparent on post mouseout
2020-02-09 17:47:41 -05:00
Michael 2eebeeaa32 New page for remote follow requests 2020-02-09 17:04:35 +00:00
nupplaPhil 7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
nupplaPhil 85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
Hypolite Petovan a42104ce43 Use profile.about instead of profile.pdesc for profile description 2020-02-09 02:36:19 -05:00
Hypolite Petovan 59840d2c11 [frio] Improve contrast of open notification dropdown button 2020-02-09 02:09:09 -05:00
Hypolite Petovan 6c152a3204 [frio] Remove unwanted navbar-nav behavior for top nav bar on mobile
- Rename overly generic notification menu button id
2020-02-09 01:43:53 -05:00
Hypolite Petovan 2fb1819e57 Simplify dfrn_request and auto_request templates
- Limit template variables
2020-02-08 17:08:01 -05:00
Hypolite Petovan 45f6707ff4 Reformat dfrn_request and auto_request templates 2020-02-07 21:27:36 -05:00
Hypolite Petovan 1a3807d598
Merge pull request #8249 from annando/a11y-4
Useless links removed / Item menu is moved to the item actions bar
2020-02-07 06:55:20 -05:00
Michael d37fd69477 Replaced spaces with tabs 2020-02-07 05:57:41 +00:00
Michael 6e02105d88 Useless links removed / Item menu is moved to the item actions bar 2020-02-06 22:06:24 +00:00
Hypolite Petovan f2732a4ad7 Update desktop notifications logic without yesno field 2020-02-06 10:25:33 -05:00
Michael d8a19f7a27 Remove unneeded stuff 2020-02-05 21:10:17 +00:00
Michael ace3c52c8e Accessibility again: Notifications are now accessible 2020-02-05 21:06:03 +00:00
Hypolite Petovan 16c2705016
Merge pull request #8237 from annando/a11y-2
Accessibility: Improve navigation and contact approval
2020-02-05 12:11:53 -05:00