ralf
004e651023
* Filemanager: use bigger popups to open files (PDF: 1024*1024, text: 800*1024, images: 640*800)
2022-05-12 15:30:53 +02:00
ralf
965159d505
fix broken file-access cache after a917293 (fix smallPART file-access depending on full path)
...
fix wrong condition when storing an attachment, either the file or it's directory must be writable
2022-05-12 15:16:16 +02:00
ralf
51ff6d7fec
fix smallPART file-access depending on full path (not just /apps/smallpart/$id!)
...
allow apps like smallpart to additional return 0|1 instead of bool, to not cache result, if it depends on $rel_path, as cache does not consider $rel_path
2022-05-11 13:52:41 +02:00
Ralf Becker
bd29f1ef6a
fix PHP 8.0 TypeError: Cannot access offset of type string on string
2021-11-15 15:04:15 +01:00
Ralf Becker
fa67fc24d7
fix PHP 8.0 TypeError: Api\Accounts::username(): Argument #1 ($account_id) must be of type ?int, string given
...
new method for account link-title not throwing an error, for non-numeric arguments and therefore stalling all titles
2021-11-08 12:23:08 +01:00
Ralf Becker
efff64299c
fix big chunk of PHP 8.0 warnings
2021-10-21 10:42:18 +02:00
Ralf Becker
ccadef611d
fix PHP 8.0 error when converting an InfoLog into a ticket
...
Cannot access offset of type string on string
Also add line and file to our non-json exception handler, for easier identifying the problems
2021-10-14 08:08:34 +02:00
Ralf Becker
7a93814c25
fix PHP 8.0 error when deleting a Kanban card
...
- link deletion failed when link_id was "" as in PHP 8.0 "" < 0 --> gave the error
- link to card was never deleted as board_id is not stored in card
2021-10-07 10:44:59 +02:00
Ralf Becker
56f60c691f
next big chunk of fixed PHP 8.0 Warnings
2021-10-05 14:21:36 +02:00
Ralf Becker
5bc4dc90e3
need to catch the statement in line 1347
2021-08-18 11:21:12 +02:00
Ralf Becker
226ee1485d
* PostgreSQL: fix SQL error when accessing eg. InfoLog
...
Links class trys to delete empty attachment directories and virtual / empty attachment directories have non-integer (hash) id causing an SQL error in PostgreSQL.
2021-08-18 11:21:12 +02:00
nathangray
df8251603f
Add missing parameter type
2021-04-19 16:01:17 -06:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
nathangray
d5aacd190d
Add 'no_quick_add' link registry setting so apps can opt out of the quick add
2021-03-30 10:12:29 -06:00
Ralf Becker
868135775c
PHP 8 fixes
2021-03-29 16:47:19 +02:00
Ralf Becker
b892c54797
allow to format link-registry entries "add", "edit", ... as "url" parameter for actions
2021-01-14 15:59:03 +02:00
Ralf Becker
93fb74503d
limit number of returned rows on link query by default to 100
2020-12-07 14:31:10 +01:00
Ralf Becker
efaf9771d0
do NOT push participants of type email for privacy reasons
2020-07-23 19:06:08 +02:00
nathangray
4078154237
Remove permanent error_log
2020-03-09 15:29:51 -06:00
Ralf Becker
e9c4d3f07e
complete push implementation for timesheet incl. ACL check
2020-01-24 13:31:56 +01:00
Ralf Becker
6e0936bd98
first take on pushing app-changes to all clients
2020-01-23 11:26:44 +01:00
nathangray
1e23fca924
Api - Fix infinite loop if id1 parameter is an array
...
Triggered by linking to an unsaved entry that already has a link
2019-07-09 10:37:31 -06:00
nathangray
533c9c0351
Add optional link variable so apps can specify the location of their entry modification time
2019-05-17 10:36:04 -06:00
nathangray
d805e9f467
Stop using deprecated each(), using foreach(), key() or current() instead
2019-02-12 14:13:45 -07:00
nathangray
65cae1bf8d
Api - Fix infinite loop in link if app2 param is not string or array of arrays
2019-01-22 11:49:45 -07:00
nathangray
19ead4c1cc
Fix some more PHP 7.2 warnings
...
Remove some calls to deprecated each()
2018-12-18 09:49:29 -07:00
nathangray
2fc4caec71
* Infolog - Exclude current entry from parent select/search results to avoid loop
2018-10-24 11:11:25 -06:00
Hadi Nategh
7e126290f7
Some more basename replacing with Vfs::basename to avoid setlocale issue.
2018-08-01 11:11:16 +02:00
Ralf Becker
f1437d4ccb
fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable
2018-04-13 09:12:26 +02:00
Ralf Becker
0813403b5b
* All apps: get sharing working with files attached to application entries
2017-10-31 10:51:59 +01:00
Ralf Becker
76087e2cb7
* Api: keep session small / quick to load by limiting number of cached link-titles
2017-04-04 09:58:57 +02:00
Ralf Becker
fc086c56cd
fix dbb0796
allow to specify a subdirectory in attach_file as part of $file[name] parameter
...
(subdir was created, but file was copied to main dir)
2016-10-04 16:47:24 +02:00
Ralf Becker
dbb07961f6
allow to specify a subdirectory in attach_file as part of $file[name] parameter
2016-10-04 10:49:55 +02:00
Hadi Nategh
d8761441b1
* Mail: Fix pdf attachments do not get downloaded in mobile template
2016-08-31 12:10:26 +02:00
Ralf Becker
94bc949cfa
* All apps: symlink files to not yet saved entries were not working
2016-08-17 16:05:26 +02:00
Ralf Becker
71a384798f
fix PHP Strict Standards: Only variables should be assigned by reference
2016-08-02 10:16:31 +02:00
Ralf Becker
b65d87bc68
fixing our wrong static methods in stream-wrapper: unlink, rmdir, mkdir, rename and url_stat (they are not static, so PHP can pass in $context)
2016-07-19 11:59:16 +02:00
Ralf Becker
f15b5552ad
forgot to modify Link::get_data()
2016-07-12 15:00:40 +02:00
Ralf Becker
943ae3612e
Link::query callback needs to be called with reference as 3. parameter, passing now array with parameters instead of single parameters
2016-07-12 13:54:36 +02:00
Ralf Becker
7455cae476
* API/ProjectManager: fixed some errors caused by no longer sharing instanciated objects not designed to be shared
2016-07-12 11:37:05 +02:00
Ralf Becker
9860c9d8b7
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
nathangray
8d1028ead8
Fix missing translation for Add entry
2016-06-23 13:04:59 -06:00
nathangray
0ab67c3280
Move api-accounts links to api app, fixes search in account selectbox does not work without home permission
2016-06-02 10:11:31 -06:00
nathangray
2507fefda8
Fix account link query
2016-06-01 15:39:10 -06:00
Ralf Becker
e34fe9a4e7
using Acl::(ADD|READ|EDIT|DELETE|PRIVAT) constants instead old EGW_ACL_* defines and fix some namespace errors found by doc/check_namespace.php
2016-05-11 19:23:14 +00:00
Ralf Becker
e87cbc4832
use static Hooks methods
2016-05-11 18:58:10 +00:00
Ralf Becker
af9d5a6a66
use api instead of home for browser based mime-handlers
2016-05-06 17:50:00 +00:00
Ralf Becker
429177686a
make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api
2016-05-01 09:57:48 +00:00
Ralf Becker
b6403e336e
move common::get_tpl_dir to Api\Framework\Template::get_dir, and replaced some other overlooked methods
2016-04-27 19:11:41 +00:00
Ralf Becker
1ffea39da0
using now Egw and Egw\Applications direct
2016-04-26 18:56:51 +00:00