Commit graph

321 commits

Author SHA1 Message Date
Maurits van der Schee
0cd49e0079 comment 2016-10-21 17:12:20 +02:00
Maurits van der Schee
181d8c9692 Remove auth from base project 2016-10-21 17:11:46 +02:00
Maurits van der Schee
e73d24cd91 Update api.php 2016-10-17 19:30:40 +02:00
Lars Holleboom
a5bea96eb5 Exit statuses should be in the range 0 to 254
I would expect a 403 header if authentication fails
Exit the program with a 403 is an invalid exit status.
According to http://php.net/manual/en/function.exit.php exit statuses should be in the range 0 to 254.
Because exit does not throw a header, you can not redirect users to a login page, when trying to call the api.php script
2016-10-07 17:26:45 +02:00
Maurits van der Schee
ef8945d117 bugfix 2016-09-02 15:46:07 +02:00
Maurits van der Schee
d439f0fe0c security improvement 2016-08-13 13:36:56 +02:00
Maurits van der Schee
2f6341e452 bugfix 2016-08-13 03:46:40 +02:00
Maurits van der Schee
35a0bd51c8 Authentication without config file 2016-08-13 03:31:56 +02:00
Maurits van der Schee
86c7d95926 Merge branch 'master' of github.com:mevdschee/php-crud-api 2016-08-13 03:22:09 +02:00
Maurits van der Schee
1d9d44b1ec Authentication 2016-08-13 03:20:37 +02:00
John Costanzo
14ec8090aa Implemented PHP sessions as a default instead of cookies 2016-08-12 10:40:26 -04:00
John Costanzo
eeffc32911 Changing what is stored in the claims 2016-08-12 08:57:49 -04:00
John Costanzo
908ab6d20b Put back a placeholder that I temp comment out 2016-08-10 22:55:41 -04:00
John Costanzo
3d7ef32323 Adding functionality for authentication using creds from config 2016-08-10 22:51:36 -04:00
Maurits van der Schee
9154f36fa5 Fix for #92 2016-07-21 23:36:58 +02:00
Maurits van der Schee
7e40ea5c19 Fix issue #89 2016-07-12 11:14:40 +02:00
Maurits van der Schee
84d8b2792c Added auto_include and renamed no_extension config parameter 2016-06-14 16:23:36 +02:00
Maurits van der Schee
ea2db453bb bugfix empty in clause in relation 2016-06-14 15:30:01 +02:00
Maurits van der Schee
81e0123006 Merge branch 'master' of github.com:mevdschee/php-crud-api 2016-06-02 00:27:21 +02:00
Maurits van der Schee
2697d1e36e Add extended swagger info to all CRUD operations 2016-06-02 00:27:09 +02:00
Maurits van der Schee
350b3376f3 bugfix #78 2016-05-26 08:57:18 +02:00
Maurits van der Schee
bdad449c16 Merged changes 2016-05-25 22:46:15 +02:00
Maurits van der Schee
709401310a Add no_extensions for issue #76 2016-05-25 22:44:33 +02:00
Maurits van der Schee
342183d7bd Fix for issue #76 2016-05-24 12:37:19 +02:00
Maurits van der Schee
0829b8de2d Added bootstrap 2016-05-23 02:17:34 +02:00
Maurits van der Schee
fb79a6e9ac Add meta information for referenced and primary key 2016-05-22 20:01:57 +02:00
Maurits van der Schee
6f14a0ec29 Add primary key indication 2016-05-22 16:58:47 +02:00
Maurits van der Schee
60750aacd2 Start of editor 2016-05-22 04:14:30 +02:00
Maurits van der Schee
f7a07d9b8b Update project name in swagger output 2016-05-21 15:32:12 +02:00
Maurits van der Schee
10c90945b8 Fix for bug #68 2016-05-20 11:07:01 +02:00
Maurits van der Schee
2b30959bc2 Avoid warnings on empty transformed resultset 2016-05-19 00:43:04 +02:00
Maurits van der Schee
f2954dedd2 Add fix for problem in #73 2016-05-19 00:30:55 +02:00
Maurits van der Schee
e13e8ce13d Fix tenancy input function 2016-04-27 22:41:49 +02:00
Maurits van der Schee
4322850726 avoid duplicate tables in list 2016-04-26 20:58:38 +02:00
Maurits van der Schee
58b8b0655e fix for #61 2016-04-20 19:55:32 +02:00
Maurits van der Schee
d9d51d34da Add support for ORIG_PATH_INFO 2016-04-16 08:58:16 +02:00
Maurits van der Schee
0995e010c1 Add utf8 charset in content-type and update tests 2016-04-15 23:10:11 +02:00
Maurits van der Schee
4c32a37da0 charset utf-8 not needed in PHP 2016-04-14 23:19:54 +02:00
Maurits van der Schee
16d706fc4d Added charset to content type header 2016-04-14 23:11:19 +02:00
Maurits van der Schee
4726d1c960 Pointed SQLite example config to data file 2016-04-14 20:19:53 +02:00
Maurits van der Schee
6ce24280c9 revert changes 2016-04-12 10:15:02 +02:00
Maurits van der Schee
17c5382ee1 Updated w3component 2016-04-11 23:58:29 +02:00
Maurits van der Schee
1463180a99 Bugfix for J.O. 2016-04-06 14:46:05 +02:00
Maurits van der Schee
69b9b4b695 Initial implementation SQLite 2016-04-06 13:49:52 +02:00
Maurits van der Schee
908cb0ce91 Initial implementation SQLite 2016-04-06 10:50:20 +02:00
Maurits van der Schee
f7ff4ef2fa Initial implementation SQLite 2016-04-06 10:36:30 +02:00
Maurits van der Schee
44b3c4475b Support column filters on relations 2016-04-05 22:16:55 +02:00
Maurits van der Schee
d8497a5b0b Support column filters on relations 2016-04-05 22:05:52 +02:00
Maurits van der Schee
d60e5f297e improved generated openapi documentation 2016-03-14 23:09:54 +01:00
Maurits van der Schee
72271f618e Refactor comma in URL to include GET parameter for compatibility 2016-03-14 21:09:26 +01:00