Commit graph

46 commits

Author SHA1 Message Date
Jakobus Schürz
6436d2cd8a changes in case of code-review 2023-03-19 18:52:46 +01: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
f876a053df add dropzone also onclick on comment-fake-form 2023-03-19 18:52:45 +01:00
Jakobus Schürz
1a1a1246b6 attach dropzone only when opening comment 2023-03-19 18:52:45 +01:00
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
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
29d7b4ef24 fix path for js and css loading 2023-03-19 18:52:45 +01:00
www-data
51083e9fcf fix typo (btn-defaul -> btn-default) 2023-03-08 05:48:34 +01:00
Damian Wajer
ec2bfbdf10 [frio] Regular size comment button 2023-01-19 19:48:27 +01: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
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
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
95b09aaec4 [frio] Add loading animation on comment form submit 2020-02-11 23:45:47 -05:00
Hypolite Petovan
c25527cbe8 Replace obsolete #comment-preview-inp field by query string append 2019-07-29 21:58:37 -04:00
Hypolite Petovan
ad30e4824c [frio] Add margin between comment submit buttons and preview 2019-02-16 17:58:00 -05:00
Hypolite Petovan
2dd7a52b17 [frio] Thread display redesign
- Add fake form at end of comment list
- Shuffle comment box buttons around using flex display
- Convert divs into paragraphs
- Remove unused commentInsert() and qCommentInsert() function from textedit.js
2019-02-14 22:28:38 -05:00
Michael
d40b2792b6 Display mentioned users and in the comment box by default 2019-01-28 21:22:03 +00:00
Hypolite Petovan
2241ba4540 Remove uses of HTML escaping in Smarty templates 2018-12-16 22:38:30 -05:00
Michael
4f9f86e310 We are now escaping many template fields 2018-11-25 18:56:26 +00:00
Jonny Tischbein
d2b5f77be9 Add multimedia link for jot + enables hover text in jot + autosize in when paste link + renaming / Code Standards 2018-10-24 16:20:10 +02:00
Jonny Tischbein
d0c43c5597 Add prompt for link and media in comment + remove video symbol 2018-10-23 19:50:19 +02:00
Jonny Tischbein
3065d1c40a Add Link promt in comment + only add URL instead of attachement via parse_url 2018-10-17 21:05:45 +02:00
rabuzarus
54c3efccab frio - don't show the "insert image" button in modals (because it doesn't work at the current state) 2018-04-21 14:27:57 +02:00
Michael
3792012723 Improved accessibility for "Frio" 2018-04-05 21:50:34 +00:00
Hypolite Petovan
5c3abe0ca6 Prevent comment UI from closing when using BBCode buttons with empty textarea 2017-04-18 22:03:49 -04:00
Hypolite Petovan
87bf6d39dd More display fixes
See
https://github.com/friendica/friendica/pull/3204#issuecomment-288908490
2017-03-23 22:45:40 -04:00
Hypolite Petovan
30049d862c Fix comment double-posting 2017-03-15 07:07:06 -04:00
Hypolite Petovan
7cb44ae25a Turn all the action <a> tags into buttons
- Add CSS changes to support both <a> and <button class="btn btn-link">
- Removed unnecessary "return false" in onclick attributes
- Simplified tabs in profile page to native Bootstrap behavior
2017-03-14 23:47:02 -04:00
Hypolite Petovan
d7c9b293d3 Update insertFormatting() definition
- Remove now useless comment parameter
- Formatting all around
- Update data-role=“insert-formatting” links
- Update onclick=“insertFormatting()” links
2017-01-08 02:16:03 +11:00
Hypolite Petovan
b50f1f970f Use placeholder attribute for Comment message
- Remove global aStr.comment
- Remove global window.commentEmptyText
- Remove head.tpl $comment parameter
2017-01-08 02:13:55 +11:00
Hypolite Petovan
daa8e4f901 Cleaning up, actual changes are in the next commits
- Formatting
- Trailing spaces
- Extraneous blank lines
- Large comments
2017-01-08 02:03:11 +11:00
rabuzarus
02a0269a67 Frio Bugfix: clear float at the end of comment-edit 2016-11-16 14:19:09 +01:00
rabuzarus
9653ae98ae frio: resize textareas on typing. 2016-08-23 16:48:13 +02:00
rabuzarus
b67378ac69 restructuring for PR for friendica main repo 2016-05-25 15:12:29 +02:00
Renamed from templates/comment_item.tpl (Browse further)