Commit Graph

8175 Commits

Author SHA1 Message Date
Uwe Steinmann
15c41a0528 add swagger api definition and .htaccess 2020-06-24 16:16:44 +02:00
Uwe Steinmann
7748b112ef major rework, put authentication into slim middleware, fully migrate to slim 2020-06-24 16:15:32 +02:00
Uwe Steinmann
51b1a476bf cast id to integer 2020-06-24 16:15:13 +02:00
Uwe Steinmann
98945e57df cast id to int 2020-06-24 16:14:58 +02:00
Uwe Steinmann
5a3e2578e1 better error checking and fixed some return values 2020-06-23 10:01:41 +02:00
Uwe Steinmann
ac1ea2d58e add note for 5.1.18 2020-06-23 09:59:57 +02:00
Uwe Steinmann
a68f644ba5 create temp table ttcontentid in getDocumentByOriginalFilename() 2020-06-23 09:58:38 +02:00
Uwe Steinmann
31e001172f add entry for 5.1.18 2020-06-19 11:43:08 +02:00
Uwe Steinmann
ba91151cea add note for 5.1.18 2020-06-19 11:38:52 +02:00
Uwe Steinmann
f817fc4489 fix parsing of file size 2020-06-19 11:36:51 +02:00
Uwe Steinmann
d56812f66d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-19 08:09:30 +02:00
Uwe Steinmann
a4ccfe1a7d set browser url when selecting category 2020-06-19 08:08:56 +02:00
Uwe Steinmann
dc210cf59c clean up code, better error checking, unified http return codes 2020-06-19 08:08:23 +02:00
Uwe Steinmann
960884cdc2 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-06-17 11:21:25 +02:00
Uwe Steinmann
5801312a3e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-06-17 11:21:13 +02:00
Uwe Steinmann
8b0095cc10 various new phrases 2020-06-17 11:20:53 +02:00
Uwe Steinmann
7725a0b03b add configuration for authentication by key in rest api 2020-06-17 11:19:02 +02:00
Uwe Steinmann
0429815c78 add changes for 5.1.18 2020-06-17 11:18:42 +02:00
Uwe Steinmann
5dcafd65ce add support for cors 2020-06-17 11:18:15 +02:00
Uwe Steinmann
fd7cca239a ignore all files/directories starting with '.' when zipіng an extension 2020-06-17 11:17:09 +02:00
Uwe Steinmann
af66ea9968 set version in tblVersion 2020-06-16 15:23:39 +02:00
Uwe Steinmann
3892a6186f add getApiKey(), fix checkVersion() 2020-06-16 15:23:13 +02:00
Uwe Steinmann
c2b7e4d6c2 check for $_POST['logininfo'/'action'] 2020-06-16 15:22:20 +02:00
Uwe Steinmann
2a35765fde start version 6.1.0 2020-06-16 13:04:44 +02:00
Uwe Steinmann
cf66fa9bb9 fix initial data of database 2020-06-16 13:02:44 +02:00
Uwe Steinmann
bb97d41d45 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2020-06-16 12:14:15 +02:00
Uwe Steinmann
d9143ff271 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-16 12:14:03 +02:00
Uwe Steinmann
b97387ecb1 set http status 403 if user is not admin, set status 500 for some other errors 2020-06-16 12:12:50 +02:00
Uwe Steinmann
8d0e8634f7 check for api key, getLogin() returns user object if is already exists 2020-06-16 12:08:08 +02:00
Uwe Steinmann
2f08d6bb7a add management of apikeys 2020-06-16 12:07:46 +02:00
Uwe Steinmann
ee490b1c7f add action addapikey 2020-06-16 12:07:07 +02:00
Uwe Steinmann
c2a10fa0a9 add unique constraints for tblApiKeys 2020-06-16 12:06:41 +02:00
Uwe Steinmann
af0e23a39c add methods for creating and getting api keys 2020-06-16 12:06:07 +02:00
Uwe Steinmann
06e939cf04 fix SeedDMS_Core_ApiKey::getUser() 2020-06-16 12:05:43 +02:00
Uwe Steinmann
d3d86ce229 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2020-06-16 08:30:08 +02:00
Uwe Steinmann
5bb78b6468 fix sorting by name in getInstanceBy(), init _dms to null 2020-06-16 08:29:33 +02:00
Uwe Steinmann
9278ff8b9a show apikeys 2020-06-16 08:28:26 +02:00
Uwe Steinmann
2781cbd8de add class SeedDMS_Core_ApiKey 2020-06-16 08:28:06 +02:00
Uwe Steinmann
0bdf51be40 add table tblApiKeys 2020-06-16 08:27:54 +02:00
Uwe Steinmann
64aab1aa1d Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2020-06-16 07:21:16 +02:00
Uwe Steinmann
550f0ee1f1 fix typo in comments 2020-06-16 07:20:57 +02:00
Uwe Steinmann
1ba42deef1 remove $user as it is not needed and causes a php warning 2020-06-16 07:19:04 +02:00
Uwe Steinmann
f16d1821cc add start and end date to getDateChooser() 2020-06-16 07:18:30 +02:00
Uwe Steinmann
dcb7a775eb show info about installed seeddms and php extensions 2020-06-12 15:02:29 +02:00
Uwe Steinmann
c48ad87467 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2020-06-10 10:47:56 +02:00
Uwe Steinmann
fad43ba874 add field 'core' to table tblVersion 2020-06-10 10:46:41 +02:00
Uwe Steinmann
bf1d8482d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-09 21:36:48 +02:00
Uwe Steinmann
1964f1dfd6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-06-09 21:19:56 +02:00
Uwe Steinmann
5e53551ee7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-06-09 21:19:44 +02:00
Uwe Steinmann
859f6fd430 many chinese taiwan translations 2020-06-09 21:19:00 +02:00