diff --git a/.all-contributorsrc b/.all-contributorsrc index bfbb10622a..e4c3fe1355 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -729,6 +729,15 @@ "contributions": [ "code" ] + }, + { + "login": "iamnamananand996", + "name": "Naman Anand", + "avatar_url": "https://avatars.githubusercontent.com/u/31537362?v=4", + "profile": "https://github.com/iamnamananand996", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/.github/workflows/sync-to-develop.yml b/.github/workflows/sync-to-develop.yml index e3c327f3ae..28a770b963 100644 --- a/.github/workflows/sync-to-develop.yml +++ b/.github/workflows/sync-to-develop.yml @@ -9,16 +9,11 @@ jobs: sync-to-develop: runs-on: ubuntu-latest steps: - # See https://github.com/actions/checkout/issues/766 - - name: Workaround for unsafe repository issue - run: | - git config --global --add safe.directory ${GITHUB_WORKSPACE} - - name: Checkout uses: actions/checkout@v1 - name: Merge from master to develop - uses: robotology/gh-action-nightly-merge@v1.3.1 + uses: wingkwong/gh-action-nightly-merge@master with: stable_branch: 'master' development_branch: 'develop' diff --git a/README.md b/README.md index 5416a2244d..68be3f0069 100644 --- a/README.md +++ b/README.md @@ -442,6 +442,7 @@ Our mission is to provide the most powerful no-code interface for databases whic
Robin Fourcade

💻
zprial

💻
Nils Reichardt

💻 +
Naman Anand

💻 diff --git a/packages/nc-gui/assets/style/style.css b/packages/nc-gui/assets/style/style.css index cdf119f2e5..b3fa43aa70 100644 --- a/packages/nc-gui/assets/style/style.css +++ b/packages/nc-gui/assets/style/style.css @@ -362,3 +362,10 @@ html { .cursor-pointer{ cursor: pointer; } + + +/* sorting and filter */ +.menu-filter-dropdown { + max-height: 500px; + overflow-y: auto; +} \ No newline at end of file diff --git a/packages/nc-gui/components/auth/shareOrInviteModal.vue b/packages/nc-gui/components/auth/shareOrInviteModal.vue index cfea0a8afe..573c0cbf6e 100644 --- a/packages/nc-gui/components/auth/shareOrInviteModal.vue +++ b/packages/nc-gui/components/auth/shareOrInviteModal.vue @@ -43,15 +43,8 @@

- {{ $t("msg.info.userInviteNoSMTP") }} - - - - {{ - invite_token && - (invite_token.email || - (invite_token.emails && invite_token.emails.join(", "))) - }}. + +

{{ $t('msg.info.userInviteNoSMTP') }} {{ invite_token && (invite_token.email || invite_token.emails && invite_token.emails.join(', ')) }}.

diff --git a/packages/nc-gui/components/auth/userManagement.vue b/packages/nc-gui/components/auth/userManagement.vue index 4a912ccd4b..f7e123bc48 100644 --- a/packages/nc-gui/components/auth/userManagement.vue +++ b/packages/nc-gui/components/auth/userManagement.vue @@ -314,15 +314,10 @@

- {{ $t("msg.info.userInviteNoSMTP") }} - - - - {{ - invite_token && - (invite_token.email || - (invite_token.emails && invite_token.emails.join(", "))) - }}. + + +

{{ $t('msg.info.userInviteNoSMTP') }} {{ invite_token && (invite_token.email || invite_token.emails && invite_token.emails.join(', ')) }}.
+

@@ -646,22 +641,11 @@ export default { }, async resendInvite(id) { try { - await this.$axios.post( - "/admin/resendInvite/" + id, - { - projectName: this.$store.getters["project/GtrProjectName"], - }, - { - headers: { - "xc-auth": this.$store.state.users.token, - }, - params: { - project_id: this.$route.params.project_id, - }, - } - ); - this.$toast.success("Invite email sent successfully").goAway(3000); - await this.loadUsers(); + + await this.$api.auth.projectUserResendInvite(this.$route.params.project_id, id) + this.$toast.success('Invite email sent successfully').goAway(3000) + await this.loadUsers() + } catch (e) { this.$toast.error(e.response.data.msg).goAway(3000); } diff --git a/packages/nc-gui/components/importantAnnouncement.vue b/packages/nc-gui/components/importantAnnouncement.vue index c330badf46..169cf98357 100644 --- a/packages/nc-gui/components/importantAnnouncement.vue +++ b/packages/nc-gui/components/importantAnnouncement.vue @@ -67,7 +67,7 @@ export default { set(val) { return this.$store.commit('app/MutHiddenAnnouncement', val ? null : true) } - }, + } }, mounted() { setTimeout(() => { diff --git a/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue b/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue index 5d46f03fd8..f888e9b86b 100644 --- a/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue +++ b/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue @@ -28,7 +28,7 @@ export default { const $listeners = {} return $listeners } - }, + } } diff --git a/packages/nc-gui/components/project/auditTab/db.vue b/packages/nc-gui/components/project/auditTab/db.vue index c81e720e48..a3f2be0387 100644 --- a/packages/nc-gui/components/project/auditTab/db.vue +++ b/packages/nc-gui/components/project/auditTab/db.vue @@ -407,7 +407,6 @@ export default { }, async migrationUp(steps = 99999999999) { try { - await this.$store.dispatch('sqlMgr/ActSqlOp', [null, 'migrationsUp', { env: this.nodes.env, dbAlias: this.nodes.dbAlias, diff --git a/packages/nc-gui/components/project/spreadsheet/components/columnFilter.vue b/packages/nc-gui/components/project/spreadsheet/components/columnFilter.vue index cb6f15e8a8..be2ed4beb3 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/columnFilter.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/columnFilter.vue @@ -1,7 +1,9 @@