1
0
Fork 0
Commit graph

7416 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
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
d39781023e create factory 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
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
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
00c7e989b2 add missing css 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
6db244f476 Fix over-aggressive lowercasing of url, title, image, and preview fields 2023-03-18 21:52:53 -04: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
e2625592b7 update translation-files 2023-03-14 17:33:49 +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
bb835848d4
Merge pull request #12886 from annando/auto-attach
Option to automatically add links as attachment via API
2023-03-14 08:18:21 +01:00
4e070f65c7 Option to automatically add links as attachment via API 2023-03-13 21:30:20 +00:00
c389b48a9f bump version to 2023.03-rc 2023-03-13 21:22:33 +01: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
b593165949
adapt theme comment 2023-02-19 11:30:33 +01:00
a1fedaf514
adapt install path 2023-02-19 11:29:29 +01:00
92850d4482
Update messages.po 2023-02-18 21:50:14 +01:00
5552aac327
check themplates 2023-02-18 21:50:07 +01:00
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
dbb7022ca5
Refactor Installer due new BaseURL logic 2023-02-18 21:12:20 +01:00
608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
0d41752cfe
Update messages.po 2023-02-12 13:38:10 +01:00
d059c36ca6 [frio] Fix XSS vulneralibity in Justified-Gallery Javascript dependency 2023-02-08 08:31:43 -05:00
9e4adabb58 Update main translation files after updating strings 2023-02-04 20:36:33 -05:00
447709377c Ensure arbitrary HTTPException messages are HTML escaped
- These messages can include user-supplied strings
2023-02-04 20:36:33 -05:00
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
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
87e9dafc56 Removed duplicated "be" 2023-01-23 06:48:42 +00:00
492ba45aa8 Merge remote-tracking branch 'upstream/develop' into issue-12702 2023-01-23 06:44:50 +00:00
75cac38fe3 Updated messages.po 2023-01-23 06:43:13 +00:00
557553a856 Updated messages.po 2023-01-23 06:37:45 +00:00
8e4e2eecb7 Issue 12702: Let the user decide how to handle spoiler texts 2023-01-22 17:10:31 +00:00
c3381c8b05 Updated main translation file after removing strings 2023-01-21 09:29:08 -05:00
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
15a60d3b20 [frio] Regular size profile extra links 2023-01-19 19:49:22 +01:00
Damian Wajer
4b1328afa6 Regular-size primary buttons on compose page 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
Philipp
15938c5b87
Merge pull request #12695 from MrPetovan/bug/fatal-errors
Address a few fatal errors
2023-01-19 08:09:03 +01:00
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
da4441875d Updated main translation file after editing strings 2023-01-18 20:42:10 -05:00
e06f699dd9 Added Documentation, updated messages.po 2023-01-14 21:20:04 +00:00
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
91ff24b0e4
Merge pull request #12663 from nupplaphil/sec/xss_404
Security: Use htmlspecialchars() for user input in Arguments class
2023-01-13 13:57:41 -05:00
0530755332
Security: Use htmlspecialchars() for user input in Arguments class 2023-01-12 20:24:39 +01:00
8a902afde5 Updated messages.po - again 2023-01-12 07:06:24 +00:00
5b8752edd9 Updated messages.po 2023-01-12 06:35:49 +00:00
9f902571b7 Update main translation file after changing strings 2023-01-11 09:01:30 -05:00
194b84141d Updated messages.po 2023-01-09 17:29:42 +00:00
4e0da578fa Merge remote-tracking branch 'upstream/develop' into improve-ignore 2023-01-09 17:23:10 +00:00
ee8ae5796a Updated messages.po again 2023-01-09 16:25:02 +00:00
840f25cc5c Improve ignoring of messages 2023-01-09 16:23:39 +00:00
214838ea3b Updated messages.po 2023-01-09 16:18:35 +00:00
83dd49a43c Updated "messages.po" again 2023-01-08 23:26:26 +00:00
82b28e173b Updated mesages.po 2023-01-08 23:15:15 +00:00
5738d480da Changed messages.po 2023-01-08 18:28:34 +00:00
50746bad55 Merge remote-tracking branch 'upstream/develop' into collapse 2023-01-08 17:47:21 +00:00
50e43c530e Posts from contacts can now be collapsed 2023-01-08 17:40:05 +00:00
6c379610dc Update main translation file after removing a string 2023-01-07 22:48:31 -05:00
d22712956b Updated messages.po 2023-01-07 17:16:44 +00:00
4e4eab7548 Merge remote-tracking branch 'upstream/develop' into mod-item 2023-01-07 17:14:40 +00:00
7b30c44b60
Update messages.po 2023-01-07 15:50:03 +01:00
f2253991e7
Update messages.po 2023-01-07 15:18:23 +01:00
204a478f65 Update main translation file after removing a string 2023-01-05 10:44:03 -05:00
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
09f46b20f1 Functionality is split 2023-01-04 10:59:28 +00:00
Hannes Heute
bf28f4f751 small typo 2023-01-04 09:18:24 +01:00
b439df892a
Apply suggestions 2023-01-03 17:24:05 +01:00
1e574d5383
Refactor IManageConfigValues interface 2023-01-03 14:22:04 +01:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
4eceb2d26f Merge remote-tracking branch 'upstream/develop' into move-delivery 2022-12-30 21:40:09 +00:00
dd4aeba5a1 Updated messages.po 2022-12-30 21:31:00 +00:00
5af956b92f
Merge pull request #12570 from haheute/issue-11986-dm-link
Add link to heading in direct messages list
2022-12-30 01:52:13 -05:00
c517ab386a
Fix messages.po and adapt README 2022-12-29 21:30:01 +01:00
Matthew Exon
c0a874b8d4 Update translation file with new error message 2022-12-29 20:07:18 +01: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
272951d39b
Merge pull request #12564 from nnsrymni/develop
JA translation update
2022-12-29 18:24:20 +01:00
nnsrymni
7122d72871 JA translation update 2022-12-29 09:15:05 +09:00
dbc4e52fc4 Turn show comments element into a full-fledged button 2022-12-28 17:46:55 -05:00
e0241c36ef Replace base wall_thread template by vier version 2022-12-28 17:46:55 -05:00
76edf4d285 Update main translation file after updating strings 2022-12-28 00:46:16 -05:00
a1070f4818 Turn fake link spans into full-fledged buttons 2022-12-27 21:47:35 -05:00
48e960cc84 [frio] Restore access to plink icon in thread view 2022-12-27 21:12:48 -05:00
fbb068e415 [frio] Normalize display of plink/network icons between thread/search 2022-12-27 21:12:23 -05:00
c19dd39fe3 Remove counter-productive role="heading" and aria-level attributes 2022-12-27 13:24:19 -05:00
5c332af844
Merge pull request #12527 from nupplaphil/feat/request_id
Introduce Request::getRequestId()
2022-12-26 16:07:35 -05:00
4f1bb0d274
Use X-REQUEST-ID for Error pages 2022-12-26 21:18:05 +01:00
1be9d6b2cb Fix wrong variable reference in view wall_thread template
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1364715116
2022-12-26 09:26:57 -05:00
509715068a use correct field for ALT test 2022-12-24 14:57:03 +01:00
8dcfafcfb0 issue 12515 2022-12-24 14:52:26 +01:00
Marek Bachmann
b876a9efcd Distinguish between comment likes and post likes. 2022-12-23 02:38:00 +01:00
Marek Bachmann
ef4f508f9b messages.po and and corrected typo in comment 2022-12-23 01:06:21 +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
c84f18ef66 bump VERSION to 2023.03-dev 2022-12-20 06:52:15 +01:00
eeadc00e83 bump VERSION to 2022.12 2022-12-20 06:48:39 +01:00
43fd9eb77c DE translation updates 2022-12-18 16:12:50 +01:00
f7a8c109e9 Updated main translation file after adding a string 2022-12-18 01:04:04 -05:00
3756f933a6 Update main translation file after adding strings 2022-12-17 12:20:49 -05:00
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