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:
Christoph Wurst 2019-10-04 12:17:09 +02:00 committed by John Molakvoæ (skjnldsv)
parent 8c023eeabd
commit 81613d2246
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF
53 changed files with 1142 additions and 1813 deletions

View file

@ -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 )"

View file

@ -25,7 +25,7 @@
<script>
import ItemPreview from './components/ItemPreview'
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
export default {
name: 'Accessibility',

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.

View file

@ -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.

View file

@ -66,7 +66,7 @@
</template>
<script>
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
import { Multiselect } from 'nextcloud-vue'
import _ from 'lodash'

View file

@ -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'

View file

@ -20,7 +20,7 @@
*
*/
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
import confirmPassword from 'nextcloud-password-confirmation'
const sanitize = function(url) {

View file

@ -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')

View file

@ -20,7 +20,7 @@
*
*/
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
import { generateRemoteUrl } from 'nextcloud-router'
const xmlToJson = (xml) => {

View file

@ -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: {

View file

@ -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

Binary file not shown.

Binary file not shown.

BIN
core/js/dist/main.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -73,7 +73,7 @@
</template>
<script>
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
import { generateUrl } from '../../OC/routing'

View file

@ -67,7 +67,7 @@
</template>
<script>
import Axios from 'nextcloud-axios'
import Axios from '@nextcloud/axios'
export default {
name: 'UpdatePassword',

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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",