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
vnmedeiros
dbed32b98d
fix test instanceof Item_Metadata_Entity #17
2020-03-14 00:24:08 -03:00
vnmedeiros
875b828eea
remove `validate_metadata_order` #17
2020-03-13 14:22:00 -03:00
vnmedeiros
966aa2adf1
add validate metadata order #17
2020-03-05 14:02:48 -03:00
vnmedeiros
0d1256c66d
add test group compound_metadatum #17
2020-03-05 11:04:44 -03:00
vnmedeiros
a3e67b6276
fix count metadata type #17
2020-03-04 10:59:13 -03:00
vnmedeiros
2c2ee72617
fix paramenrs `parent_meta_id` #17
2020-03-02 14:58:42 -03:00
vnmedeiros
85bc6c996e
add `parent_meta_id` on endpoint #17
2020-02-29 10:21:36 -03:00
leogermani
29977826d9
disallow new terms on meta when tax changes #366
2020-02-20 14:57:18 -03:00
vnmedeiros
56dc4d5206
fix indentation
2020-02-19 15:46:18 -03:00
vnmedeiros
146e6169d2
add test to change status of taxonomy
2020-02-19 15:39:27 -03:00
Vinícius Nunes
8dc2761c44
Merge branch 'release/0.15' of https://github.com/tainacan/tainacan into release/0.15
2020-02-11 11:27:41 -03:00
leogermani
5724260bbf
fix tests for older php versions
2020-02-11 11:00:01 -03:00
leogermani
a9e5f8d58a
remove private filter and meta from api response
...
it was showing up in metadata and filters_order
2020-02-11 10:52:26 -03:00
vnmedeiros
5f5a8ae414
add new assert test #344
2020-02-11 10:51:41 -03:00
vnmedeiros
13f48bd63a
add text api search #344
2020-02-11 10:51:24 -03:00
leogermani
e2e57d05bd
more tests for private meta and filters visibility
2020-02-11 10:09:45 -03:00
leogermani
7d42f87982
add test for visibility of private filters
2020-02-11 09:48:22 -03:00
vnmedeiros
bf8070abe7
fix the call of function `permission_callback`
2020-02-03 16:53:23 -03:00
vnmedeiros
a58104874f
change method `set_comments` to `set_comment_status` #171
2019-12-19 12:41:29 -03:00
leogermani
e94a08269d
fix exclude param in rest api
2019-12-18 17:28:56 -03:00
Vinícius Nunes
fb567051e7
add teste to set status of coments items #171
2019-12-18 17:03:22 -03:00
Vinícius Nunes
69b7251dbe
add test to action clear metadada #200
2019-12-18 16:27:00 -03:00
Mateus Machado Luna
b2f5a68a4c
Merge conflicts from develop.
2019-12-17 09:42:04 -03:00
leogermani
e17c5241cf
Merge branch 'feature/274' into develop
2019-12-16 16:00:53 -03:00
Vinícius Nunes
f17a4fb9cb
add `collection_id` on bulk-edits tests #200
2019-12-16 13:49:38 -03:00
Vinícius Nunes
39c89d343d
fix tests, pagination on query and pos on delete #200
2019-12-15 22:05:30 -03:00
leogermani
bccc745806
Disabling old Bulk Edit Class and tests #200
2019-12-13 18:33:35 -03:00
leogermani
2528fd9034
remove deprecated tests from old bulk edit #200
2019-12-13 18:23:38 -03:00
leogermani
559e09ea31
add refactored tests for bulk edit #200
2019-12-13 18:23:16 -03:00
leogermani
453cc4b8a1
fix capablities list in roles retunr #274
2019-12-11 19:11:21 -03:00
leogermani
04ed966369
Refactoring Sequence Edit API #200
...
Sequence edit now do not rely on Bulk edit actions.
Front end still needs to change
2019-12-10 22:15:50 -03:00
leogermani
a472915b11
fix capabilities validation api roles #274
2019-12-10 16:51:05 -03:00
Vinícius Nunes
c2f02e048d
fix tests #200
2019-12-10 12:56:30 -03:00
leogermani
907d0df7b9
open context edit #274
...
context edit was basicaluu only hiding entity permissions.
No sensitive information. Removed cause needed in front-end
If sensitive info is added, check shoud be done when building response
2019-12-09 18:16:35 -03:00
leogermani
221e6b3ab8
return only tainacan caps on roles endpoint #274
2019-12-09 17:20:37 -03:00
leogermani
f6527c5067
fix one test. waiting for others #200
2019-12-06 19:59:52 -03:00
leogermani
0b1460cd1a
validate caps on roles endpoint #274
2019-12-06 16:53:49 -03:00
leogermani
5ce4707230
add capabilities param to POST and PATCH roles #274
2019-12-02 16:35:34 -03:00
leogermani
f1dc8cc77e
add secondary orderby ID to items query #337
2019-11-29 18:34:38 -03:00
leogermani
fbd6e105ce
always get fresh related collection #339
2019-11-29 17:27:47 -03:00
Vinícius Nunes
c3b4a1517a
add sort metadata on test duplicate items
2019-11-18 11:31:54 -03:00
Vinícius Nunes
014c9290cb
add sort metadata on test duplicate items
2019-11-18 10:56:14 -03:00
leogermani
11f548999b
fix tests for wp 5.3
2019-11-14 17:42:09 -03:00
leogermani
9a2078dd19
fix roles_inherited return #274
2019-11-11 14:57:30 -03:00
Mateus Machado Luna
8fac7ae028
Solving small merge conflicts from develop.
2019-11-07 14:40:34 -03:00
Vinícius Nunes
5e1a4732e0
add test for remove term taxonomy when value is empty
2019-11-06 11:33:40 -03:00
leogermani
7a8dc9c474
tnc_col_edit_users, get_capablities endpoint #274
2019-11-05 17:07:49 -03:00
leogermani
7747778a80
add test to get roles endpoint #274
2019-11-05 12:21:48 -03:00
leogermani
04ecefa297
admin always can tnc_rep_edit_users #274
2019-11-05 12:21:48 -03:00
leogermani
7f4298b3a5
new default roles #274
2019-11-04 18:55:40 -03:00
leogermani
59054f32f6
add endpoint to get a collection caps/roles #274
2019-11-04 15:38:04 -03:00
leogermani
166e92ac68
fix test #274
2019-11-04 12:10:47 -03:00
leogermani
ca79ea94a8
only tainacan caps can be edited in api #274
2019-11-01 14:49:14 -03:00
leogermani
b22db480f1
automatically add depencies caps #274
2019-11-01 14:35:56 -03:00
leogermani
d536e1e992
terms meta capabilities #274
2019-10-31 17:45:20 -03:00
leogermani
2ec0bd1642
Items capabilities #274
2019-10-30 10:59:38 -03:00
leogermani
f1a6385698
merge develop
2019-10-29 16:03:11 -03:00
leogermani
79813f79c9
test collections capabilites #274
2019-10-28 20:17:18 -03:00
leogermani
277f061512
separate delete from edit capabilities #274
2019-10-28 19:57:48 -03:00
leogermani
c325725990
testing capabilities #274
2019-10-25 17:28:50 -03:00
leogermani
fc2898f701
set taxmeta as private when tax turns private #274
2019-10-25 17:28:05 -03:00
leogermani
56b9e76aa1
Make WP update terms count for all items #318
2019-10-24 16:06:46 -03:00
vnmedeiros
678f69f26a
remove `enabled_post_types` on declared taxonomy.
2019-10-24 16:06:39 -03:00
vnmedeiros
f494a0dc11
add test for object post type of the taxonomies
2019-10-24 16:06:31 -03:00
leogermani
f94426580b
Remove Custom Interval filter and migrate to new ones #306
2019-10-23 17:29:16 -03:00
Leo Germani
6e7bd268ee
refactor filters and meta fetch_by_collection considering perms #274
2019-10-21 19:11:41 -03:00
Leo Germani
6a5c60ed44
removing outdated tests #274
2019-10-21 19:10:10 -03:00