Commit Graph

668 Commits

Author SHA1 Message Date
Rodrigo de Oliveira 62abad4839 adds html tests for date meta 2021-04-05 13:37:15 -03:00
Rodrigo de Oliveira 4ce2c9491b ads html tests for numeric meta type 2021-04-05 11:57:23 -03:00
Rodrigo de Oliveira f1d83ed0a4 Removes old dumps 2021-04-05 01:11:45 -03:00
Rodrigo de Oliveira a50f878725 Adds test for text metadata 2021-03-29 17:09:17 -03:00
Rodrigo de Oliveira 0686795afc adds first render_as_html new passing tests 2021-03-29 03:20:52 -03:00
Rodrigo de Oliveira cf046af8c7 Renames more test functions to a common pattern 2021-03-29 01:45:27 -03:00
Rodrigo de Oliveira 657ddc6f9a renames test functions 2021-03-29 01:44:06 -03:00
vnmedeiros 59c0a9e658 Merge branch 'develop' into 447-prevent-xss 2021-03-23 08:42:02 -03:00
vnmedeiros 7aeeb56805 fix: disable WP_RUN_CORE_TESTS #509 2021-03-17 11:37:26 -03:00
Rodrigo de Oliveira 86ab1f9cb6 Better organizes HTML injections test suit 2021-03-12 04:47:33 -03:00
Rodrigo de Oliveira 1422887696 adds tests for terms 2021-03-12 03:53:13 -03:00
Rodrigo de Oliveira 566292eebd Adds more texts and sanitized fields 2021-03-12 02:58:06 -03:00
Rodrigo de Oliveira 246e5b92d3 Passing test for taxonomies 2021-03-12 01:18:12 -03:00
Rodrigo de Oliveira 461cff8a40 Tiny refactors entity factory 2021-03-11 15:34:10 -03:00
Rodrigo de Oliveira de90e70487 Sanitizes evil scripts for collections, metadatum and items 2021-03-11 04:37:37 -03:00
Rodrigo de Oliveira 9253724ba5 Merge branch 'develop' into 447-prevent-xss 2021-03-06 17:27:47 -03:00
vnmedeiros 79b3a83106 test: add tests to image blurhash #463 2021-02-19 17:33:25 -03:00
vnmedeiros b071dd05e2 fix: indentations 2021-02-18 10:29:57 -03:00
vnmedeiros a018c10640 fix: indentation #383 2021-02-06 09:03:05 -03:00
Rodrigo Guimarães c094e2393a Adds tests for allowed tags 2021-02-05 12:25:52 -03:00
Rodrigo Guimarães 3521b1da07 introduces new test cases 2021-02-05 12:05:16 -03:00
Rodrigo Guimarães 1b73e96594 Better organizes html injection tests class 2021-02-05 11:26:30 -03:00
Rodrigo Guimarães 4c0deb392a Disallows a HTML tag from content 2021-02-05 01:37:26 -03:00
Rodrigo Guimarães a3e844cda6 Adds option to prevent curl download error [ref https://curl.se/docs/manpage.html\#-L] 2021-02-04 16:12:04 -03:00
vnmedeiros 26a9ca1385 feat: add test to injection HTML 2021-02-04 16:07:33 -03:00
vnmedeiros e9a5125b17 test: add test term taxonomy filtered by collections 2020-11-11 17:34:27 -03:00
vnmedeiros e5815651e9 Merge branch 'develop' into feature/114 2020-11-03 14:25:04 -03:00
Vinícius Nunes Medeiros da8df12f77
Merge pull request #441 from tainacan/fix/add_caps_dependencies
Add dependencies caps in roles API
2020-10-30 11:35:34 -03:00
vnmedeiros 7b55a3686d fix: change call action to update/insert control metadatum item #114 2020-10-28 18:02:55 -03:00
leogermani b5428d830d ad dependencies caps in roles API 2020-10-25 14:05:54 -03:00
leogermani a421796513 user can edit collection when having manage_collection cap 2020-10-25 13:23:39 -03:00
vnmedeiros 051d17a8e4 change mapped property bool to string #388 2020-09-25 17:20:09 -03:00
vnmedeiros 5a345e324e fix tests #388 2020-09-25 16:24:39 -03:00
vnmedeiros deaa630d89 add tests for submission metadata types #388 2020-09-22 11:08:17 -03:00
vnmedeiros 48be064716 add test for endpoint submission #388 2020-09-17 10:37:42 -03:00
mateuswetah d9da6bae70 Updates some tests and the fetch_metadata_type function to do not return control metadata 2020-09-16 15:41:35 -03:00
mateuswetah 2253e7dcf0 Fixes some tests due to new metadatum type. 2020-09-09 16:20:54 -03:00
vnmedeiros 765b498e99 fix test replace `'value' => ''` to `'compare' => 'NOT EXISTS'` #381 2020-05-05 20:41:49 -03:00
leogermani c009862185 add read cap by default for new roles #376 2020-04-22 18:14:44 -03:00
vnmedeiros 9d2b653656 remane `metadatum_id` to `metadatum_id_to` and `metadatum_id_copy_from` to `metadatum_id_from` 2020-04-22 17:35:13 -03:00
mateuswetah 54d8d67a28 Copy values routine to Bulk edition modal. 2020-04-21 23:25:07 -03:00
vnmedeiros bad063b551 remove print_r 2020-04-21 11:37:30 -03:00
vnmedeiros 80f429e8b4 add test to methd `copy_value` of bulkedit #354 2020-04-21 11:22:23 -03:00
vnmedeiros b5d486961e changes core author metadata to user metadata #354 2020-04-17 09:29:11 -03:00
mateuswetah c136f375c0 Merges conflicts from develop. 2020-04-10 09:00:15 -03:00
vnmedeiros c015b37ac8 add endpoint methed `DELETE` for remoce a value of metadata compound #17 2020-04-10 00:08:37 -03:00
vnmedeiros 2aa94b5065 add/fix tests for core metadata author #354 2020-04-08 15:35:28 -03:00
vnmedeiros 2bb1e83f84 add test for multiple compound metadatum API #17 2020-03-27 15:32:59 -03:00
vnmedeiros 85b7568d34 add teste `test_create_compound_metadatum_API` #17 2020-03-24 08:46:53 -03:00
vnmedeiros 41dea9f2e6 fix tests compound metadatum order #17 2020-03-14 00:50:35 -03:00