KircheNeuenburg / ldaporg

Manage your LDAP users and groups directly in Nextcloud
GNU Affero General Public License v3.0
14 stars 5 forks source link

Convert main.js to compiled handlebars #37

Closed rullzer closed 5 years ago

rullzer commented 5 years ago

There will follow another one for settings.js but small steps.

Nextcloud 15 will have a scricter CSP. This will offer greater protection against XSS attacks. However a side effect is that handlebars can no longer compile on the fly.

If you have a local installation of handleabrs simply run:

handlebars -n OCA.LdapOrgTempaltes js/templates/ -f js/templates.js

And all is good.