Commit graph

1317 commits

Author SHA1 Message Date
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
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
Michael 2ba3cfb42c Use labels 2020-02-05 16:54:44 +00:00
Michael cf9070c396 Removed unneeded CSS and JS stuff 2020-02-05 16:30:35 +00:00
Michael 0b66970ec9 Acessibility: Improve navigation and contact approval 2020-02-05 16:14:04 +00:00
Michael 07148ecf6b Acessibility: A checkbox is a checkbox 2020-02-05 08:08:32 +00:00
nupplaPhil 41ec7d8370
Replace stylesheet names 2020-02-02 20:56:31 +01:00
nupplaPhil 8632c90327
Fix crepair links 2020-02-02 20:50:53 +01:00
Hypolite Petovan 71cefc7c9e Add version parameter to scripts and stylesheet paths in view/ 2020-01-31 19:42:02 -05:00
Hypolite Petovan b2143cae53 [frio] Add new asynchronous submission of modal form
- Add loading state for jot submit buttons
2020-01-29 22:50:10 -05:00
Philipp Holzer c2b8c65104
Merge "notification" routes 2020-01-28 23:21:24 +01:00
Philipp Holzer dd8d9d7c70
Fix ignore notification 2020-01-28 22:47:15 +01:00
Hypolite Petovan e69497454b Remove uses of profile.marital 2020-01-27 23:01:25 -05:00
Hypolite Petovan a607656607 Replace profile tab GET parameter by route 2020-01-27 19:21:18 -05:00
Hypolite Petovan 4d77da86b9 [frio] Improve pinned item display 2020-01-26 14:21:20 -05:00
Philipp 09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
Philipp Holzer 0458b9c2df
rename notify => notification once more :-) 2020-01-24 19:08:03 +01:00
Philipp Holzer b229939c3d
rename CSS attributes notify => notification 2020-01-24 18:56:34 +01:00
Philipp Holzer b016e420fe
notify_type => str_type
str_notifytype => st_notification_type
2020-01-24 18:39:50 +01:00
Philipp Holzer 0f932ae723
Notify => Notification
Notifs => Notifications
2020-01-24 18:32:38 +01:00
Hypolite Petovan 64c05f2280 Add custom fields help text 2020-01-22 19:42:36 -05:00
Hypolite Petovan cc007f715d Add sortability to custom profile fields form 2020-01-22 19:42:36 -05:00
Hypolite Petovan 6657cf7bb1 Rework profile setting page with custom fields 2020-01-22 19:42:35 -05:00
Hypolite Petovan d475cb5028 Replace advanced profile display with custom profile fields
- Merge all profile/advanced.tpl theme templates into profile/index.tpl
- Remove obsolete Model\Profile::getAdvanced method
2020-01-22 19:42:34 -05:00
Hypolite Petovan f6f4cbab9d Remove multi profiles feature
- Remove mod/profperm
- Remove additional feature
- Remove profile visibility on contact page
- Remove profile list templates
2020-01-22 19:42:33 -05:00
Hypolite Petovan d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -05:00
Philipp Holzer 5c4eb2b2c9
Move templates into sub-dir "notifications" 2020-01-23 00:16:34 +01:00
Hypolite Petovan 9803c96db4 Move profile-related templates to sub-folder 2020-01-20 07:27:14 -05:00
Hypolite Petovan 0d1befdf2d Move /profile_photo to Module\Settings\Profile\Photo 2020-01-20 07:27:12 -05:00