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

LdapExplorer front end #7683

Merged
merged 50 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a9ae2d7
Core changes to implement LdapExplorer UI input
VakarisZ May 31, 2023
1259c2c
fix validation
satkunas May 31, 2023
7297aae
Fix validation of search input
VakarisZ Jun 2, 2023
065ced6
Fix ldap search input states
VakarisZ Jun 5, 2023
8c5db94
Extract multiselect style to a separate file
VakarisZ Jun 5, 2023
2dc2157
Move and cleanup ldap search UI files
VakarisZ Jun 5, 2023
d0a5404
Fix linting errors
VakarisZ Jun 5, 2023
27dcc4d
Remove trailing ; in LdapSearchInput.vue
VakarisZ Jun 5, 2023
249b34c
Add npm requirements for latest node and webpack-dev-server
VakarisZ Jun 5, 2023
e06899d
Core changes to fetch attributes from an ldap server
VakarisZ Jun 8, 2023
7770874
Add lodash javascript package for convenience functions it offers
VakarisZ Jun 8, 2023
4b854ba
Extract value to select value conversion function
VakarisZ Jun 12, 2023
9138226
Add a draggable component that has static buttons
VakarisZ Jun 15, 2023
21c748c
Differentiate ldap attribute fetching based on server type
VakarisZ Jun 15, 2023
822f2db
Revert changes to BaseRuleCondition.vue related to ldap
VakarisZ Jun 15, 2023
5435098
Implement the core UI for ldap conditions
VakarisZ Jun 15, 2023
b5546f0
Add UI for ldap attribute selector
VakarisZ Jun 15, 2023
b5615df
Debounce ldap search input
VakarisZ Jun 15, 2023
d53aac0
Add loading prop to multiselectFacade.vue
VakarisZ Jun 15, 2023
db6fba5
Fix minor issues with ldap condition UI
VakarisZ Jun 15, 2023
9b572af
Add error feature to ldap attribute selector UI
VakarisZ Jun 19, 2023
76640b8
Make LDAP attribute selector check connection based on form
VakarisZ Jun 20, 2023
f981e4f
Use quiet requests in background ldap searches
VakarisZ Jun 20, 2023
315c031
Add infrastructure to test the OpenLdap
VakarisZ Jun 20, 2023
b45b2c1
Add openLdap server attribute extraction logic
VakarisZ Jun 21, 2023
55872b7
Fix server parameter in LdapSearchInput.vue
VakarisZ Jun 21, 2023
b6edc73
Fix initial value bug in the LdapSearchInput.vue
VakarisZ Jun 21, 2023
522b1f3
Add not connected error to ldap value search
VakarisZ Jun 22, 2023
ae9533f
Improve ldapMultiselectFacade to ignore options when no connection
VakarisZ Jun 22, 2023
12c77c2
Adjust ldap search to parse array values
VakarisZ Jun 22, 2023
0423f6f
Extract common ldap request function between ldap server clients
VakarisZ Jun 22, 2023
f7d5fa5
Rename some ldap UI files and variables
VakarisZ Jun 22, 2023
acfd5d3
Fix eslint errors in ldap code
VakarisZ Jun 22, 2023
e9f403d
Extract useLdapAttributes into composable
VakarisZ Jun 23, 2023
dffc45d
Inject ldap condition only in ldap authentication sources
VakarisZ Jun 26, 2023
c51bc21
Remove ldap condition from GoogleWorkspaceLDAP
VakarisZ Jun 26, 2023
962a1f2
Add ldap selector to Edir conditions
VakarisZ Jun 26, 2023
e8ad342
Fix a bug that sends form with int values if they are unmodified
VakarisZ Jun 27, 2023
a5e66d1
Add a common array for supported form types by ldap explorer
VakarisZ Jun 28, 2023
d7b226e
Fix a bug where unsupported forms were trying to use ldap explorer
VakarisZ Jun 28, 2023
ebf2353
Add a key for provided conditions component
VakarisZ Jun 28, 2023
7ad5f72
Filter out ldap options in packetfence conditions
VakarisZ Jun 28, 2023
a0128ac
Add missing translations related to ldap explorer
VakarisZ Jun 28, 2023
d35b2df
Add clone condition button in ldap conditions
VakarisZ Jun 30, 2023
6ce29b4
Change the ldap condition to be able to clone and append conditions
VakarisZ Jun 30, 2023
f418098
Add badges to differentiate conditions by type
VakarisZ Jun 30, 2023
d5526c3
Reformat and improve style of ldap explorer UI
VakarisZ Jun 30, 2023
69ad213
Extract ldap error to a separate component
VakarisZ Jul 3, 2023
0087957
Show ldap error in all cases when connection fails
VakarisZ Jul 3, 2023
8f24d51
force update semver to address syyk vulnerability
satkunas Jul 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ configurations_hard:
# server certs and keys
# the | in the prerequisites ensure the target is not created if it already exists
# see https://www.gnu.org/software/make/manual/make.html#Prerequisite-Types
conf/ssl/server.pem: | conf/ssl/server.key conf/ssl/server.crt conf/ssl/server.pem
conf/ssl/server.pem: | conf/ssl/server.key conf/ssl/server.crt conf/ssl/server.pem
cat conf/ssl/server.crt conf/ssl/server.key > conf/ssl/server.pem

conf/ssl/server.crt: | conf/ssl/server.crt
Expand Down
16 changes: 16 additions & 0 deletions conf/I18N/api/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -16508,6 +16508,22 @@ msgstr ""
msgid "Type to search results."
msgstr ""

#: html/pfappserver/root/src/views/Configuration/sources/_components/ldapCondition/MultiselectFacade.vue
msgid "LDAP connection failed"
msgstr ""

#: html/pfappserver/root/src/views/Configuration/sources/_components/ldapCondition/MultiselectFacade.vue
msgid "Make sure that you provided correct IP/credentials"
msgstr ""

#: html/pfappserver/root/src/views/Configuration/sources/_components/BaseRuleFormGroupLdapConditions.js
msgid "Add LDAP Condition"
msgstr ""

#: html/pfappserver/root/src/views/Configuration/sources/_components/BaseRuleFormGroupLdapConditions.js
msgid "Add Packetfence Condition"
msgstr ""

#: html/pfappserver/root/src/globals/pfField.js:153
#: html/pfappserver/root/src/views/Configuration/radius/general/schema.js:5
msgid "Types"
Expand Down
20 changes: 18 additions & 2 deletions conf/I18N/api/fr.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) Inverse inc.
# English translations for PacketFence package.
# This file is distributed under the same license as the PacketFence package.
#
#
# Translators:
# GurVan, 2019
# Maxime Andre <andmaxime+transifex@gmail.com>, 2019
Expand All @@ -14,7 +14,7 @@
# lzammit <lzammit@inverse.ca>, 2022
# jgoimard <jgoimard@inverse.ca>, 2022
# Christopher <chuguet@inverse.ca>, 2023
#
#
msgid ""
msgstr ""
"Project-Id-Version: 12.2.0\n"
Expand Down Expand Up @@ -18620,6 +18620,22 @@ msgstr "Type à rechercher"
msgid "Type to search results."
msgstr "Tapez pour les résultats de la recherche."

#: html/pfappserver/root/src/views/Configuration/sources/_components/ldapCondition/MultiselectFacade.vue
msgid "LDAP connection failed"
msgstr "La connexion LDAP a échoué"

#: html/pfappserver/root/src/views/Configuration/sources/_components/ldapCondition/MultiselectFacade.vue
msgid "Make sure that you provided correct IP/credentials"
msgstr "Assurez-vous d'avoir fourni des informations d'identification et une adresse IP"

#: html/pfappserver/root/src/views/Configuration/sources/_components/BaseRuleFormGroupLdapConditions.js
msgid "Add LDAP Condition"
msgstr "Ajouter une condition LDAP"

#: html/pfappserver/root/src/views/Configuration/sources/_components/BaseRuleFormGroupLdapConditions.js
msgid "Add Packetfence Condition"
msgstr "Ajouter une condition Packetfence"

#: html/pfappserver/root/src/globals/pfField.js:153
#: html/pfappserver/root/src/views/Configuration/radius/general/schema.js:5
msgid "Types"
Expand Down
2 changes: 1 addition & 1 deletion html/pfappserver/root/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VUE_APP_I18N_LOCALE=en
VUE_APP_I18N_FALLBACK_LOCALE=en
VUE_APP_DEBUG=false
VUE_APP_DEBUG=false