Commit graph

1353 commits

Author SHA1 Message Date
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