Commit graph

241 commits

Author SHA1 Message Date
Jakobus Schürz
16f065e260 changes in case of codereview 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
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
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
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
9140914a24 make erromessages translateable 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
Michael
840f25cc5c Improve ignoring of messages 2023-01-09 16:23:39 +00:00
Hypolite Petovan
cdf180c58d Add new calendar.default_view pconfig key 2022-12-17 12:20:43 -05:00
Hypolite Petovan
85db716894 Fix wrong condition when redirecting to filtered log view in admin/logs
- Address https://friendica.xyz/display/adf174d5-1563-937d-3cd7-2df680918252
2022-12-09 16:24:55 -05:00
Philipp
272911527c
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:52:14 +01: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
3607aa32ca
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
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
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
Hypolite Petovan
9aa05eb911 Deprecate themes duepuntozero, quattro and smoothly 2022-11-05 00:06:10 -04:00
Hypolite Petovan
969b4f991e Create Profile\Attachment\Upload module class
- Add missing response type in AjaxUpload initializition
2022-10-31 14:57:25 -04:00
Hypolite Petovan
39765e6018 Create Profile\Photos\Upload class 2022-10-30 14:20:01 -04: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
Michael
4d39ec8b63 Issue 11880: Provide "alt" description from uploaded file 2022-10-03 21:23:04 +00:00
Hypolite Petovan
4a885a13a6 Remove poke feature 2022-08-09 14:55:55 -04:00
Alessandro Lorenzi
94cf4fa37a
fix(frio): "Data" move header in template w/ l10n
fix: #11581
2022-07-28 18:10:01 +02:00
Hypolite Petovan
f2af985350 [frio] Add a conditional browser share button 2022-01-09 12:31:54 -05:00
Hypolite Petovan
0daa2f2228 [frio] Check for role="presentation" uses throughout the templates
- Upgrade a tags to buttons in file browser
- Fix formatting in nav.tpl
- Remove unwarranted instance for character counter in jot form
2021-11-14 20:30:21 -05:00
Hypolite Petovan
a9bb53b021 [frio] Fix event time display 2021-10-03 13:42:32 -04:00
fabrixxm
7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm
5e5d9db1b3 logs view: update frio template
add search and filter columns support.
add "prev/next" buttons to details popup
2021-08-19 14:55:33 +02:00
fabrixxm
b8fc6a8c02 Advanced log view: Frio version
Show log event details in a modal dialog
2021-08-19 14:55:33 +02:00
Hypolite Petovan
dde1d203f7 [frio] Move content of event_edit.js to mod_event.js to prevent an unsafe-eval 2021-07-14 08:13:24 -04:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Hypolite Petovan
3859b7ba10 Move /parse_url module to /parseurl
- Update oexchange module to use BBCode::embedURL instead of a self-request
- Remove mod/parse_url.php file
- Restrict ParseUrl module to authenticated users
2021-02-18 09:06:27 -05:00
Hypolite Petovan
3a18669730 Rename dolike to doActivityItem 2021-01-31 08:39:47 -05:00
Hypolite Petovan
590d44df5f [frio] Add block author button in More dropdown 2021-01-23 05:33:15 -05:00
Extarys
61ef23dedc fix toggle button 2021-01-22 11:50:07 -05:00