Commit graph

1471 commits

Author SHA1 Message Date
Hypolite Petovan
ce9939b4c0 Separate JSON output of contact lists in message_recipient template 2023-04-23 16:31:29 -04:00
Hypolite Petovan
9788984b06 Move calls to json_encode from Smarty templates to variable lists
- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1518577079
2023-04-23 00:29:08 -04:00
Hypolite Petovan
03b7fcd09c Filter contact search by blocked remote domains
- Add filter explanation
2023-04-20 07:43:17 -04:00
Hypolite Petovan
c65cb66160 [vier] Remove duplicate variable declaration
- They were meant to be removed when the const declarations were introduced
2023-04-15 00:40:50 -04:00
Hypolite Petovan
4db29565de [frio] Add Dropzone dictionary strings to l10n 2023-04-09 08:24:12 -04:00
Philipp
36e21cacc9
Apply suggestions from code review
Switch to `isWritable`

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-27 19:36:14 +02:00
Philipp
fa9c3d40be
Add conditional help text for disabled fields 2023-03-27 19:36:13 +02:00
Philipp
76f3b07033
Disable setting fields in case we use environment variables 2023-03-27 19:36:13 +02:00
Josh Soref
04cbbcd2ff spelling: phppath
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref
c17e0ba9a8 spelling: flags
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:03:51 -04:00
Josh Soref
414a4348c4 spelling: except
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:03:51 -04:00
Josh Soref
68c7634fa6 spelling: sidebar
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
0b452bcc63 spelling: overridden
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
5b7ef2ff3c spelling: identity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
de7f9b380b spelling: height
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
acb85feafb spelling: explicit
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
f231e5b623 spelling: default
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Michael
72952d2c92 Issue 11535: Automatically open and close the registration 2023-03-21 21:44:26 +00:00
Jakobus Schürz
920dcca263 render max_imagesize in header.tpl
so it is reachable general from the whole website, and the dropzone-factory can use
it also to create dropzones from modal.js
2023-03-19 18:52:46 +01:00
Jakobus Schürz
16f065e260 changes in case of codereview 2023-03-19 18:52:45 +01:00
Jakobus Schürz
0cc2e1c22a apply changes from review 2023-03-19 18:52:45 +01:00
Jakobus Schürz
e62265b234 make errormessages visible 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
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
1e030d594c remove unneeded chars ("css") from first html-tag 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
3bb801c2c1 fix dropzone class in template 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
Michael
4e070f65c7 Option to automatically add links as attachment via API 2023-03-13 21:30:20 +00:00
Philipp
a1fedaf514
adapt install path 2023-02-19 11:29:29 +01:00
Philipp
5552aac327
check themplates 2023-02-18 21:50:07 +01:00
Philipp
dbb7022ca5
Refactor Installer due new BaseURL logic 2023-02-18 21:12:20 +01:00
Michael
608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
Hypolite Petovan
447709377c Ensure arbitrary HTTPException messages are HTML escaped
- These messages can include user-supplied strings
2023-02-04 20:36:33 -05:00
Hypolite Petovan
4e355c0f5e Create specific module to display HTML message when a conversation isn't found in Module\Item\Display 2023-02-04 20:28:04 -05:00
Michael
8e4e2eecb7 Issue 12702: Let the user decide how to handle spoiler texts 2023-01-22 17:10:31 +00:00
Hypolite Petovan
dcfb8bb73e Fix connection acknowledgement not appearing on contact page
- Remove obsolete template variables
- Move contact_edit vier template to base template
2023-01-21 09:18:17 -05:00
Damian Wajer
4b1328afa6 Regular-size primary buttons on compose page 2023-01-19 19:49:22 +01:00
Hypolite Petovan
594f738c6d Create base sub/direction.tpl template from vier
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383249754
2023-01-18 20:49:08 -05: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
Hypolite Petovan
dbc4e52fc4 Turn show comments element into a full-fledged button 2022-12-28 17:46:55 -05:00
Hypolite Petovan
e0241c36ef Replace base wall_thread template by vier version 2022-12-28 17:46:55 -05:00
Philipp
4f1bb0d274
Use X-REQUEST-ID for Error pages 2022-12-26 21:18:05 +01:00
Tobias Diekershoff
509715068a use correct field for ALT test 2022-12-24 14:57:03 +01:00
Tobias Diekershoff
8dcfafcfb0 issue 12515 2022-12-24 14:52:26 +01: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
Matthias Moritz
5817709562 Move vier version of calendat/calendar_head template to base
- With the support for the remaining themes dropped, the base template wasn't used anymore
2022-12-17 12:20:13 -05:00
Hypolite Petovan
2fa9d49632 Normalize padding in image grid
- Remove outside padding, vertical and horizontal
- Remove artificial padding with <br> in content/image.tpl
2022-12-12 21:56:23 -05:00
Marek Bachmann
8690b311a8 Moved image_grid.css content to global.css and use unique class names for imagegrid style classes, removed id for div 2022-12-12 22:58:50 +01:00
Marek Bachmann
236a4c819b Removed not needed image_grid_column.tpl 2022-12-10 23:44:23 +01:00
Marek Bachmann
d786f225ee Added image grid generation to addVisualAttachments 2022-12-10 22:54:50 +01:00
MarekBenjamin
e86a2e047d
Merge branch 'friendica:2022.12-rc' into new_image_presentation 2022-12-08 23:16:28 +01:00
loma-one
69e2b45f39
Titel H2 2022-12-08 22:14:47 +01:00
MarekBenjamin
75d857c595
Merge branch 'friendica:2022.12-rc' into new_image_presentation 2022-12-08 20:40:58 +01:00
loma-one
c95882125d
Change oversized buttons
Additional css specification in global.css to resize the button in the composer. ".template-icon"
Use ".template-icon" in additional buttons that are currently displayed oversized.
2022-12-08 20:38:44 +01:00
Michael
498a957009 The appearanxe of the link preview is now configurable 2022-12-07 07:02:04 +00:00
Marek Bachmann
458f22d303 Support more than 2 images 2022-12-06 00:59:48 +01:00
Marek Bachmann
7fb0f018df First draft for using a image grid to display attached images. 2022-12-06 00:59:47 +01:00
Michael
16b76919c0 Rules added 2022-12-03 21:15:08 +00: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
d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser 2022-11-26 22:26:30 +01: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
Hypolite Petovan
525eab395c Improve error message when conversation isn't available in Module\Item\Display
- Retrieve the parent post no matter what. Previously it was depending on the user's settings, which gave unpredictable behavior if the parent post wasn't retrieved for whatever reason.
- List possible reasons the conversation isn't showing up based on the condition in Model\Post::selectViewForUser
- Allow HTML in exception messages
2022-11-19 12:29:08 -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
KulikAlex
03cfb69a64
Update message_recipient.tpl 2022-11-12 19:04:02 +03:00
Philipp
a36a4b6192
fix link 2022-11-09 22:28:29 +01: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
48da6f2f51 Deleted fils related to mod/removeme.php 2022-11-08 18:33:54 -05:00
Hypolite Petovan
a68c790c64 Create new Settings\RemoveMe module class
- Moved route from /removeme to /settings/removeme
- Combined templates into one
2022-11-08 18:33:54 -05:00
Hypolite Petovan
99d54dc711 Restore Item\Source module functionality 2022-11-08 11:53:09 -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
Hypolite Petovan
c7dbe0b610 Create new OStatus\Repair module class
- Create corresponding template file
2022-11-07 21:44:18 -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
Tobias Diekershoff
0104930fb3 add homepage help text to the templates 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
ae5dde9f5e Fix <a> tags with an onclick action navigating to the URL 2022-11-06 19:03:21 -05:00
Philipp
5d2a25a86e
Merge pull request #12128 from tobiasd/20221106-viercontacts
[vier] Fix contacts display
2022-11-06 20:23:51 +01:00
Tobias Diekershoff
fb07ba2e3b the filebrowser.tpl file was missing an " 2022-11-06 19:21:37 +01:00
Tobias Diekershoff
1f4ca51cc8 [vier] Fix contacts display 2022-11-06 17:41:10 +01:00
Hypolite Petovan
8124dedbf6 Create new Post/Share module class 2022-11-04 13:02:01 -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
a89f235044 Merge remote-tracking branch 'upstream/develop' into issue-12097 2022-11-03 20:15:53 +00:00
Michael
0f9e2b6da4 Issue 12097: Notify for each new user registration 2022-11-03 19:59:33 +00:00
Hypolite Petovan
e0dc7a471e Create Post/Tag/Remove module class and route
- Fix tag name parameter in single tag removal link in mod/photos
- Remove "/post" from backend routes as it was preventing sessions from working in this module. No existing module had a route starting with "/post".
2022-11-03 00:27:08 -04:00
Hypolite Petovan
2b2fa4471f Remove mod/uimport.php 2022-11-02 11:27:32 -04:00
Hypolite Petovan
4ab260042c Create new User\Import module class
- Merge Core\UserImport class in Module class
2022-11-02 11:27:31 -04:00
Philipp
7c4a7bff2e
Move new events routes to calendar routes 2022-11-02 15:16:24 +01:00
Philipp
2c90ab69d6
Move event export to src/Module/Events/Export 2022-11-02 15:16:23 +01:00
Hypolite Petovan
2c7a60eb0e Replace remaining "follow" route instances to "contact/follow" 2022-11-01 09:41:39 -04:00
Hypolite Petovan
3020dfbeeb Rename auto_request.tpl form action template variable 2022-10-31 15:30:23 -04:00
Hypolite Petovan
39765e6018 Create Profile\Photos\Upload class 2022-10-30 14:20:01 -04:00
Hypolite Petovan
07dd548a10 Remove mod/wallmessage module 2022-10-30 10:49:47 -04:00
Hypolite Petovan
9561910e83 Create Profile\UnkMail module class 2022-10-30 10:49:47 -04:00
Tobias Diekershoff
80a897f2f3 add a nofollow to the blocklist export link 2022-10-26 07:30:46 +02:00
Michael
d3e167c77c All references to boot.php are now removed 2022-10-19 20:38:25 +00: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
Michael
4d39ec8b63 Issue 11880: Provide "alt" description from uploaded file 2022-10-03 21:23:04 +00:00
Michael
ff89c1a8bf Template based XML generation is replaced with native XML 2022-09-11 07:00:16 +00: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
Hypolite Petovan
e11d3cfeb0 Add upload feature for domain pattern block list
- Add new /admin/blocklist/server/import route
- Add form on domain pattern blocklist index page
2022-07-27 11:54:50 -04:00
Hypolite Petovan
7d7a5a65e9 Add download feature for domain block list
- Add new /blocklist/domain/download route
- Add link on /friendica page
2022-07-27 11:54:50 -04:00
Hank Grabowski
e57e1ba1e5 Make network counts at the group level system level configurable 2022-07-08 15:29:34 -04:00
Philipp
0223c030a9
Improve 2 factor usage 2022-06-25 23:04:00 +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
Michael
a63caefe3d Polls are now displayed 2022-05-16 04:55:15 +00: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
0d8cf06e4a Experimental feature to enter a custom creation date 2022-04-13 05:31:32 +00:00
Michael
989ac2fda8 Some more "exit" replaced 2022-04-10 11:03:24 +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
Hypolite Petovan
b24fe917e4 Prevent tagsinput select element to be submitted without a value when they are required
- This was allowing to submit private messages to the wrong recipient
2022-02-23 21:30:18 -05: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
384fe562a8 More statistics 2022-02-07 06:23:49 +00:00
Michael
bdba75ec47 Show detailled statistics per platform 2022-02-07 06:11:37 +00:00
Michael
58b4ecd6ae Show month/halfyear usage 2022-02-07 05:29:00 +00:00
Michael
c7b3c071c7 Issue 11034: Use the profile photo for local users 2022-02-01 19:12:33 +00:00
Hypolite Petovan
aeb112ab5f Fix bidi support in shared posts
- Display was wrong when language direction was different between nickname and content
2022-01-17 07:39:05 -05:00
Michael
b065318366 Cleaned advanced contact tab 2022-01-12 21:23:45 +00:00