Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next #2094

Draft
wants to merge 36 commits into
base: master
Choose a base branch
from
Draft

Next #2094

wants to merge 36 commits into from

Conversation

cairocoder01 and others added 30 commits April 13, 2023 11:22
* Ensure correct jwt error rest status code is returned (#2026)

* Site links; Fix calls when running on remotes, add get_site_key_by_dev_key function (#2028)

* Protection for listing post types on remote instances

* get_site_key_by_dev_key function

* Better default color select css (#2027)

* Fix merging when user has been deleted and when reason closed field is removed (#2025)

* SSO login redirect (#2014)

* feat: create/maintain redirect_to query param in login page

* feat: use correct redirect uri in the login form to go to the redirect

* fix: attempt to remove 404 from custom login page

* feat: instanstiate query params class when url class is newed up

* Add tags and mapping keys to core settings endpoint (#1994)

* Add more values to core settings endpoint

* Fix cache in dt_get_post_type_settings filter

* Translated using Weblate (Turkish (tr_TR)) (#2029)

Currently translated at 95.1% (1047 of 1100 strings)

Translated using Weblate (Persian (fa_IR))

Currently translated at 92.2% (1015 of 1100 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 98.8% (1087 of 1100 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (German (de_DE))

Currently translated at 93.8% (1031 of 1099 strings)

Translated using Weblate (German (de_DE))

Currently translated at 93.8% (1031 of 1099 strings)

Translated using Weblate (Romanian (ro_RO))

Currently translated at 93.7% (1030 of 1099 strings)

Translated using Weblate (Spanish (es_ES))

Currently translated at 98.9% (1088 of 1099 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 98.9% (1088 of 1099 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.






Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/de_DE/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/es_419/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/es_ES/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/fa_IR/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/ro_RO/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/tr_TR/
Translation: Disciple.Tools/Disciple Tools Theme

Co-authored-by: Weblate <[email protected]>
Co-authored-by: Hanna Duhm <[email protected]>
Co-authored-by: Micah Mills <[email protected]>
Co-authored-by: Mike Allbutt <[email protected]>
Co-authored-by: Prykon <[email protected]>

* v1.39.1

* setup web components import and integrate dt-text

* exclude components from syntax test

* phpcs ignore line setting script[type=module]

* update from npm

---------

Co-authored-by: kodinkat <[email protected]>
Co-authored-by: corsacca <[email protected]>
Co-authored-by: squigglybob <[email protected]>
Co-authored-by: discipletoolsbot <[email protected]>
Co-authored-by: Weblate <[email protected]>
Co-authored-by: Hanna Duhm <[email protected]>
Co-authored-by: Micah Mills <[email protected]>
Co-authored-by: Mike Allbutt <[email protected]>
Co-authored-by: Prykon <[email protected]>
* implements dt-single-select

* implements dt-date
* Ensure correct jwt error rest status code is returned (#2026)

* Site links; Fix calls when running on remotes, add get_site_key_by_dev_key function (#2028)

* Protection for listing post types on remote instances

* get_site_key_by_dev_key function

* Better default color select css (#2027)

* Fix merging when user has been deleted and when reason closed field is removed (#2025)

* SSO login redirect (#2014)

* feat: create/maintain redirect_to query param in login page

* feat: use correct redirect uri in the login form to go to the redirect

* fix: attempt to remove 404 from custom login page

* feat: instanstiate query params class when url class is newed up

* Add tags and mapping keys to core settings endpoint (#1994)

* Add more values to core settings endpoint

* Fix cache in dt_get_post_type_settings filter

* Translated using Weblate (Turkish (tr_TR)) (#2029)

Currently translated at 95.1% (1047 of 1100 strings)

Translated using Weblate (Persian (fa_IR))

Currently translated at 92.2% (1015 of 1100 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 98.8% (1087 of 1100 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (German (de_DE))

Currently translated at 93.8% (1031 of 1099 strings)

Translated using Weblate (German (de_DE))

Currently translated at 93.8% (1031 of 1099 strings)

Translated using Weblate (Romanian (ro_RO))

Currently translated at 93.7% (1030 of 1099 strings)

Translated using Weblate (Spanish (es_ES))

Currently translated at 98.9% (1088 of 1099 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 98.9% (1088 of 1099 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.






Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/de_DE/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/es_419/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/es_ES/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/fa_IR/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/ro_RO/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/tr_TR/
Translation: Disciple.Tools/Disciple Tools Theme

Co-authored-by: Weblate <[email protected]>
Co-authored-by: Hanna Duhm <[email protected]>
Co-authored-by: Micah Mills <[email protected]>
Co-authored-by: Mike Allbutt <[email protected]>
Co-authored-by: Prykon <[email protected]>

* v1.39.1

* My user endpoint: add corresponds_to_contact

* Fix merging assigned to

* D.T Extensions: Make error message appear on false responses (#2038)

* D.T Extensions: Removed 'edit tile' feature for 'no tile/hidden' tile rundown element (#2037)

* API: Avoid create duplicate communication channels. Honor $silent flag. (#2042)

* D.T customizations: Added 'field type' label to Edit Field modal (#2035)

* Added 'field type' label to Edit Field modal

* Made field names be displayed as labels instead of keys

* * Create API: allow searching for duplicates via filter hook (#2043)

* Create API: allow searching for duplicates on name

* Check $silent in correct place

* D.T Customizations: Fixed draggable shadows UI bug (#2048)

* D.T Customizations: Fixed the autonavigation feature that takes you to the element from a help menu (#2047)

* v1.39.2

* D.T Customizations: New settings delete tile (#2034)

* Completed main functionality

* Added 'delete custom tile' functionality

* Fixed PHPCS

* Made all of a deleted tile's fields get moved to 'No Tile'

* Improved 'delete' link UI; Added animation for deleted tile fields into 'No Tile' menu

* Fixed bug in detection of custom/default tiles

* PHPCS done

* Upgrade p2p connection activity messages (#2052)

* Customizations (D.T): New settings tile preview update (#2040)

* Made Dropdown Field Types update on the preview tile upon creating them

* Removed empty field option element

* Made fields appear in order in tile rundown window

* Fixed bug that didn't display fields correctly if no custom order

* Preview tile updates on field reordering

* PHPCS done

* Update preview tile field option order

* fix field option sorting

* nextElementSibling might be "new field option"

* Fixed bug that didn't sort field options by clicking move icon

* Get correct field option row

* Fix for getting tile key

* Fix for getting tile key on field

---------

Co-authored-by: corsac <[email protected]>

* WP ADmin: replace menu icons with D.T icon (#2050)

* replace admin menu icons with D.T icon

* Update labels removing (D.T)

* Revert "Update labels removing (D.T)"

This reverts commit 2a0bd49.

* Fix values display in details tile

* Fix values display in details tile

* Lists: when loading more get 500 instead of 100 (#2053)

* People Group: Ability to install all, add country location_grid (#2039)

* #1834 - Keep user from double importing people groups

* #1962 - Ability to install all people groups

* #1963 - Add geolocation when installing people groups

* Addressed escaping code smells

* Addressed bitty code smells

* Added bulk people groups creation logic

* Added location grid ids by country level + Improved bulk import performance

* Addressed formatting and date/time code smells

* Removed people groups csv geolocations script functionality

* Ensure individual people group imports use country location_grid ids + Tidy up of group_search() logic

* Removed stale click event listeners on add all groups request

* Fix mapbox address geocoding (#2054)

* Lists: Add Split By For Current Filter (#2049)

* Initial logical flow framework

* add initial split by sql

* add initial split by sql

* Fleshed out split by filtering flow

* Capture location and general labels within returned split by summary

* Revised ui and labels + Support connection field types

* Corrected split-by summary counts + Reset split-by on global filter change

* Ensure complete clear-down of split-by area on current filter change + Revised connection field type filtering + Alter current filter on split-by request

* Removed forced altering of base current filter

* Remove empty object properties of type array

* Ensure removal logic is only applied at correct point in flow

* Revised connection field type logic + Descending ordering + Limit summary results

* Show loading spinner

* Let 'any' connection show both from and to

* Remove extra space

* More efficient getting post names and user display names. Fix assigned to filter.

---------

Co-authored-by: corsac <[email protected]>

* Lists: add a default list all permission (#2055)

* Lists: add a default list all permission

* Only register hook once

* fix

* v1.40.0

* implement dt-tags

---------

Co-authored-by: kodinkat <[email protected]>
Co-authored-by: corsacca <[email protected]>
Co-authored-by: squigglybob <[email protected]>
Co-authored-by: discipletoolsbot <[email protected]>
Co-authored-by: Weblate <[email protected]>
Co-authored-by: Hanna Duhm <[email protected]>
Co-authored-by: Micah Mills <[email protected]>
Co-authored-by: Mike Allbutt <[email protected]>
Co-authored-by: Prykon <[email protected]>
Co-authored-by: Dario Manoukian <[email protected]>
* Ensure correct jwt error rest status code is returned (#2026)

* Site links; Fix calls when running on remotes, add get_site_key_by_dev_key function (#2028)

* Protection for listing post types on remote instances

* get_site_key_by_dev_key function

* Better default color select css (#2027)

* Fix merging when user has been deleted and when reason closed field is removed (#2025)

* SSO login redirect (#2014)

* feat: create/maintain redirect_to query param in login page

* feat: use correct redirect uri in the login form to go to the redirect

* fix: attempt to remove 404 from custom login page

* feat: instanstiate query params class when url class is newed up

* Add tags and mapping keys to core settings endpoint (#1994)

* Add more values to core settings endpoint

* Fix cache in dt_get_post_type_settings filter

* Translated using Weblate (Turkish (tr_TR)) (#2029)

Currently translated at 95.1% (1047 of 1100 strings)

Translated using Weblate (Persian (fa_IR))

Currently translated at 92.2% (1015 of 1100 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 98.8% (1087 of 1100 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (German (de_DE))

Currently translated at 93.8% (1031 of 1099 strings)

Translated using Weblate (German (de_DE))

Currently translated at 93.8% (1031 of 1099 strings)

Translated using Weblate (Romanian (ro_RO))

Currently translated at 93.7% (1030 of 1099 strings)

Translated using Weblate (Spanish (es_ES))

Currently translated at 98.9% (1088 of 1099 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 98.9% (1088 of 1099 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.






Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/de_DE/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/es_419/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/es_ES/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/fa_IR/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/ro_RO/
Translate-URL: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/tr_TR/
Translation: Disciple.Tools/Disciple Tools Theme

Co-authored-by: Weblate <[email protected]>
Co-authored-by: Hanna Duhm <[email protected]>
Co-authored-by: Micah Mills <[email protected]>
Co-authored-by: Mike Allbutt <[email protected]>
Co-authored-by: Prykon <[email protected]>

* v1.39.1

* My user endpoint: add corresponds_to_contact

* Fix merging assigned to

* D.T Extensions: Make error message appear on false responses (#2038)

* D.T Extensions: Removed 'edit tile' feature for 'no tile/hidden' tile rundown element (#2037)

* API: Avoid create duplicate communication channels. Honor $silent flag. (#2042)

* D.T customizations: Added 'field type' label to Edit Field modal (#2035)

* Added 'field type' label to Edit Field modal

* Made field names be displayed as labels instead of keys

* * Create API: allow searching for duplicates via filter hook (#2043)

* Create API: allow searching for duplicates on name

* Check $silent in correct place

* D.T Customizations: Fixed draggable shadows UI bug (#2048)

* D.T Customizations: Fixed the autonavigation feature that takes you to the element from a help menu (#2047)

* v1.39.2

* D.T Customizations: New settings delete tile (#2034)

* Completed main functionality

* Added 'delete custom tile' functionality

* Fixed PHPCS

* Made all of a deleted tile's fields get moved to 'No Tile'

* Improved 'delete' link UI; Added animation for deleted tile fields into 'No Tile' menu

* Fixed bug in detection of custom/default tiles

* PHPCS done

* Upgrade p2p connection activity messages (#2052)

* Customizations (D.T): New settings tile preview update (#2040)

* Made Dropdown Field Types update on the preview tile upon creating them

* Removed empty field option element

* Made fields appear in order in tile rundown window

* Fixed bug that didn't display fields correctly if no custom order

* Preview tile updates on field reordering

* PHPCS done

* Update preview tile field option order

* fix field option sorting

* nextElementSibling might be "new field option"

* Fixed bug that didn't sort field options by clicking move icon

* Get correct field option row

* Fix for getting tile key

* Fix for getting tile key on field

---------

Co-authored-by: corsac <[email protected]>

* WP ADmin: replace menu icons with D.T icon (#2050)

* replace admin menu icons with D.T icon

* Update labels removing (D.T)

* Revert "Update labels removing (D.T)"

This reverts commit 2a0bd49.

* Fix values display in details tile

* Fix values display in details tile

* Lists: when loading more get 500 instead of 100 (#2053)

* People Group: Ability to install all, add country location_grid (#2039)

* #1834 - Keep user from double importing people groups

* #1962 - Ability to install all people groups

* #1963 - Add geolocation when installing people groups

* Addressed escaping code smells

* Addressed bitty code smells

* Added bulk people groups creation logic

* Added location grid ids by country level + Improved bulk import performance

* Addressed formatting and date/time code smells

* Removed people groups csv geolocations script functionality

* Ensure individual people group imports use country location_grid ids + Tidy up of group_search() logic

* Removed stale click event listeners on add all groups request

* Fix mapbox address geocoding (#2054)

* Lists: Add Split By For Current Filter (#2049)

* Initial logical flow framework

* add initial split by sql

* add initial split by sql

* Fleshed out split by filtering flow

* Capture location and general labels within returned split by summary

* Revised ui and labels + Support connection field types

* Corrected split-by summary counts + Reset split-by on global filter change

* Ensure complete clear-down of split-by area on current filter change + Revised connection field type filtering + Alter current filter on split-by request

* Removed forced altering of base current filter

* Remove empty object properties of type array

* Ensure removal logic is only applied at correct point in flow

* Revised connection field type logic + Descending ordering + Limit summary results

* Show loading spinner

* Let 'any' connection show both from and to

* Remove extra space

* More efficient getting post names and user display names. Fix assigned to filter.

---------

Co-authored-by: corsac <[email protected]>

* Lists: add a default list all permission (#2055)

* Lists: add a default list all permission

* Only register hook once

* fix

* v1.40.0

* implement dt-tags

* implement dt-connection

@d.t/w-c v0.3.2

* run gulp build to fix minified file

* allows for postTypes in the connection fields that are not the same as the current post.

This allows you to add a groups connection from a contact post or vice versa

* re-run gulp

* update components to 0.3.4

---------

Co-authored-by: kodinkat <[email protected]>
Co-authored-by: corsacca <[email protected]>
Co-authored-by: squigglybob <[email protected]>
Co-authored-by: discipletoolsbot <[email protected]>
Co-authored-by: Weblate <[email protected]>
Co-authored-by: Hanna Duhm <[email protected]>
Co-authored-by: Micah Mills <[email protected]>
Co-authored-by: Mike Allbutt <[email protected]>
Co-authored-by: Prykon <[email protected]>
Co-authored-by: Dario Manoukian <[email protected]>
* Fixes undefined index errors as well as fixes a variable name

* Implemented multi-select

* User IDs were being sent as an integer instead of a string like contact ids when requesting a compact.

Sent same change in PR #2066 for further testing on main branch
# Conflicts:
#	dt-assets/build/css/style.min.css
#	dt-assets/js/details.js
#	dt-assets/js/merge-post-details.js
#	dt-assets/js/modular-list.js
#	dt-assets/js/shared-functions.js
#	dt-assets/translation/am_ET.po
#	dt-assets/translation/ar.po
#	dt-assets/translation/ar_MA.po
#	dt-assets/translation/bg_BG.po
#	dt-assets/translation/bn_BD.po
#	dt-assets/translation/bs_BA.po
#	dt-assets/translation/cs.po
#	dt-assets/translation/de_DE.po
#	dt-assets/translation/disciple_tools.pot
#	dt-assets/translation/el.po
#	dt-assets/translation/es_419.mo
#	dt-assets/translation/es_419.po
#	dt-assets/translation/es_ES.mo
#	dt-assets/translation/es_ES.po
#	dt-assets/translation/fa_IR.po
#	dt-assets/translation/fr_FR.po
#	dt-assets/translation/gu.po
#	dt-assets/translation/ha.po
#	dt-assets/translation/hi_IN.po
#	dt-assets/translation/hr.po
#	dt-assets/translation/hu_HU.po
#	dt-assets/translation/id_ID.po
#	dt-assets/translation/it_IT.po
#	dt-assets/translation/ja.po
#	dt-assets/translation/kn.po
#	dt-assets/translation/ko_KR.po
#	dt-assets/translation/ku.po
#	dt-assets/translation/lo.po
#	dt-assets/translation/mk_MK.po
#	dt-assets/translation/ml.po
#	dt-assets/translation/mr.po
#	dt-assets/translation/my_MM.po
#	dt-assets/translation/ne_NP.po
#	dt-assets/translation/nl_NL.po
#	dt-assets/translation/pa_IN.po
#	dt-assets/translation/pl.po
#	dt-assets/translation/pt_BR.po
#	dt-assets/translation/ro_RO.po
#	dt-assets/translation/ru_RU.po
#	dt-assets/translation/si.po
#	dt-assets/translation/sl_SI.po
#	dt-assets/translation/so.po
#	dt-assets/translation/sr_BA.po
#	dt-assets/translation/sw.po
#	dt-assets/translation/ta.po
#	dt-assets/translation/te.po
#	dt-assets/translation/th.po
#	dt-assets/translation/tl.po
#	dt-assets/translation/tr_TR.mo
#	dt-assets/translation/tr_TR.po
#	dt-assets/translation/uk.po
#	dt-assets/translation/ur.po
#	dt-assets/translation/vi.po
#	dt-assets/translation/yo.po
#	dt-assets/translation/zh_CN.po
#	dt-assets/translation/zh_TW.po
#	dt-contacts/access-module.php
#	dt-core/admin/admin-settings-endpoints.php
#	dt-core/admin/css/dt-settings.css
#	dt-core/admin/js/dt-settings.js
#	dt-core/admin/menu/tabs/tab-customizations.php
#	dt-core/global-functions.php
#	dt-core/release-notifications.php
#	dt-core/utilities/dt-url.php
#	dt-login/login-functions.php
#	dt-people-groups/people-groups-endpoints.php
#	dt-people-groups/people-groups.js
#	dt-posts/custom-post-type.php
#	dt-posts/dt-posts-endpoints.php
#	dt-posts/dt-posts.php
#	functions.php
#	package.json
#	style.css
#	tests/test_for_syntax_errors.sh
# Conflicts:
#	dt-assets/js/details.js
#	package-lock.json
#	package.json
* initial code changes for dt-componenets integration in new contact form

* changes in new-record.js to fetch the values from dt components

* integrating most of the components in new contact form

* commented code removed

* reverting php code styling changes so the test pass

* removes ashima css class

* updated web component package

* running npm run build

---------

Co-authored-by: Micah Mills <[email protected]>
… contacts create connection contacts. (#2486)

* Private contacts is an opt-in feature for new instances.

* Fix connection on a connection creates a private connection

* Show status and assigned to on connection contacts

* Undo placeholder field changes for now
add ascii text from figlet with font style 'ANSI Shadow'
added DT chevron  to ascii title
* Support using of dynamic gen-map within multiplier personal section

* Obfuscate non-shared item records

* Ensure non-shared generations are removed + Additional security

* Displayed within both personal and dynamic metrics sections for admin users

* Ensure all user roles have personal metrics access to gen-map

* Ensure correct side menu option is selected

* Update Title
* Support creation of custom location fields

* Remove location meta
* Default location grid fields within custom-post-type.php

* wording
corsacca and others added 6 commits May 31, 2024 14:22
* coding exercise answers

* coding exercise remove linting

* remove lodash comments

* initial push for first issue

* markdown sans images working

* pushing changes for troubleshooting

* Add todos, simplify and find solution for getting translations

* make it easier to get values from the langs table

* changes for second issue

* Get options with defaults

* changes to update_language

* Update dt-options.js

removing console logs

* Update tab-custom-lists.php

removing unused code

* Update tab-custom-lists.php

* Update dt-options.js

* Update admin-settings-endpoints.php

* Update admin-settings-endpoints.php

* Update tab-custom-lists.php

* Update admin-settings-endpoints.php

* initial push

* prettier changes

* Reload page on save

* Don't populate field if default label is used

* Make user deleted and enabled params are set

* use deleted by default instead of enabled
* Removed hardcoding

* Ensure correct db table prefix is used + Confirm user exists on get_user_location

* Additional sql user checks

* Ensure removed multisite user locations are not displayed
# Conflicts:
#	dt-core/admin/menu/tabs/tab-custom-fields.php
#	package-lock.json
* moves component services to header

* dt-tags fixes on edit detail page and code remove for duplicate check on contact and email fields related

* debug

* phpcbf and phpcs fixes

---------

Co-authored-by: Micah Mills <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants