Commit Graph

1191 Commits

Author SHA1 Message Date
Dmitriy Simushev
9d19afcdf2 Add auto token generate during Thread creation 2013-03-13 15:32:41 +00:00
Dmitriy Simushev
37b8fa7243 Create ThreadProcessor class 2013-03-13 15:32:41 +00:00
Dmitriy Simushev
7b6a433ae6 Create tests for RequestProcessor class 2013-03-13 15:32:41 +00:00
Dmitriy Simushev
24ecf02e7b Remove RequestProcessor::NO_RESULT_FUNCTION constant
RequestProcessor::NO_RESULT_FUNCTION not use any more. Rewrite code
to throw use Mibew API checks for existance of the result function
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
1d4cac01d1 Fix bug with callback's arguments in RequestProcessor class 2013-03-13 15:32:41 +00:00
Dmitriy Simushev
7e49da1999 Fix bug in documentation for RequestProcessor class 2013-03-13 15:32:41 +00:00
Dmitriy Simushev
1613a1052e Add token check to the Thread::load method 2013-03-13 15:32:41 +00:00
Dmitriy Simushev
5c7d525871 Update Plugin class documentation 2013-03-13 15:32:41 +00:00
Dmitriy Simushev
a9380cf307 Modify tests directory structure 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
159a8aa0df Document calback array in the RequestProcessor class 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
69e08359c2 Fix bug in requests handling in RequestProcessor 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
4aa44861b4 Add parameters to the Window-to-Core interaction
Add 'threadId' and 'token' obligatory parameters to the
Window-to-Core interaction type
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
6247d20f95 Object's methods callbacks replaced by functions 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
de2f60bfdc Add some warnings to RequestProcessor class
Request/response methods not abstract any more. To prevent direct
call(without overloading) add error with E_USER_WARNING level
into this methods.
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
551be06d9e Fix bug in users tracking 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
f720da79d0 Fix bug in chat button image's generation script 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
03ffd84e76 Create Thread class and tests for it 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
1a963cff00 Add additional config info to unit tests 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
ce82496013 Create application initialization script 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
89c61a5571 Fix bugs in the installation script 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
29d7f891da Split libs/common.php into separate files 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
17b4327dfb Added warning message in database configuration file in tests. 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
b3d7a7a124 Fixed ability to use persistent database connection with an object of the Database class 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
92019f99a4 Created separate mysql config file for tests 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
0861fd73d2 Removed global variables from the Database class constructor and updated tests for the Database class 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
4db2ce5175 Fixed bug with wrong placeholders count in the 'thread_by_id' function 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
031dbdc2b2 Fixed bug in a SQL query in the libs/pagination.php file 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
31d689aa0d Created a draft of the migration script 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
57f1b175b1 All columns in the databse with 'datetime' type were changed to integer type 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
e5ed85ed3f Added error handling to the RequestProcessor class 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
fd108b1334 Added obligatory argument 'errorCode' to the mibew api 'result' function 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
077eac1c53 Renamed the JavaScript's MibewAPIWindowToCoreInteraction class to the MibewAPICoreInteraction 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
3ec23b5ae5 Added tests for the JavaScript's MibewAPIInteraction class 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
8a88f48d89 Fixed bugs in the JavaScript's MibewAPIInteraction class 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
2752ce5c25 Updated tests for PHP's MibewAPI class to use MibewAPITestInteraction class instance 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
6c6a26225f Added tests for the PHP's MibewAPIInteraction class 2013-03-13 15:32:38 +00:00
Dmitriy Simushev
b0225eadeb Moved MibewAPI related tests 2013-03-13 15:32:38 +00:00
Dmitriy Simushev
344299805c Renamed MibewAPIInteraction::getDefaultObligatoryArguments to MibewAPIinteraction::getObligatoryArgumentsDefaults 2013-03-13 15:32:38 +00:00
Dmitriy Simushev
41d40e3c04 Split mibew_api.php into several files 2013-03-13 15:32:38 +00:00
Dmitriy Simushev
2f18eb65b1 Added ability to specify different obligatory arguments list for different
functions to the PHP and JavaScript MibewAPI library
2013-03-13 15:32:38 +00:00
Dmitriy Simushev
79c4da8b2c Added abstract method RequestProcessor::saveCallback and its implementation CmsconnectorRequestProcessor::saveCallback 2013-03-13 15:32:38 +00:00
Dmitriy Simushev
b2a0a6cebd Created RequestProcessor class 2013-03-13 15:32:30 +00:00
Dmitriy Simushev
e708282a8f Added default value to $existance argument in the MibewAPI::getResultFunction method 2013-03-13 08:21:21 +00:00
Dmitriy Simushev
58d015c247 Added JavaScript version of the Mibew API and tests for it 2013-03-13 08:20:38 +00:00
Dmitriy Simushev
fcba6ec6f4 PHPUnit tests moved to tests/server_side/ 2013-03-13 08:19:54 +00:00
Dmitriy Simushev
460d2d96c2 Added some documentation to the MibewAPI class 2013-03-13 08:19:20 +00:00
Dmitriy Simushev
31b6d96fc9 Added to the Mibew API the ability to use empty string as a signature 2013-03-13 08:18:39 +00:00
Dmitriy Simushev
555898e446 Implemented Mibew API 2013-03-13 08:17:34 +00:00
Dmitriy Simushev
5bd6f22cab Modified PluginManager to store plugins objects and use objects with regular methods instead static one 2013-03-13 08:13:50 +00:00
Dmitriy Simushev
69c54ba37c Fixed display bug at the history page 2013-03-13 08:13:33 +00:00