Commit Graph

1923 Commits

Author SHA1 Message Date
Jakobus Schürz ada11a2c67 create factory for dropzones 2023-03-19 18:52:45 +01:00
Jakobus Schürz 39f7660a1d fix getting bytes from shorthand in php 2023-03-19 18:52:45 +01:00
Jakobus Schürz 721c065a44 fix editing in modal-jot
and add also timeout before removing images from dropzone
2023-03-19 18:52:45 +01:00
Jakobus Schürz 64066349aa add timeout before remove images from dropzone 2023-03-19 18:52:45 +01:00
Jakobus Schürz 2403932a83 improve image-upload
* create dropzone for editing in jot-modal
* customize css for dropzone to make it more beautiful (smaller
  margin/paddings...)
* change position of dropzone-element dircetly to textarea, so button
  for upload is small and under textarea (it's more clear)
* remove previews after upload. this shows the upload-progress, but
  preview is not needed after upload. you can't do anything with the
  preview, and dialog gets too big. You see successful upload, when
  bb-code link to image is inserted on cursor-position in textarea
2023-03-19 18:52:45 +01:00
Jakobus Schürz 3688196859 create workaround for not working php
Strings:getBytesFromShorthand

i created a js-function which converts integer, k, m and g to MB
Just remove this code, when we found out, why Strings is in some files
not working.
2023-03-19 18:52:45 +01:00
Jakobus Schürz 00ae7d0f59 make dropzone work on editing postings/Comments 2023-03-19 18:52:45 +01:00
Jakobus Schürz 8242d1c72b remove console.log 2023-03-19 18:52:45 +01:00
Jakobus Schürz a6a0507a89 small modifications to equalize the scripts 2023-03-19 18:52:45 +01:00
Jakobus Schürz be2afac60d take maxFilesize from systemsettings
* does not work everywhere...
2023-03-19 18:52:45 +01:00
Jakobus Schürz 359ad6ff5a fix a warning and suggestions for pullrequest
* fix indentation to tabs
* remove unneeded calls for dropzone.min.js and dropzone.min.css
* removed debug output
2023-03-19 18:52:45 +01:00
Jakobus Schürz 6a7f17559e fix composer dropzone 2023-03-19 18:52:45 +01:00
Jakobus Schürz 00c7e989b2 add missing css 2023-03-19 18:52:45 +01:00
Jakobus Schürz 29d7b4ef24 fix path for js and css loading 2023-03-19 18:52:45 +01:00
Jakobus Schürz e651769134 change/remove comments in code 2023-03-15 14:37:54 +01:00
Jakobus Schürz f5f2076a2d remove unused selector
was there for historical reasons... :/
2023-03-14 17:33:51 +01:00
Jakobus Schürz 0dffe65d64 fix indetation and removed some calls. 2023-03-14 17:32:11 +01:00
xundeenergie d6fc00c743 Update view/theme/frio/js/theme.js
removed it.

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-14 17:32:11 +01:00
Jakobus Schürz c94b586543 reduce literal html in javascript-code 2023-03-14 17:32:11 +01:00
Jakobus Schürz f8018f8dfe make errormessages modular and better 2023-03-14 17:32:11 +01:00
Jakobus Schürz 88f21c5892 move forgotten rotator from template 2023-03-14 17:32:11 +01:00
Jakobus Schürz 9140914a24 make erromessages translateable 2023-03-14 17:32:11 +01:00
Jakobus Schürz 7daecf6741 remove rotator from templates 2023-03-14 17:32:11 +01:00
Jakobus Schürz bd2cd8dd4c remove reminder for deleting rotators in tpl 2023-03-14 17:32:11 +01:00
xundeenergie 225e2124cc Update view/theme/frio/js/theme.js
in this case, the img[id^=waitfor... .show() shows existing image-containers. All of them which exist.

Because there can be more than one. And this filter just shows them.
adding another rotator with your suggestion can lead to 2 or more rotators on a button.

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-14 17:32:11 +01:00
Jakobus Schürz 2219978788 reduce indentation 2023-03-14 17:32:11 +01:00
Jakobus Schürz 96c3321bb8 improve optical feedback with rotator on buttons
* functional rotator with feedback from ajax-request for activity
    on like, dislike, share and shareMenu button in wide-screen and media-screen
2023-03-14 17:32:11 +01:00
Jakobus Schürz 660a9cf285 show rotator on button 2023-03-14 17:32:11 +01:00
Jakobus Schürz a1b9f27545 make indentation as tabs 2023-03-14 17:32:11 +01:00
Jakobus Schürz 4244670f1c simplify code, remove debug output 2023-03-14 17:32:11 +01:00
Jakobus Schürz f8fc9c1e8b improve like/share buttons
change the button only if it could send its request successfully to the server.

fixes:
* disrupting a video on liking or sharing
* timeline jumps around somewhere else, when you like or share a
  posting/comment, and you can not find back.
2023-03-14 17:32:11 +01:00
Michael 4e070f65c7 Option to automatically add links as attachment via API 2023-03-13 21:30:20 +00:00
Jakobus Schürz 95cb66b6bf move upload-button in filebrowser above previews
its annoying, when you open filebrowser to upload an image or file, and
the button moves away under your finger/cursor, in case of loading
preview images slower than the form itself.

just change position of button (class="upload") and browser itself
(class="media") disannoys the behaviour.
2023-03-13 10:48:16 +01:00
www-data 51083e9fcf fix typo (btn-defaul -> btn-default) 2023-03-08 05:48:34 +01:00
Damian Wajer cf3dc9a94f Fix calendar attendance icons 2023-03-07 17:57:54 +01:00
Damian Wajer 45571fe6a7 [frio] Move "Share via" to the share dropdown 2023-03-01 18:09:18 +01:00
Damian Wajer bc65ea9693 Use available space for post interaction buttons
Related: https://github.com/friendica/friendica/issues/12835
2023-02-22 18:11:18 +01:00
Philipp 5552aac327
check themplates 2023-02-18 21:50:07 +01:00
Philipp f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Michael 608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
Hypolite Petovan d059c36ca6 [frio] Fix XSS vulneralibity in Justified-Gallery Javascript dependency 2023-02-08 08:31:43 -05:00
Damian Wajer ec21c19be7 Fix labels in contact request modal
Fixes https://github.com/friendica/friendica/issues/12709
2023-01-25 19:05:42 +01:00
Michael 8e4e2eecb7 Issue 12702: Let the user decide how to handle spoiler texts 2023-01-22 17:10:31 +00:00
Damian Wajer 15a60d3b20 [frio] Regular size profile extra links 2023-01-19 19:49:22 +01:00
Damian Wajer 6ec49afa10 [frio] Ensure access to all user menu items on low screens 2023-01-19 19:49:14 +01:00
Damian Wajer b86663dd1f [frio] Adjust font-size 2023-01-19 19:49:10 +01:00
Damian Wajer b735c40b27 [frio] Contact actions size 2023-01-19 19:49:06 +01:00
Damian Wajer 0344a84543 [frio] Larger clickable area for batch actions 2023-01-19 19:49:01 +01:00
Damian Wajer 4d0684d3d5 [frio] Improve responses markup and alignment
Reduce additional spacing between button groups and use the correct markup according to the docs:
https://getbootstrap.com/docs/3.4/components/#btn-groups
2023-01-19 19:48:55 +01:00
Damian Wajer 33d0505ce3 [frio] New design for mobile responses 2023-01-19 19:48:46 +01:00
Damian Wajer fc25a3ce5f [frio] Improve spacing for responses items 2023-01-19 19:48:41 +01:00
Damian Wajer 5b01c7c977 [frio] Regular size thread action buttons on mobile 2023-01-19 19:48:33 +01:00
Damian Wajer ec2bfbdf10 [frio] Regular size comment button 2023-01-19 19:48:27 +01:00
Damian Wajer 53ba26b991 [frio] Larger clickable area for off-canvas user menu 2023-01-19 19:48:19 +01:00
Damian Wajer f6e63a641d [frio] Larger clickable area for dropdown menus 2023-01-19 19:48:16 +01:00
Damian Wajer aa3e3307d7 [frio] Use regular font-size for comments 2023-01-19 19:48:11 +01:00
Damian Wajer 3d929e1f52 [frio] Make the whole accordion area clickable 2023-01-19 19:48:02 +01:00
Damian Wajer 9dcc0f6f20 [frio] Larger clickable area for aside links 2023-01-19 19:47:57 +01:00
Damian Wajer 1e21945658 [frio] Larger clickable area for tabs 2023-01-19 19:47:49 +01:00
Hypolite Petovan e73adde5fb Remove App dependency from Hook::callSingle
- This was causing a circular dependency with the logger_instance hook
2023-01-14 10:38:37 -05:00
Philipp 0530755332
Security: Use htmlspecialchars() for user input in Arguments class 2023-01-12 20:24:39 +01:00
Michael 840f25cc5c Improve ignoring of messages 2023-01-09 16:23:39 +00:00
Michael 50e43c530e Posts from contacts can now be collapsed 2023-01-08 17:40:05 +00:00
Hypolite Petovan 3b9bf4d70d Remove system.no_auto_update personal config key and assume default value of true
- By popular request, the behavior with false was too perturbating
2023-01-05 10:27:03 -05:00
Hannes Heute bf28f4f751 small typo 2023-01-04 09:18:24 +01:00
Philipp b439df892a
Apply suggestions 2023-01-03 17:24:05 +01:00
Philipp 1e574d5383
Refactor IManageConfigValues interface 2023-01-03 14:22:04 +01:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
haheute e29c934ae4
Merge branch 'friendica:develop' into issue-11986-dm-link 2022-12-29 18:32:17 +01:00
Hannes Heute 6793e04365 add link to direct message heading 2022-12-29 18:28:01 +01:00
Hypolite Petovan dbc4e52fc4 Turn show comments element into a full-fledged button 2022-12-28 17:46:55 -05:00
Hypolite Petovan a1070f4818 Turn fake link spans into full-fledged buttons 2022-12-27 21:47:35 -05:00
Hypolite Petovan 48e960cc84 [frio] Restore access to plink icon in thread view 2022-12-27 21:12:48 -05:00
Hypolite Petovan fbb068e415 [frio] Normalize display of plink/network icons between thread/search 2022-12-27 21:12:23 -05:00
Hypolite Petovan c19dd39fe3 Remove counter-productive role="heading" and aria-level attributes 2022-12-27 13:24:19 -05:00
Marek Bachmann 90d99bc3e8 Changed registration text input to text area since BBcode is allowed there (was single line input) 2022-12-21 20:05:35 +01:00
Hypolite Petovan cdf180c58d Add new calendar.default_view pconfig key 2022-12-17 12:20:43 -05:00
Hypolite Petovan 30973647a6 [frio] Allow space for the upload button in the fbrowser modal 2022-12-16 19:16:25 -05:00
Hypolite Petovan d096dbe276 [frio] Re-hide the forum contact row in network page 2022-12-15 11:10:28 -05:00
Tobias Diekershoff f84e76d893
Merge pull request #12422 from MrPetovan/bug/5095-group-tooltip
[frio] Reduce group member add/remove button virtual height
2022-12-15 06:32:08 +01:00
Tobias Diekershoff d33dc131ff
Merge pull request #12425 from MrPetovan/task/11774-frio-remove-banner-setting
[frio] Remove header banner setting form field
2022-12-15 06:25:55 +01:00
Tobias Diekershoff 9e61720875
Merge pull request #12428 from MrPetovan/bug/12406-frio-contact-list-frame
[frio] Add wrapper to generic contact list
2022-12-15 06:16:13 +01:00
Hypolite Petovan 3546f5b189 [frio] Update description, version, maintainer and screenshot 2022-12-14 22:25:53 -05:00
Hypolite Petovan 0d2c302beb [frio] Add wrapper to generic contact list 2022-12-14 22:05:58 -05:00
Hypolite Petovan 244b65e5fc [frio] Remove header banner setting form field
- This setting isn't used in the frio theme at all
2022-12-14 21:45:27 -05:00
Hypolite Petovan 710a805623 [frio] Reduce group member add/remove button virtual height
- This bring down the tooltip closer to the icon
2022-12-14 21:17:01 -05:00
Hypolite Petovan 85db716894 Fix wrong condition when redirecting to filtered log view in admin/logs
- Address https://friendica.xyz/display/adf174d5-1563-937d-3cd7-2df680918252
2022-12-09 16:24:55 -05:00
loma-one 5d1aeea41e
Änderung Icon-Größe Schaltfläche Kommentare
Using the glocal css "template-icon" to show the correct size of the buttons
2022-12-08 21:47:52 +01:00
Michael 498a957009 The appearanxe of the link preview is now configurable 2022-12-07 07:02:04 +00:00
Philipp c6e627d45c
Fix preview function when creating posts 2022-12-05 21:10:14 +01:00
Hypolite Petovan e389fe945f Ward against empty template variable in frio:contact/entry.tpl 2022-12-03 04:19:33 -05:00
Hypolite Petovan 0d53c69610 Remove unused theme info value "events_in_profile"
All public events (event if they are ownded by other users) are visible
2022-12-01 08:03:34 -05:00
Marek Bachmann 0ea219f728 Use previously already available field.5 for short hand pattern ad admin page for maximagesize 2022-11-30 01:58:22 +01:00
Marek Bachmann 9c383e2004 allow shorthands in the system.maximagesize 2022-11-30 01:26:08 +01:00
Hypolite Petovan c0c414ab95 [frio] Add page wrapper to contact follow page 2022-11-29 06:37:41 -05:00
Hypolite Petovan 9fbdcb5459
Merge pull request #12277 from nupplaphil/mod/fbrowser
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser
2022-11-27 07:55:55 -05:00
Philipp 272911527c
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:52:14 +01:00
Philipp 012f486eb6
Adhere feedback 2022-11-27 01:34:59 +01:00
Philipp 50316bbb80
Move Browser & Upload to own namespace 2022-11-27 01:34:59 +01:00
Philipp 051253a745
Move FileBrowser to own namespace & Bugfix album usage 2022-11-27 01:34:58 +01:00
Philipp 3607aa32ca
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:34:58 +01:00
Philipp d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser 2022-11-26 22:26:30 +01:00
Hypolite Petovan 34418d790d Check for existence of $contact.photo_menu.edit in frio:contact/entry.tpl
- Address https://github.com/friendica/friendica/issues/11992#issuecomment-1327030221
2022-11-26 15:38:21 -05:00
Hypolite Petovan 77e87da441 Create /profile/{nickname}/photos route
- Create new Profile\Photos\Index module class
- Update most references of the legacy /photos/{nickname} route
2022-11-20 17:15:07 -05:00
Tobias Diekershoff eec48057dc
Merge pull request #12221 from MrPetovan/bug/warnings
Fix various PHP 8 deprecations
2022-11-20 08:21:06 +01:00
Hypolite Petovan 6f93ee7e49 Fix various PHP 8 deprecations 2022-11-19 19:15:47 -05:00
Hypolite Petovan a4eb6f971f [frio] Improve search list display for web and mobile
- Reduced margins
- Repositioned the network icon and external link
2022-11-19 17:16:51 -05:00
Thorsten d77fece367 Fix route for user import. 2022-11-19 15:17:42 +01:00
Hypolite Petovan a6d96bf1b7 Replace remaining references to contact_template.tpl by contact/entry.tpl 2022-11-16 16:23:47 -05:00
Philipp 75360f3b8c
Move mod/mod/msearch & mod/match to src/Module 2022-11-09 22:17:50 +01:00
Philipp 3f6ec3dd31
Merge pull request #12106 from MrPetovan/task/4090-move-mod-settings
Move mod/settings.php to src/Module
2022-11-09 20:34:31 +01:00
Hypolite Petovan cb5e18838c Replace remaining "admin" instances in moderation templates 2022-11-09 08:13:12 -05:00
Hypolite Petovan 45c4439119 Move settings/connectors to src/Module 2022-11-09 06:26:05 -05:00
Hypolite Petovan 33d1df3c6d Move settings/addons to src/Module 2022-11-09 06:25:41 -05:00
Hypolite Petovan 3226b00995 Move settings/oauth to src/Module
- Add settings_content() permission checks to Module\BaseSettings
- Transform application token deletion GET links to POST forms to keep a single OAuth module class
2022-11-09 06:25:22 -05:00
Hypolite Petovan 4a626ef101 Create new Contact\Redir module class
- Move /redir route to /contact/redir
2022-11-08 20:12:23 -05:00
Hypolite Petovan 48da6f2f51 Deleted fils related to mod/removeme.php 2022-11-08 18:33:54 -05:00
Hypolite Petovan 8161a32b77 Add missing links to moderation section 2022-11-08 09:16:36 -05:00
Tobias Diekershoff 48090d1b70
Merge pull request #12142 from MrPetovan/task/homepage-verified
Add title to homepage verified check mark
2022-11-08 11:12:17 +01:00
Hypolite Petovan 0a20566199 Replace remaining occurrences of admin/users route by moderation/users 2022-11-08 04:26:11 -05:00
Hypolite Petovan 561f22cdc4 Add title to homepage verified check mark
- Decrease log level for not found Memcached keys
2022-11-08 04:20:19 -05:00
Hypolite Petovan 18f54f4425 New area "moderation"
- Moved several admin pages to the moderation area
- ACL still is checking for administrator credentials
2022-11-08 02:28:42 -05:00
Philipp 78a8ed6fe7
adhere feedback 2022-11-07 20:21:11 +01:00
Philipp f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
Tobias Diekershoff 457c34dd13 add a checkmark to the vcards if the homepage has a rel-me back to the profile 2022-11-07 11:15:55 +01:00
Hypolite Petovan d5b29b1c61 Add follow/unfollow link to the contact actions menu 2022-11-06 19:03:21 -05:00
Hypolite Petovan 9aa05eb911 Deprecate themes duepuntozero, quattro and smoothly 2022-11-05 00:06:10 -04:00
Philipp 8cec89195b
Merge pull request #12102 from MrPetovan/task/11011-frio-contact-template-link
[frio] Make the main contact row template link to the contact page
2022-11-04 19:49:34 +01:00
Hypolite Petovan a09558e8a8 [frio] Make the main contact row template link to the contact page
- This was preventing mobile users to access the contact page that was hidden behind a onmouseover behavior
- The now unused template for contact filtering is also removed
2022-11-04 13:03:35 -04:00
Hypolite Petovan 8124dedbf6 Create new Post/Share module class 2022-11-04 13:02:01 -04:00
Hypolite Petovan 8ec5d10bf4 Add new Contact/Suggestions module class 2022-11-04 07:57:00 -04:00
Hypolite Petovan 811e144e9e Move viewcontact_template and contact_template to contact/ folder 2022-11-04 07:03:55 -04:00
Hypolite Petovan 1ba9a65fd8 Add new Post/Tag/Add module class
- Convert GET to POST
2022-11-03 22:26:48 -04:00
Michael 0f9e2b6da4 Issue 12097: Notify for each new user registration 2022-11-03 19:59:33 +00:00
Tobias Diekershoff 97722177d5
Merge pull request #12091 from MrPetovan/bug/12085-view-logs-detail
Fix wrong class name in logs view template
2022-11-01 16:46:38 +01:00
Hypolite Petovan 2c7a60eb0e Replace remaining "follow" route instances to "contact/follow" 2022-11-01 09:41:39 -04:00
Hypolite Petovan 64d02c6636 Fix wrong class name in logs view template
- This was stunting the Javascript responsible for showing log entry details
2022-11-01 09:17:42 -04:00
Hypolite Petovan 3020dfbeeb Rename auto_request.tpl form action template variable 2022-10-31 15:30:23 -04:00
Hypolite Petovan 969b4f991e Create Profile\Attachment\Upload module class
- Add missing response type in AjaxUpload initializition
2022-10-31 14:57:25 -04:00
Hypolite Petovan 39765e6018 Create Profile\Photos\Upload class 2022-10-30 14:20:01 -04:00
Philipp ee71086133
UserSession class [7] - Refactor view/ files 2022-10-21 10:25:41 +02:00
Michael 11944dda32 old boot.php functions replaced in various places 2022-10-19 07:44:08 -04:00
Philipp 7ac86e49d1
Move Core\Session::get() to DI::session()->get() 2022-10-18 21:10:37 +02:00
Roland Häder 26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
Hypolite Petovan e556dc3c31 Add new frio.always_open_compose setting
- This setting allows the New Post button to always open the Compose page instead of the modal by default
2022-10-16 11:49:27 -04:00
Hypolite Petovan d826fe0a3b Refactor files related to the Compose page and frio theme settings
- Use dependencies instead of most DI calls in Module\Item\Compose
- Group translation strings in a subkey of the template variables array
- Rewrite array initializations in theme/frio/config
2022-10-16 11:48:28 -04:00
Roland Häder da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Hypolite Petovan 1422e8a510 [frio] Add left sidebar toggle button for mobile anonymous view
- It was missing from the anonymous top bar
2022-10-06 18:00:43 -04:00
Michael 4d39ec8b63 Issue 11880: Provide "alt" description from uploaded file 2022-10-03 21:23:04 +00:00
Hypolite Petovan 60d1779717 [frio] Add support for asynchronous call to /filerm module for post categories and folders
- This prevents the page to change to an empty page when clicking on the remove link of categories and folders
2022-09-11 02:36:06 -04:00
Hypolite Petovan 4a885a13a6 Remove poke feature 2022-08-09 14:55:55 -04:00
Hypolite Petovan 49394aedeb Add password length limit if using the Blowfish hashing algorithm
- Add new page to reset a password that would be too long
- Add support for pattern parameter in field_password
2022-08-01 12:12:18 -04:00
Alessandro Lorenzi 94cf4fa37a
fix(frio): "Data" move header in template w/ l10n
fix: #11581
2022-07-28 18:10:01 +02:00
Hypolite Petovan c50b3d671e [frio] Accept 0 as a valid content background transparency in frio/style.php 2022-07-13 17:51:45 -04:00
Hypolite Petovan 5d8ebffb4e
Merge pull request #11730 from HankG/bugfix-frio-display-settings-error
Fix frio settings display error setting scheme to custom type if null
2022-07-13 08:50:23 -04:00
Hank Grabowski 74252b5a31 Fix frio settings display error setting scheme to custom type if null 2022-07-13 08:40:54 -04:00
Hypolite Petovan 1d94e2866a Enable the view module in maintenance mode
- This allows to load the default theme CSS
- Theme scripts have been updated to reflect the possibility they will be included in maintenance mode
2022-07-12 19:48:36 -04:00
Hank Grabowski e57e1ba1e5 Make network counts at the group level system level configurable 2022-07-08 15:29:34 -04:00
Roland Häder 84bfc37bf1
Changes:
- added more type-hints
- added missing documentation
2022-06-22 14:36:45 +02:00
Roland Häder cd3b01fd82
Changed:
- cannot have type-hints :-(
2022-06-20 03:48:34 +02:00
Roland Häder 58c48977ec
These files should never have executable files 2022-06-16 09:14:23 +02:00
Roland Häder fd0d4aedee
Font files should NEVER be executable
Signed-off-by: Roland Häder <roland@mxchange.org>
2022-06-16 09:13:48 +02:00
Michael da33517a2d Rearrange the notification settings 2022-06-05 21:19:21 +00:00
Michael 57b8708425 Issue 11566: More detailled notification configuration 2022-06-05 11:41:08 +00:00
Hypolite Petovan 1301a53f20 Remove relocation form from Admin Site settings 2022-05-29 13:15:23 -04:00
Tobias Diekershoff d816f02ab8
[frio] import contacts form was missing the enctype
fixes #11492 hopefully

For uploading files, the enctype for the form has to be set to `multipart/form-data`. Frio was missing this specification, other themes inherit it from the default template.
2022-05-11 17:28:57 +02:00
Tobias Diekershoff 7ce6fd19b5
adding style information for the Feed link 2022-04-29 19:33:26 +02:00
Tobias Diekershoff 6161485b2f
[frio] adding Feed link to vcard
This PR adds a link to the Atom Feed of a profile to the aside vcard in the Frio theme. The link is already in the other themes, so it only needs to be added to Frio.

fixes #10397
2022-04-29 19:27:25 +02:00
atjn 31ed9b450d Update default icon 2022-04-28 12:41:26 +02:00
Hypolite Petovan 967c438312 Enclose account settings panels in separate forms
- This prevents auto-filled password fields to abort settings save
- Move single-use settings/nick_set template HTML to settings/account
2022-04-24 08:36:53 -04:00
Michael 62b31900a6 Renamed "share" with "share via" 2022-04-19 21:04:55 +00:00
Michael 0d8cf06e4a Experimental feature to enter a custom creation date 2022-04-13 05:31:32 +00:00
Michael 75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Hypolite Petovan 5a12bd87f3 Replace Javascript notification string formatting with Smarty templates 2022-03-14 07:56:58 -04:00
Hypolite Petovan d15ebb6fd3 Normalize base URL usage in admin templates 2022-03-11 23:14:21 -05:00
Michael 39e820e6a3 Display the post receivers 2022-02-20 19:25:55 +00:00
Michael 706bcfa832 Fix for warnings in smarty templates 2022-02-20 06:57:04 +00:00
Michael 51fb265621 Merge remote-tracking branch 'upstream/develop' into forum3 2022-02-17 07:11:50 +00:00
Michael 9ac24a0f36 More rework to make private communities working 2022-02-16 22:56:55 +00:00
Hypolite Petovan 99979019bf Expand system.accept_only_sharer pconfig value to include previous behavior with likes 2022-02-15 15:54:36 -05:00
Michael c7b3c071c7 Issue 11034: Use the profile photo for local users 2022-02-01 19:12:33 +00:00
Michael 43779c2c92 Merge remote-tracking branch 'upstream/2021.12-rc' into advanced-cleaned 2022-01-12 21:29:03 +00:00
Michael b065318366 Cleaned advanced contact tab 2022-01-12 21:23:45 +00:00
Hypolite Petovan f2af985350 [frio] Add a conditional browser share button 2022-01-09 12:31:54 -05:00
Hypolite Petovan 18b32b68aa [frio] Add connector-based privacy display 2022-01-09 12:17:52 -05:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Hypolite Petovan 60bb66e18d [frio] Make connector settings panels keyboard activated
- Keep the connector panel open after form was submitted
2021-11-29 06:03:59 -05:00
Hypolite Petovan 0ca420c949 [frio] Make addon settings panels keyboard actionable
- Keep the addon panel open after form was submitted
2021-11-29 06:03:59 -05:00
Hypolite Petovan 22a8be5f96 [frio] Make accordions keyboard actionable 2021-11-29 06:03:58 -05:00
Philipp 9207b9e408
Fixing https://github.com/friendica/friendica/issues/11033 2021-11-27 13:48:05 +01:00
Philipp b5d2d32b44
Split and delete ModuleController
- $moduleName is part of the argument string => App\Arguments
- $isBackend boolean already part of App\Mode::isBackend()
- $module is now the direct return of App\Router::getModule()
- ModuleController::run() moved to BaseModule::run()
2021-11-27 12:39:45 +01:00
Michael Vogel 06284e6007
Merge pull request #11015 from MrPetovan/task/10979-frio-time-tooltip
Move title attribute to <time> tag
2021-11-22 12:45:29 +01:00
Hypolite Petovan 23e1130264 Move title attribute to <time> tag
- Use correct machine-readable value in datetime attribute
2021-11-21 22:51:21 -05:00
Hypolite Petovan eacfcc69c1 Move contact posts to their own module class
- Remove duplicated check for local_user() in Module\Contact
- [frio] Fix display issue for search items where the More button and icon would show but be inactive
2021-11-21 19:21:39 -05:00
Hypolite Petovan 0daa2f2228 [frio] Check for role="presentation" uses throughout the templates
- Upgrade a tags to buttons in file browser
- Fix formatting in nav.tpl
- Remove unwarranted instance for character counter in jot form
2021-11-14 20:30:21 -05:00
Michael cfac13790b "escapeTags" is finally removed 2021-11-07 09:18:25 +00:00
Michael 359dad4244 Some more "escapeTags" removed 2021-11-06 20:25:21 +00:00
Philipp 62bacbb833
Remove 'maxloadavg_frontend' restriction in Friendica 2021-11-05 20:52:43 +01:00
Michael 63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Michael 516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
Michael 4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
Tobias Diekershoff 2a0d3da070 fix link to media tab in navigation
In #10904 the wrong link was set, this PR should fix it and really point towards the media tab of the profiles.
2021-10-27 15:09:37 +02:00
Michael Vogel 81c9d8d479
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-25 21:27:21 +02:00
Michael 87673fd0c5 Merge remote-tracking branch 'upstream/develop' into logging 2021-10-25 18:56:29 +00:00
Michael 8185c591d8 New option to activate/deactivate contact avatar cache 2021-10-23 17:18:30 +00:00
Michael a497bd3a3d Merge remote-tracking branch 'upstream/develop' into logging 2021-10-22 06:06:39 +00:00
Michael f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
Tobias Diekershoff 34c6a4af07 exchange video with media link in the navigation menu in frio 2021-10-20 15:05:22 +02:00
Hypolite Petovan aea07a7c15 Add new purge contact content option to admin contact blocklist 2021-10-16 19:29:38 -04:00
Michael 41dc6cea2b Replace the legacy function 2021-10-11 04:33:10 +00:00
Michael 2c134c5229 q is now completely removed 2021-10-09 21:16:15 +00:00
Hypolite Petovan a9bb53b021 [frio] Fix event time display 2021-10-03 13:42:32 -04:00
Hypolite Petovan 9935e8e711 Remove event.adjust field
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Hypolite Petovan 47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
Hypolite Petovan 222333f64f Remove contact drop feature
- Feature was confusing, sometimes ineffective and overall overlapping with unfollow/block
2021-10-02 16:04:28 -04:00
Hypolite Petovan 72fae04e97 Add revoke follow feature
- Add new follow revoke module
- Add new hooks: revoke_follow, support_follow, support_revoke_follow
- Add link in contact page action menu
2021-10-02 14:01:46 -04:00
Hypolite Petovan 9918fa3ec0 Move translation strings in their own array for confirm templates 2021-10-02 13:52:54 -04:00
fabrixxm 0638e23f7a Mark string translatable in View logs
and update messages.po
2021-10-01 16:46:55 +02:00
Tobias Diekershoff f51438c168 unescape HTML from the relocation warning message 2021-10-01 14:05:17 +02:00
Michael 56a143c5c6 Duplicated "value" removed 2021-09-18 07:32:05 +00:00
Michael 21a3388096 Issue 9871: Deletion og photos is now possible again 2021-09-18 07:28:29 +00:00
Michael Vogel 695df7507a
Merge pull request #10713 from MrPetovan/task/10672-contact-module-security-token
Use CSRF token as name and value for contact deletion confirm form
2021-09-15 07:55:34 +02:00
Hypolite Petovan 458e26b00a Link to displayed contact URL no matter the "Stay local" setting value 2021-09-14 17:39:03 -04:00
Hypolite Petovan 06b8f93eae Add support for specific confirm value in confirm.tpl
- button tags allow for a different value from the label
2021-09-14 17:28:07 -04:00
Hypolite Petovan 3068cb5788 [frio] Fix contact deletion modal URL concatenation
- The deletion URL now has an initial query string parameter in the form of a CSRF token
2021-09-14 17:27:16 -04:00
Hypolite Petovan 12396a1298 [frio] Use correct admin endpoint for block/deletion in Admin\Users\Active
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-914516676
2021-09-10 12:27:23 -04:00
Hypolite Petovan 75d3f5094b
Merge pull request #10683 from annando/proxify
Make the proxy functionality optional
2021-09-10 10:24:17 -04:00
Michael Vogel 18470da84a
Merge pull request #10673 from MrPetovan/task/10672-contact-module-security-token
Add form security token to contact actions
2021-09-09 14:51:19 +02:00
Michael bdb5aa6bd9 Make the proxy functionality optional 2021-09-09 12:40:19 +00:00
Michael be3f7e4528 Fix for PR 10674: Changing the template variables according to the last changes 2021-09-06 20:25:23 +00:00
Hypolite Petovan e9aa27b19f Add form security token to contact actions
- Add token to batch POST actions
- Add token to individual GET actions
2021-09-06 12:30:38 -04:00
Hypolite Petovan 5262843e63 Add redirect URL parameter to contact batch
- This allows redirection to the correct contact tab after a batch action
2021-09-05 14:54:51 -04:00
Hypolite Petovan 6e358bfacf Remove user-controlled contact archival feature
- Archival is managed at the system level for failed probing and doesn't make sense for a user to decide on it
2021-09-05 14:54:50 -04:00
Michael 52ca3e5417 Remove all traces of "rino" 2021-09-05 18:34:44 +00:00
Philipp 687e6841bc
Rename Storage Backend labels 2021-09-02 23:27:35 +02:00
Michael 58abaf5c53 Merge remote-tracking branch 'upstream/2021.09-rc' into issue-10640-c 2021-09-01 18:34:24 +00:00
Michael c8d2c87af0 Issue 10640 - Inverse user display settings 2021-09-01 18:29:45 +00:00
Philipp 728e82d8b0
Improve translation for Storage module 2021-09-01 14:00:23 +02:00
Michael 85e2328b23 Issue 10640: Some more inversed settings 2021-08-31 19:26:17 +00:00
Michael 3944e5d38e Disable mail setting when imap support is disabled 2021-08-30 21:17:03 +00:00
Michael e3c7cd25e1 Issue 10640: Use consistent settings to enable protocol support 2021-08-30 19:46:10 +00:00
Michael 42de5c77d0 The desktop notifications have been reworked 2021-08-21 20:35:04 +00:00
fabrixxm 7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm 5e5d9db1b3 logs view: update frio template
add search and filter columns support.
add "prev/next" buttons to details popup
2021-08-19 14:55:33 +02:00
fabrixxm b8fc6a8c02 Advanced log view: Frio version
Show log event details in a modal dialog
2021-08-19 14:55:33 +02:00
Hypolite Petovan 37a30434bb Remove remaining mentions of $a->argc/argv
- This was breaking the layout of specific pages in Frio
2021-08-17 08:26:12 -04:00
Michael 473adaf463 Mark, file and starring does now work for all items 2021-08-12 05:28:47 +00:00
Michael c81e81dc8d "getUserId" is now "getLoggedInUserId" 2021-08-09 20:33:46 +00:00
Michael 4495e83eca Merge remote-tracking branch 'upstream/develop' into app-user2 2021-08-09 15:32:32 +00:00
Michael bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael 1061cde797 The frio-button now looks fine 2021-08-02 21:47:59 +00:00
Michael Vogel 5a2fa2f81a
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-02 22:38:08 +02:00
Michael 88e276843e Using "post" when deleting, fixing deleting 2021-08-02 19:18:44 +00:00
Michael Vogel 686785049e
Update view/theme/frio/templates/profile/schedule.tpl
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-02 20:43:50 +02:00
Michael f87e41e206 Scheduled posts are now listed and can be deleted 2021-08-02 17:03:06 +00:00
Michael 2e2d1bf81d Added option to define a schedule date when posting items 2021-08-01 13:01:31 +00:00
Hypolite Petovan 3cef3ab107
Merge pull request #10548 from annando/args
Replaced argv/argc with replacement functions
2021-07-26 18:43:47 -04:00
Michael 5a87ccf026 Getter/Setter for theme info 2021-07-25 19:39:10 +00:00
Michael c52b8595e8 theme infos are now bundled in a single array 2021-07-25 19:07:03 +00:00
Hypolite Petovan 69c75daf4f
Merge pull request #10543 from annando/app-variables
App variables reduced and removed
2021-07-25 08:56:05 -04:00
Philipp 4be4498b13
Update UX for Storage administration 2021-07-24 19:01:01 +02:00
Philipp e19b9824cd
Allow setting & saving storages per type 2021-07-24 19:00:58 +02:00
Philipp cbe522ee82
Fixings 2021-07-24 19:00:58 +02:00
Philipp 3647f6f031
Refactor storage admin setting 2021-07-24 19:00:58 +02:00
Philipp 97bafb3a59
Extract Storage admin section to own page 2021-07-24 19:00:58 +02:00
Michael a115f10d62 Styling 2021-07-24 13:11:49 +00:00
Michael b3b5599d27 Show the network icon for the contact 2021-07-24 12:21:33 +00:00
Michael afe3c8954c Simplified functionality to load the profile in the sidebar 2021-07-23 12:39:37 +00:00
Michael Vogel a1ee75eba7
Merge pull request #10498 from MrPetovan/bug/10477-frio-csp-error-event-edit
[frio] Move content of event_edit.js to mod_event.js to prevent an unsafe-eval
2021-07-22 14:39:25 +02:00
Michael b5f59d5be0 API: Support for deprecated API endpoints and OAuth removal 2021-07-20 20:48:37 +00:00
Michael 3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
Hypolite Petovan dde1d203f7 [frio] Move content of event_edit.js to mod_event.js to prevent an unsafe-eval 2021-07-14 08:13:24 -04:00
Michael 1466afe3b2 Automatically subscribe to the followings of a given AP account 2021-07-13 06:06:08 +00:00
Michael e5c312a066 Issue 10491: Possibility for simple shortening added 2021-07-12 14:11:51 +00:00
Hypolite Petovan 540dc90ce1 Merge frio-specific share block template into the base template
- Add BIDI support for share blocks
- Remove redundant share block styles
2021-07-09 19:23:01 -04:00
Michael dac27ead7a Proxy settings removed 2021-07-06 06:44:18 +00:00
Michael a06d699480 Item cache related functionality removed 2021-07-05 04:57:50 +00:00
Hypolite Petovan efff254a3a Wrap each addon settings form in their own form tag
- The single form tag was preventing a given addon settings to be saved if another addon had an empty required field.
- Instead of concatenating the addon form HTML through Hook::callAll, we loop manually through the hooks, appending the HTML to an array.
2021-06-27 23:15:27 -04:00
Michael bf8cb39102 Diaspora relay functionality is removed 2021-06-13 11:15:04 +00:00
Hypolite Petovan 2cc4bd2490 Add RTL support to many input fields
- Compose page
- Post jot
- Comment form
- Event form
2021-05-20 08:39:37 -04:00
Hypolite Petovan 6d0f6d94cb Add RTL support for post titles and photo captions 2021-05-20 08:39:36 -04:00
Hypolite Petovan 8e005f7de2 Remove whitespace from opening HTML tag ending 2021-05-20 08:39:36 -04:00
Hypolite Petovan f3aaed7541 Add RTL support for item body in search and photo body 2021-05-19 10:36:25 -04:00
Hypolite Petovan b79b1a3e7b Remove whitespace before opening HTML tag closure 2021-05-19 10:35:58 -04:00
Michael b18073d5a8 Repurposed OAuth frontend handling, store the scope 2021-05-13 14:58:55 +00:00
Michael f6faed9fdc Merge remote-tracking branch 'upstream/develop' into api-again 2021-05-12 09:15:27 +00:00
Hypolite Petovan 2e9ff4d72e [frio] Remove obsolete capitalize directives after updating source translation strings 2021-05-11 17:34:27 -04:00
Michael 43244a3588 Fix top border on mobile login 2021-05-11 20:49:36 +00:00
Hypolite Petovan 43638fa29b Fix undefined variables in nav.tpl
- Reworked the nav_info hook to include the rest of the array keys defined in Nav::getInfo
- Replaced the theme-specific template variable nav.userinfo with the regular userinfo in frio nav.tpl
- Initialized all the nav array keys
2021-05-10 19:03:33 -04:00
Hypolite Petovan da2ce5c4f4 Fix undefined tamplate variables in comment_item.tpl
- Remove unused "type" hidden field in comment form
- Remove unused moderated_comment.tpl files
2021-05-10 18:56:26 -04:00
Hypolite Petovan d5276fdb60 [frio] Harmonize link preview display with black/dark accented themes 2021-05-04 10:04:07 -04:00
Tobias Diekershoff f57ddee31c the command was missing from the worker queue overview 2021-05-02 09:55:19 +02:00
Hypolite Petovan c76af27533 Add initial RTL support for post bodies 2021-05-01 15:13:53 -04:00
Hypolite Petovan 531e5d7f3e Add RTL support to profile name and description in the VCard 2021-05-01 15:13:39 -04:00
Michael 3d64c3031b Preview for Videos and images / Video resolution selection 2021-04-28 19:05:46 +00:00
Hypolite Petovan af2cdac8d4 Frio: Adapt textcomplete display to dark/black schemes 2021-04-13 11:08:32 -04:00
Michael 99e93d2ba8 Remove empty lines arounf the horizontal ruler, no maximum height 2021-04-07 12:17:35 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00