Commit graph

132 commits

Author SHA1 Message Date
Jakobus Schürz 8a3361dfbe remove upload-url parameter 2023-03-19 18:52:46 +01:00
Jakobus Schürz 6436d2cd8a changes in case of code-review 2023-03-19 18:52:46 +01:00
Jakobus Schürz fba33d3afc add options allowedFiles and more 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 d39781023e create factory 2023-03-19 18:52:45 +01:00
Hank Grabowski 6db244f476 Fix over-aggressive lowercasing of url, title, image, and preview fields 2023-03-18 21:52:53 -04: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 Holzer 012f486eb6
Adhere feedback 2022-11-27 01:34:59 +01:00
Philipp Holzer 50316bbb80
Move Browser & Upload to own namespace 2022-11-27 01:34:59 +01:00
Philipp Holzer 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 Holzer d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser 2022-11-26 22:26:30 +01:00
Schnoop 565ade02a4
Update main.js
Revert trailing slash changes as this will lead to wrong urls.
2022-11-18 20:07:46 +01:00
Philipp Holzer 584e7a7e6d
Remove trailing slash in update_ calls 2022-11-15 20:11:38 +01: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
Michael 1ef5730d3d "share" added to autocomplete 2022-10-07 05:54:17 +00:00
Michael 4d39ec8b63 Issue 11880: Provide "alt" description from uploaded file 2022-10-03 21:23:04 +00:00
Hypolite Petovan b002f6f027 Remove unused deprecated XML output in mod/ping
- Remove unused parameters localUser and uid in mod/ping
- Unify data array initialization in mod/ping
2022-03-14 07:57:00 -04:00
Hypolite Petovan 5a12bd87f3 Replace Javascript notification string formatting with Smarty templates 2022-03-14 07:56:58 -04:00
Hypolite Petovan b24fe917e4 Prevent tagsinput select element to be submitted without a value when they are required
- This was allowing to submit private messages to the wrong recipient
2022-02-23 21:30:18 -05: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 9368f5445d Display structured logs in admin
Tries to parse log lines and to display info in a table.
Additional JSON data is parsed and displayed clicking on a row.

File reading and line parsing is handled in iterators, to avoid to keep
too much data in memory.
Search and filter should be trivial to add.
Log file is read backward to display log events newest first.
A "tail" functionality should be easy to implement.
2021-08-19 14:55:33 +02:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael e8ab396d48 Perfgorm a reload after following a thread 2021-02-27 21:57:38 +00: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 7f78d6e722 Replace references of GET mod/substhread with POST item/{id}/follow 2021-01-31 17:36:18 -05:00
Hypolite Petovan b31fc3bfa9 Move GET starred/{id} to POST item/{id}/star 2021-01-31 14:21:57 -05:00
Hypolite Petovan 5d270fbb54 Rename dostar() to doStar() 2021-01-31 14:21:09 -05:00
Hypolite Petovan 6d31c11e57 Move GET item/ignore/{id} to POST item/{id}/ignore 2021-01-31 12:56:44 -05:00
Hypolite Petovan 586d39420e Rename doignore to doIgnoreThread 2021-01-31 12:55:50 -05:00
Hypolite Petovan 151db1104a Move GET /like/{id} to POST /item/{id}/activity/{verb} 2021-01-31 08:41:04 -05:00
Hypolite Petovan 3a18669730 Rename dolike to doActivityItem 2021-01-31 08:39:47 -05:00
Hypolite Petovan 188f7b0eb0 Move GET pinned/{id} to POST item/{id}/pin 2021-01-30 18:42:23 -05:00
Hypolite Petovan b3b2bc96ba Rename dopin() to doPIn 2021-01-30 18:12:01 -05:00
Hypolite Petovan 46ed610d04 Restore auto-complete feature in comments forms
- New catch-all feature supports network/display pages, infinite scroll and live updated conversations
2020-12-27 20:36:33 -05:00
Hypolite Petovan 481925c353 Fix infinite content ajax call parameters
- Ajax request could end up in a 404 if the page URL didn't have at least a query string parameter
2020-11-02 20:07:26 -05:00
Michael 9870c8584f Improved check for existing data 2020-10-23 20:29:29 +00:00
Michael d6662d65dd Log messages removed 2020-10-21 12:13:57 +00:00
Michael 1fc36c4470 Only auto update when there is content 2020-10-20 20:43:51 +00:00
Hypolite Petovan 4427876c05 Implement correct behavior for min_id in boundary pagination
- The previous behavior of since_id systematically showed the most recent results
2020-10-13 00:11:39 -04:00
Hypolite Petovan 6968c73ec7 Fix indenting in friendica-tagsinput.js 2020-10-10 19:04:25 -04:00
Michael 99fc97f337 Removing the page number from the infinite scrolling 2020-09-26 21:46:22 +00:00
Michael dd82f150ca Rework of the network page 2020-08-13 20:07:13 +00:00
Tobias Diekershoff b219677de5
Merge pull request #8991 from MrPetovan/task/restore-autocomplete-comment
Restore auto-complete in comment boxes beyond the first
2020-08-09 10:56:41 +02:00
Hypolite Petovan 7a5f2437f9 Fix option syntax for textcomplete 2020-08-08 15:19:04 -04:00
Hypolite Petovan 692bb2a895 Restore auto-complete in comment boxes beyond the first 2020-08-08 12:58:56 -04:00
Hypolite Petovan d7b5674476 Move mod/lockview to Module\PermissionTooltip
- Add explicit type parameter to lockview() in main.js
2020-07-27 01:58:53 -04:00
Hypolite Petovan 08384ecf59 Remove obsolete view/js/jquery-textcomplete folder 2020-07-22 10:48:30 -04:00