Commit graph

6147 commits

Author SHA1 Message Date
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
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
Hypolite Petovan 6d5437721e Remove HTML escaping in config file template, add quote escaping
- Allows HTML special characters and quotes in DB password
2020-05-19 21:07:55 -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
Michael 729c6b67aa the "term" field now is called "name", workaround removed 2020-05-01 15:18:48 +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
Michael Vogel ee098277b9
Merge pull request #8530 from MrPetovan/task/8498-move-poke-to-src
Move poke module to src/
2020-04-21 05:56:59 +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 4b8aaeceea Regenerate master messages.po
- Fix translation text error in include/enotify
2020-04-05 11:12:41 -04:00
Michael e7ce2bfd82 Fix weird call to "l10n" 2020-04-05 13:26:22 +00:00
Tobias Diekershoff ad68aaae3f
Merge pull request #8492 from MrPetovan/task/8400-frio-jot-compose-link
[frio] Add link to Compose page in jot
2020-04-04 07:49:30 +02:00
Hypolite Petovan 40a7a43bd2 [frio] Add link to Compose page in jot 2020-04-03 16:33:00 -04:00
Hypolite Petovan c882ab2674 Updated FR translation 2020-04-03 15:45:14 -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
Tobias Diekershoff 20f6948541 NL translation update THX Casper 2020-03-23 18:55:14 +01:00
Tobias Diekershoff b191c437bb PL translation update THX waldis 2020-03-21 20:08:22 +01:00
Tobias Diekershoff ec6c338257 regen messages.po 2020-03-21 15:23:42 +01:00
Tobias Diekershoff 88d0a12a83 RU translations THX Alexander An 2020-03-16 10:21:40 +01:00
Tobias Diekershoff 730be894c8 DE translation update 2020-03-14 13:07:35 +01:00
Tobias Diekershoff 8e0b91b64d Issue #8417 RU translation 2020-03-13 13:40:25 +01:00
Michael Vogel 7625eba86d
Merge pull request #8407 from MrPetovan/bug/8358-markdown-double-decode
Remove extraneous HTML decode in Markdown::toBBCode
2020-03-11 21:18:36 +01:00
Hypolite Petovan b0dc3d6cf9 Improve Babel code
- Add Diaspora source text choice
- Simplify escaped display
2020-03-11 09:01:17 -04:00
Hypolite Petovan 49b71546ec Normalize vcard across themes display after profile fields reorganization 2020-03-11 08:19:28 -04:00
Hypolite Petovan bbb397db20 Use correct variable name for deny input value concatenation 2020-03-11 00:42:37 -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
Tobias Diekershoff c8328a8446 update to the zh-cn translation THX Tomacat 2020-03-09 11:14:31 +01:00
Tobias Diekershoff 4683cfee12 updated JA translation THX Ozero Dien 2020-03-09 11:13:58 +01:00
Tobias Diekershoff 53cd36885d update FR translations THX Pbutterflyoffire_temp 2020-03-09 11:13:18 +01:00
Tobias Diekershoff ddb6335d22 DE translation update 2020-03-09 10:59:00 +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 Vogel 02027fff13
Merge pull request #8386 from nupplaphil/bug/fix_mail
Fix & align HTML mail text
2020-03-08 22:27:02 +01:00
nupplaPhil 06b0df8e46
Fix mail text ... again 2020-03-08 20:24:17 +01: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
nupplaPhil 70f35565e1
Fix & align mail text ... again 2020-03-08 08:26:21 +01:00
Tobias Diekershoff c9c612598d regen messages.po 2020-03-07 18:09:42 +01: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
Philipp 27b60b200e
Merge pull request #8352 from MrPetovan/bug/8002-album-drop-cancel
Use sensible URLs for return after album actions instead of $_SESSION['photo_return'] in mod/photos
2020-03-01 22:21:33 +01:00
Hypolite Petovan a344809d3c [frio] Enable file upload in settings form 2020-03-01 10:15:56 -05:00
Hypolite Petovan b6fa528b63 Remove duplicate photo album edit link 2020-03-01 09:55:31 -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
Michael 1b87a97a81 Remove "hidewall" check from ACL 2020-02-22 08:54:28 +00: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 33c7b62326 Move manifest JSON from template to array 2020-02-19 13:29:55 -05: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 930d395d7b Update manifest output with config/theme info 2020-02-19 10:29:13 -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
Steffen K9 8c6c442003
fix profile link 2020-02-17 20:15:31 +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
Philipp da124af6ed
Merge pull request #8293 from MrPetovan/task/5562-community-pagination
Improve community pagination
2020-02-16 19:38:49 +01:00
Michael 3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00
Hypolite Petovan 797e3a2079
Merge pull request #8292 from annando/issue-8290
Issue 8290: Clicking on the notification count does work again
2020-02-16 04:42:12 -05:00