Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
8c023eeabd
commit
81613d2246
53 changed files with 1142 additions and 1813 deletions
|
@ -30,13 +30,11 @@ steps:
|
|||
- name: build
|
||||
image: nextcloudci/node:node-4
|
||||
commands:
|
||||
- cd /drone/src
|
||||
- npm ci
|
||||
- npm run build
|
||||
- name: changes
|
||||
image: nextcloudci/node:node-4
|
||||
commands:
|
||||
- cd /drone/src
|
||||
- git status
|
||||
- bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )"
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -25,7 +25,7 @@
|
|||
|
||||
<script>
|
||||
import ItemPreview from './components/ItemPreview'
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
|
||||
export default {
|
||||
name: 'Accessibility',
|
||||
|
|
BIN
apps/files_sharing/js/dist/additionalScripts.js
vendored
BIN
apps/files_sharing/js/dist/additionalScripts.js
vendored
Binary file not shown.
BIN
apps/files_sharing/js/dist/additionalScripts.js.map
vendored
BIN
apps/files_sharing/js/dist/additionalScripts.js.map
vendored
Binary file not shown.
BIN
apps/files_sharing/js/dist/files_sharing.3.js
vendored
BIN
apps/files_sharing/js/dist/files_sharing.3.js
vendored
Binary file not shown.
BIN
apps/files_sharing/js/dist/files_sharing.3.js.map
vendored
BIN
apps/files_sharing/js/dist/files_sharing.3.js.map
vendored
Binary file not shown.
BIN
apps/files_sharing/js/dist/files_sharing.4.js
vendored
BIN
apps/files_sharing/js/dist/files_sharing.4.js
vendored
Binary file not shown.
BIN
apps/files_sharing/js/dist/files_sharing.4.js.map
vendored
BIN
apps/files_sharing/js/dist/files_sharing.4.js.map
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -73,7 +73,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
import OAuthItem from './components/OAuthItem'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -66,7 +66,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
import { Multiselect } from 'nextcloud-vue'
|
||||
import _ from 'lodash'
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
import confirmPassword from 'nextcloud-password-confirmation'
|
||||
|
||||
import AuthTokenList from './AuthTokenList'
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
import confirmPassword from 'nextcloud-password-confirmation'
|
||||
|
||||
const sanitize = function(url) {
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
import Axios from 'nextcloud-axios'
|
||||
import Axios from '@nextcloud/axios'
|
||||
|
||||
export function generateCodes() {
|
||||
const url = OC.generateUrl('/apps/twofactor_backupcodes/settings/create')
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
import { generateRemoteUrl } from 'nextcloud-router'
|
||||
|
||||
const xmlToJson = (xml) => {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<script>
|
||||
import { Multiselect } from 'nextcloud-vue/dist/Components/Multiselect'
|
||||
import valueMixin from '../../mixins/valueMixin'
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
export default {
|
||||
name: 'RequestUserGroup',
|
||||
components: {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
import { getApiUrl } from './helpers/api'
|
||||
import confirmPassword from 'nextcloud-password-confirmation'
|
||||
|
||||
|
|
BIN
core/js/dist/login.js
vendored
BIN
core/js/dist/login.js
vendored
Binary file not shown.
BIN
core/js/dist/login.js.map
vendored
BIN
core/js/dist/login.js.map
vendored
Binary file not shown.
BIN
core/js/dist/main.js
vendored
BIN
core/js/dist/main.js
vendored
Binary file not shown.
BIN
core/js/dist/main.js.map
vendored
BIN
core/js/dist/main.js.map
vendored
Binary file not shown.
BIN
core/js/dist/maintenance.js
vendored
BIN
core/js/dist/maintenance.js
vendored
Binary file not shown.
BIN
core/js/dist/maintenance.js.map
vendored
BIN
core/js/dist/maintenance.js.map
vendored
Binary file not shown.
|
@ -73,7 +73,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import axios from 'nextcloud-axios'
|
||||
import axios from '@nextcloud/axios'
|
||||
|
||||
import { generateUrl } from '../../OC/routing'
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Axios from 'nextcloud-axios'
|
||||
import Axios from '@nextcloud/axios'
|
||||
|
||||
export default {
|
||||
name: 'UpdatePassword',
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import Axios from 'nextcloud-axios'
|
||||
import Axios from '@nextcloud/axios'
|
||||
|
||||
import OC from './OC/index'
|
||||
|
||||
|
|
2927
package-lock.json
generated
2927
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -25,6 +25,7 @@
|
|||
"dependencies": {
|
||||
"@babel/polyfill": "^7.6.0",
|
||||
"@chenfengyuan/vue-qrcode": "^1.0.1",
|
||||
"@nextcloud/axios": "^0.4.1",
|
||||
"@nextcloud/event-bus": "^0.2.0",
|
||||
"@nextcloud/router": "^0.1.0",
|
||||
"autosize": "^4.0.2",
|
||||
|
@ -46,7 +47,6 @@
|
|||
"marked": "^0.7.0",
|
||||
"moment": "^2.24.0",
|
||||
"moment-timezone": "^0.5.26",
|
||||
"nextcloud-axios": "^0.2.1",
|
||||
"nextcloud-initial-state": "0.0.3",
|
||||
"nextcloud-password-confirmation": "^0.4.2",
|
||||
"nextcloud-router": "0.0.9",
|
||||
|
|
Loading…
Reference in a new issue