Commit graph

33 commits

Author SHA1 Message Date
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
16f065e260 changes in case of codereview 2023-03-19 18:52:45 +01:00
0cc2e1c22a apply changes from review 2023-03-19 18:52:45 +01:00
e62265b234 make errormessages visible 2023-03-19 18:52:45 +01:00
39f7660a1d fix getting bytes from shorthand in php 2023-03-19 18:52:45 +01:00
64066349aa add timeout before remove images from dropzone 2023-03-19 18:52:45 +01:00
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
1e030d594c remove unneeded chars ("css") from first html-tag 2023-03-19 18:52:45 +01:00
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
00ae7d0f59 make dropzone work on editing postings/Comments 2023-03-19 18:52:45 +01:00
8242d1c72b remove console.log 2023-03-19 18:52:45 +01:00
a6a0507a89 small modifications to equalize the scripts 2023-03-19 18:52:45 +01:00
be2afac60d take maxFilesize from systemsettings
* does not work everywhere...
2023-03-19 18:52:45 +01:00
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
6a7f17559e fix composer dropzone 2023-03-19 18:52:45 +01:00
3bb801c2c1 fix dropzone class in template 2023-03-19 18:52:45 +01:00
29d7b4ef24 fix path for js and css loading 2023-03-19 18:52:45 +01:00
Damian Wajer
4b1328afa6 Regular-size primary buttons on compose page 2023-01-19 19:49:22 +01:00
loma-one
69e2b45f39
Titel H2 2022-12-08 22:14:47 +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
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
0d8cf06e4a Experimental feature to enter a custom creation date 2022-04-13 05:31:32 +00:00
Michael
2e2d1bf81d Added option to define a schedule date when posting items 2021-08-01 13:01:31 +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
8f4f6899dd Update composer module to use the new ACL selector
- Remove ACL-specific code from compose-footer
- Move compose-footer template remaining content to compose.js
2019-11-28 12:54:56 -05:00
Hypolite Petovan
8f20e2054b Move /acl module to src/
- Move Core\ACL::contactAutocomplete to Module\Search\Acl
- Rename module path to /search/acl
2019-10-03 22:40:42 -04:00
Hypolite Petovan
341046e3a0 [frio] Prevent Enter from sending the form in ACL tags input in /compose 2019-08-25 21:01:59 -04:00
Hypolite Petovan
c25527cbe8 Replace obsolete #comment-preview-inp field by query string append 2019-07-29 21:58:37 -04:00
Hypolite Petovan
9d20705700 Improve compose page template
- Update title and description of the limited/private panel
- Move CC email addresses outside of the visibility panels
2019-07-29 20:31:49 -04:00
Hypolite Petovan
496b02bdd2 [frio] Accessibility: enable keyboard action on visibility panels in compose page 2019-07-29 20:31:48 -04:00
Hypolite Petovan
4f4b538bcf [frio] Add jotnet fields to compose page
- Move hardcoded descriptions to translation strings
2019-07-29 20:31:47 -04:00
Hypolite Petovan
c24ca57f21 Add frio-specific /compose module 2019-07-29 20:31:46 -04:00