text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
const { expect } = require('chai') const RateLimiter = require('../../../app/src/infrastructure/RateLimiter') const UserHelper = require('./helpers/UserHelper') const { db } = require('../../../app/src/infrastructure/mongodb') describe('PasswordReset', function () { let email, response, user, userHelper, token, emailQuery afterEach(async function () { await RateLimiter.promises.clearRateLimit( 'password_reset_rate_limit', '127.0.0.1' ) }) beforeEach(async function () { userHelper = new UserHelper() email = userHelper.getDefaultEmail() emailQuery = `?email=${encodeURIComponent(email)}` userHelper = await UserHelper.createUser({ email }) user = userHelper.user // generate the token await userHelper.getCsrfToken() response = await userHelper.request.post('/user/password/reset', { form: { email, }, }) token = ( await db.tokens.findOne({ 'data.user_id': user._id.toString(), }) ).token }) describe('with a valid token', function () { describe('when logged in', function () { beforeEach(async function () { userHelper = await UserHelper.loginUser({ email, password: userHelper.getDefaultPassword(), }) response = await userHelper.request.get( `/user/password/set?passwordResetToken=${token}&email=${email}`, { simple: false } ) expect(response.statusCode).to.equal(302) expect(response.headers.location).to.equal( `/user/password/set${emailQuery}` ) // send reset request response = await userHelper.request.post('/user/password/set', { form: { passwordResetToken: token, password: 'a-password', }, }) userHelper = await UserHelper.getUser({ email }) user = userHelper.user }) it('update the password', async function () { expect(user.hashedPassword).to.exist expect(user.password).to.not.exist }) it('log the change with initiatorId', async function () { const auditLog = userHelper.getAuditLogWithoutNoise() expect(auditLog).to.exist expect(auditLog[0]).to.exist expect(typeof auditLog[0].initiatorId).to.equal('object') expect(auditLog[0].initiatorId).to.deep.equal(user._id) expect(auditLog[0].operation).to.equal('reset-password') expect(auditLog[0].ipAddress).to.equal('127.0.0.1') expect(auditLog[0].timestamp).to.exist }) }) describe('when logged in as another user', function () { let otherUser, otherUserEmail beforeEach(async function () { otherUserEmail = userHelper.getDefaultEmail() userHelper = await UserHelper.createUser({ email: otherUserEmail }) otherUser = userHelper.user userHelper = await UserHelper.loginUser({ email: otherUserEmail, password: userHelper.getDefaultPassword(), }) response = await userHelper.request.get( `/user/password/set?passwordResetToken=${token}&email=${email}`, { simple: false } ) expect(response.statusCode).to.equal(302) expect(response.headers.location).to.equal( `/user/password/set${emailQuery}` ) // send reset request response = await userHelper.request.post('/user/password/set', { form: { passwordResetToken: token, password: 'a-password', }, }) userHelper = await UserHelper.getUser({ email }) user = userHelper.user }) it('update the password', async function () { expect(user.hashedPassword).to.exist expect(user.password).to.not.exist }) it('log the change with the logged in user as the initiatorId', async function () { const auditLog = userHelper.getAuditLogWithoutNoise() expect(auditLog).to.exist expect(auditLog[0]).to.exist expect(typeof auditLog[0].initiatorId).to.equal('object') expect(auditLog[0].initiatorId).to.deep.equal(otherUser._id) expect(auditLog[0].operation).to.equal('reset-password') expect(auditLog[0].ipAddress).to.equal('127.0.0.1') expect(auditLog[0].timestamp).to.exist }) }) describe('when not logged in', function () { beforeEach(async function () { response = await userHelper.request.get( `/user/password/set?passwordResetToken=${token}&email=${email}`, { simple: false } ) expect(response.statusCode).to.equal(302) expect(response.headers.location).to.equal( `/user/password/set${emailQuery}` ) // send reset request response = await userHelper.request.post('/user/password/set', { form: { passwordResetToken: token, password: 'a-password', }, }) userHelper = await UserHelper.getUser({ email }) user = userHelper.user }) it('updates the password', function () { expect(user.hashedPassword).to.exist expect(user.password).to.not.exist }) it('log the change', async function () { const auditLog = userHelper.getAuditLogWithoutNoise() expect(auditLog).to.exist expect(auditLog[0]).to.exist expect(auditLog[0].initiatorId).to.equal(null) expect(auditLog[0].operation).to.equal('reset-password') expect(auditLog[0].ipAddress).to.equal('127.0.0.1') expect(auditLog[0].timestamp).to.exist }) }) describe('password checks', function () { beforeEach(async function () { response = await userHelper.request.get( `/user/password/set?passwordResetToken=${token}&email=${email}`, { simple: false } ) expect(response.statusCode).to.equal(302) expect(response.headers.location).to.equal( `/user/password/set${emailQuery}` ) }) it('without a password should return 400 and not log the change', async function () { // send reset request response = await userHelper.request.post('/user/password/set', { form: { passwordResetToken: token, }, simple: false, }) expect(response.statusCode).to.equal(400) userHelper = await UserHelper.getUser({ email }) const auditLog = userHelper.getAuditLogWithoutNoise() expect(auditLog).to.deep.equal([]) }) it('without a valid password should return 400 and not log the change', async function () { // send reset request response = await userHelper.request.post('/user/password/set', { form: { passwordResetToken: token, password: 'short', }, simple: false, }) expect(response.statusCode).to.equal(400) userHelper = await UserHelper.getUser({ email }) const auditLog = userHelper.getAuditLogWithoutNoise() expect(auditLog).to.deep.equal([]) }) }) }) describe('without a valid token', function () { it('no token should redirect to page to re-request reset token', async function () { response = await userHelper.request.get( `/user/password/set?&email=${email}`, { simple: false } ) expect(response.statusCode).to.equal(302) expect(response.headers.location).to.equal('/user/password/reset') }) it('should return 404 for invalid tokens', async function () { const invalidToken = 'not-real-token' response = await userHelper.request.get( `/user/password/set?&passwordResetToken=${invalidToken}&email=${email}`, { simple: false } ) expect(response.statusCode).to.equal(302) expect(response.headers.location).to.equal( `/user/password/set${emailQuery}` ) // send reset request response = await userHelper.request.post('/user/password/set', { form: { passwordResetToken: invalidToken, password: 'a-password', }, simple: false, }) expect(response.statusCode).to.equal(404) }) }) describe('password reset', function () { it('should return 200 if email field is valid', async function () { response = await userHelper.request.post(`/user/password/reset`, { form: { email, }, }) expect(response.statusCode).to.equal(200) }) it('should return 400 if email field is missing', async function () { response = await userHelper.request.post(`/user/password/reset`, { form: { mail: email, }, simple: false, }) expect(response.statusCode).to.equal(400) }) }) describe('password set', function () { it('should return 200 if password and passwordResetToken fields are valid', async function () { response = await userHelper.request.post(`/user/password/set`, { form: { password: 'new-password', passwordResetToken: token, }, }) expect(response.statusCode).to.equal(200) }) it('should return 400 if password field is missing', async function () { response = await userHelper.request.post(`/user/password/set`, { form: { passwordResetToken: token, }, simple: false, }) expect(response.statusCode).to.equal(400) }) it('should return 400 if passwordResetToken field is missing', async function () { response = await userHelper.request.post(`/user/password/set`, { form: { password: 'new-password', }, simple: false, }) expect(response.statusCode).to.equal(400) }) }) })
overleaf/web/test/acceptance/src/PasswordResetTests.js/0
{ "file_path": "overleaf/web/test/acceptance/src/PasswordResetTests.js", "repo_id": "overleaf", "token_count": 4133 }
561
const { expect } = require('chai') const User = require('./helpers/User').promises describe('Sharing', function () { beforeEach(async function () { this.ownerSession = new User() this.collaboratorSession = new User() this.strangerSession = new User() await this.ownerSession.login() await this.collaboratorSession.login() await this.strangerSession.login() this.owner = await this.ownerSession.get() this.collaborator = await this.collaboratorSession.get() this.stranger = await this.strangerSession.get() this.projectId = await this.ownerSession.createProject('Test project') }) describe('with read-only collaborator', function () { beforeEach(async function () { await this.ownerSession.addUserToProject( this.projectId, this.collaborator, 'readOnly' ) }) it('sets the privilege level to read-write', async function () { await this.ownerSession.setCollaboratorInfo( this.projectId, this.collaborator._id, { privilegeLevel: 'readAndWrite' } ) const project = await this.ownerSession.getProject(this.projectId) expect(project.collaberator_refs).to.be.unordered.ids([ this.collaborator._id, ]) expect(project.readOnly_refs).to.deep.equal([]) }) it('treats setting the privilege to read-only as a noop', async function () { await this.ownerSession.setCollaboratorInfo( this.projectId, this.collaborator._id, { privilegeLevel: 'readOnly' } ) const project = await this.ownerSession.getProject(this.projectId) expect(project.collaberator_refs).to.deep.equal([]) expect(project.readOnly_refs).to.be.unordered.ids([this.collaborator._id]) }) it('prevents non-owners to set the privilege level', async function () { await expect( this.collaboratorSession.setCollaboratorInfo( this.projectId, this.collaborator._id, { privilegeLevel: 'readAndWrite' } ) ).to.be.rejectedWith('Unexpected status code: 403') }) it('validates the privilege level', async function () { await expect( this.collaboratorSession.setCollaboratorInfo( this.projectId, this.collaborator._id, { privilegeLevel: 'superpowers' } ) ).to.be.rejectedWith('Unexpected status code: 400') }) it('returns 404 if the user is not already a collaborator', async function () { await expect( this.ownerSession.setCollaboratorInfo( this.projectId, this.stranger._id, { privilegeLevel: 'readOnly' } ) ).to.be.rejectedWith('Unexpected status code: 404') }) }) describe('with read-write collaborator', function () { beforeEach(async function () { await this.ownerSession.addUserToProject( this.projectId, this.collaborator, 'readAndWrite' ) }) it('sets the privilege level to read-only', async function () { await this.ownerSession.setCollaboratorInfo( this.projectId, this.collaborator._id, { privilegeLevel: 'readOnly' } ) const project = await this.ownerSession.getProject(this.projectId) expect(project.collaberator_refs).to.deep.equal([]) expect(project.readOnly_refs).to.be.unordered.ids([this.collaborator._id]) }) }) })
overleaf/web/test/acceptance/src/SharingTests.js/0
{ "file_path": "overleaf/web/test/acceptance/src/SharingTests.js", "repo_id": "overleaf", "token_count": 1356 }
562
const request = require('./request') const settings = require('@overleaf/settings') const { db, ObjectId } = require('../../../../app/src/infrastructure/mongodb') const UserModel = require('../../../../app/src/models/User').User const UserUpdater = require('../../../../app/src/Features/User/UserUpdater') const AuthenticationManager = require('../../../../app/src/Features/Authentication/AuthenticationManager') const { promisify } = require('util') const fs = require('fs') const Path = require('path') let count = settings.test.counterInit class User { constructor(options) { if (options == null) { options = {} } this.emails = [ { email: options.email || `acceptance-test-${count}@example.com`, createdAt: new Date(), }, ] this.email = this.emails[0].email this.password = `a-terrible-secret-${count}` count++ this.jar = request.jar() this.request = request.defaults({ jar: this.jar, }) } setExtraAttributes(user) { if ((user != null ? user._id : undefined) == null) { throw new Error('User does not exist') } this.id = user._id.toString() this._id = user._id.toString() this.first_name = user.first_name this.referal_id = user.referal_id } get(callback) { db.users.findOne({ _id: ObjectId(this._id) }, callback) } getAuditLogWithoutNoise(callback) { this.get((error, user) => { if (error) return callback(error) if (!user) return callback(new Error('User not found')) callback( null, (user.auditLog || []).filter(entry => { return entry.operation !== 'login' }) ) }) } mongoUpdate(updateOp, callback) { db.users.updateOne({ _id: ObjectId(this._id) }, updateOp, callback) } register(callback) { this.registerWithQuery('', callback) } registerWithQuery(query, callback) { if (this._id != null) { return callback(new Error('User already registered')) } this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.post( { url: `/register${query}`, json: { email: this.email, password: this.password }, }, (error, response, body) => { if (error != null) { return callback(error) } db.users.findOne({ email: this.email }, (error, user) => { if (error != null) { return callback(error) } this.setExtraAttributes(user) callback(null, user) }) } ) }) } login(callback) { this.loginWith(this.email, callback) } loginWith(email, callback) { this.ensureUserExists(error => { if (error != null) { return callback(error) } this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.post( { url: settings.enableLegacyLogin ? '/login/legacy' : '/login', json: { email, password: this.password }, }, (error, response, body) => { if (error != null) { return callback(error) } // get new csrf token, then return result of login this.getCsrfToken(err => { if (err) { return callback(err) } callback(null, response, body) }) } ) }) }) } ensureUserExists(callback) { const filter = { email: this.email } const options = { upsert: true, new: true, setDefaultsOnInsert: true } UserModel.findOneAndUpdate(filter, {}, options, (error, user) => { if (error != null) { return callback(error) } this.setExtraAttributes(user) AuthenticationManager.setUserPasswordInV2(user, this.password, error => { if (error != null) { return callback(error) } this.mongoUpdate({ $set: { emails: this.emails } }, error => { if (error != null) { return callback(error) } callback(null, this.password) }) }) }) } setFeatures(features, callback) { const update = {} for (const key in features) { const value = features[key] update[`features.${key}`] = value } UserModel.updateOne({ _id: this.id }, update, callback) } setFeaturesOverride(featuresOverride, callback) { const update = { $push: { featuresOverrides: featuresOverride } } UserModel.updateOne({ _id: this.id }, update, callback) } setOverleafId(overleafId, callback) { UserModel.updateOne( { _id: this.id }, { 'overleaf.id': overleafId }, callback ) } logout(callback) { this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.post( { url: '/logout', json: { email: this.email, password: this.password, }, }, (error, response, body) => { if (error != null) { return callback(error) } db.users.findOne({ email: this.email }, (error, user) => { if (error != null) { return callback(error) } if (user == null) { return callback() } this.id = user._id.toString() this._id = user._id.toString() callback() }) } ) }) } addEmail(email, callback) { this.emails.push({ email, createdAt: new Date() }) UserUpdater.addEmailAddress( this.id, email, {}, { initiatorId: this._id, ipAddress: '127:0:0:0' }, callback ) } confirmEmail(email, callback) { for (let idx = 0; idx < this.emails.length; idx++) { const emailData = this.emails[idx] if (emailData.email === email) { this.emails[idx].confirmedAt = new Date() } } UserUpdater.confirmEmail(this.id, email, callback) } ensureAdmin(callback) { this.mongoUpdate({ $set: { isAdmin: true } }, callback) } ensureStaffAccess(flag, callback) { const update = { $set: {} } update.$set[`staffAccess.${flag}`] = true this.mongoUpdate(update, callback) } upgradeFeatures(callback) { const features = { collaborators: -1, // Infinite versioning: true, dropbox: true, compileTimeout: 60, compileGroup: 'priority', templates: true, references: true, trackChanges: true, trackChangesVisible: true, } this.mongoUpdate({ $set: { features } }, callback) } downgradeFeatures(callback) { const features = { collaborators: 1, versioning: false, dropbox: false, compileTimeout: 60, compileGroup: 'standard', templates: false, references: false, trackChanges: false, trackChangesVisible: false, } this.mongoUpdate({ $set: { features } }, callback) } defaultFeatures(callback) { const features = settings.defaultFeatures this.mongoUpdate({ $set: { features } }, callback) } getFeatures(callback) { db.users.findOne( { _id: ObjectId(this.id) }, { projection: { features: 1 } }, (error, user) => callback(error, user && user.features) ) } fullDeleteUser(email, callback) { db.users.findOne({ email }, (error, user) => { if (error != null) { return callback(error) } if (user == null) { return callback() } const userId = user._id db.projects.deleteMany({ owner_ref: ObjectId(userId) }, err => { if (err != null) { callback(err) } db.users.deleteOne({ _id: ObjectId(userId) }, callback) }) }) } deleteUser(callback) { this.getCsrfToken(error => { if (error) { return callback(error) } this.request.post( { url: '/user/delete', json: { password: this.password }, }, (err, res) => { if (err) { return callback(err) } if (res.statusCode < 200 || res.statusCode >= 300) { return callback( new Error('Error received from API: ' + res.statusCode) ) } callback() } ) }) } getProject(projectId, callback) { db.projects.findOne({ _id: ObjectId(projectId.toString()) }, callback) } saveProject(project, callback) { db.projects.updateOne({ _id: project._id }, { $set: project }, callback) } createProject(name, options, callback) { if (typeof options === 'function') { callback = options options = {} } this.request.post( { url: '/project/new', json: Object.assign({ projectName: name }, options), }, (error, response, body) => { if (error != null) { return callback(error) } if ((body != null ? body.project_id : undefined) == null) { error = new Error( JSON.stringify([ 'SOMETHING WENT WRONG CREATING PROJECT', name, options, response.statusCode, response.headers.location, body, ]) ) callback(error) } else { callback(null, body.project_id) } } ) } deleteProject(projectId, callback) { this.request.delete( { url: `/project/${projectId}`, }, (error, response, body) => { if (error != null) { return callback(error) } callback(null) } ) } undeleteProject(projectId, callback) { this.request.post( { url: `/admin/project/${projectId}/undelete`, }, (error, response) => { if (error) { return callback(error) } if (response.statusCode !== 204) { return callback( new Error( `Non-success response when undeleting project: ${response.statusCode}` ) ) } callback(null) } ) } deleteProjects(callback) { db.projects.deleteMany({ owner_ref: ObjectId(this.id) }, callback) } openProject(projectId, callback) { this.request.get( { url: `/project/${projectId}`, }, (error, response, body) => { if (error != null) { return callback(error) } if (response.statusCode !== 200) { const err = new Error( `Non-success response when opening project: ${response.statusCode}` ) return callback(err) } callback(null) } ) } createDocInProject(projectId, parentFolderId, name, callback) { this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.post( { url: `/project/${projectId}/doc`, json: { name, parentFolderId, }, }, (error, response, body) => { if (error != null) { return callback(error) } callback(null, body._id) } ) }) } uploadFileInProject(projectId, folderId, file, name, contentType, callback) { const imageFile = fs.createReadStream( Path.resolve(Path.join(__dirname, '..', '..', 'files', file)) ) this.request.post( { uri: `project/${projectId}/upload`, qs: { folder_id: String(folderId), }, formData: { qqfile: { value: imageFile, options: { filename: name, contentType: contentType, }, }, }, }, (error, res, body) => { if (error) { return callback(error) } if (res.statusCode < 200 || res.statusCode >= 300) { return callback(new Error(`failed to upload file ${res.statusCode}`)) } callback(null, JSON.parse(body).entity_id) } ) } uploadExampleFileInProject(projectId, folderId, name, callback) { this.uploadFileInProject( projectId, folderId, '1pixel.png', name, 'image/png', callback ) } moveItemInProject(projectId, type, itemId, folderId, callback) { this.request.post( { uri: `project/${projectId}/${type}/${itemId}/move`, json: { folder_id: folderId, }, }, (error, res) => { if (error) { return callback(error) } if (res.statusCode < 200 || res.statusCode >= 300) { return callback(new Error(`failed to move ${type} ${res.statusCode}`)) } callback() } ) } renameItemInProject(projectId, type, itemId, name, callback) { this.request.post( { uri: `project/${projectId}/${type}/${itemId}/rename`, json: { name: name, }, }, (error, res) => { if (error) { return callback(error) } if (res.statusCode < 200 || res.statusCode >= 300) { return callback( new Error(`failed to rename ${type} ${res.statusCode}`) ) } callback() } ) } deleteItemInProject(projectId, type, itemId, callback) { this.request.delete( `project/${projectId}/${type}/${itemId}`, (error, res) => { if (error) { return callback(error) } if (res.statusCode < 200 || res.statusCode >= 300) { return callback( new Error(`failed to delete ${type} ${res.statusCode}`) ) } callback() } ) } joinProject(projectId, callback) { this.request.post( { url: `/project/${projectId}/join`, qs: { user_id: this._id }, auth: { user: settings.apis.web.user, pass: settings.apis.web.pass, sendImmediately: true, }, json: true, jar: false, }, (error, res, body) => { if (error) { return callback(error) } if (res.statusCode < 200 || res.statusCode >= 300) { return callback( new Error(`failed to join project ${projectId} ${res.statusCode}`) ) } callback(null, body) } ) } addUserToProject(projectId, user, privileges, callback) { let updateOp if (privileges === 'readAndWrite') { updateOp = { $addToSet: { collaberator_refs: user._id } } } else if (privileges === 'readOnly') { updateOp = { $addToSet: { readOnly_refs: user._id } } } db.projects.updateOne({ _id: ObjectId(projectId) }, updateOp, callback) } makePublic(projectId, level, callback) { this.request.post( { url: `/project/${projectId}/settings/admin`, json: { publicAccessLevel: level, }, }, (error, response, body) => { if (error != null) { return callback(error) } callback(null) } ) } makePrivate(projectId, callback) { this.request.post( { url: `/project/${projectId}/settings/admin`, json: { publicAccessLevel: 'private', }, }, (error, response, body) => { if (error != null) { return callback(error) } callback(null) } ) } makeTokenBased(projectId, callback) { this.request.post( { url: `/project/${projectId}/settings/admin`, json: { publicAccessLevel: 'tokenBased', }, }, (error, response, body) => { if (error != null) { return callback(error) } callback(null) } ) } getCsrfToken(callback) { this.request.get( { url: '/dev/csrf', }, (err, response, body) => { if (err != null) { return callback(err) } this.csrfToken = body this.request = this.request.defaults({ headers: { 'x-csrf-token': this.csrfToken, }, }) callback() } ) } changePassword(callback) { this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.post( { url: '/user/password/update', json: { currentPassword: this.password, newPassword1: this.password, newPassword2: this.password, }, }, callback ) }) } reconfirmAccountRequest(userEmail, callback) { this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.post( { url: '/user/reconfirm', json: { email: userEmail, }, }, (error, response, body) => { callback(error, response) } ) }) } getUserSettingsPage(callback) { this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.get( { url: '/user/settings', }, (error, response, body) => { if (error != null) { return callback(error) } callback(null, response.statusCode) } ) }) } updateSettings(newSettings, callback) { this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.post( { url: '/user/settings', json: newSettings, }, callback ) }) } getProjectListPage(callback) { this.getCsrfToken(error => { if (error != null) { return callback(error) } this.request.get( { url: '/project', }, (error, response, body) => { if (error != null) { return callback(error) } callback(null, response.statusCode) } ) }) } isLoggedIn(callback) { this.request.get('/user/personal_info', (error, response, body) => { if (error != null) { return callback(error) } if (response.statusCode === 200) { callback(null, true) } else if (response.statusCode === 302) { callback(null, false) } else { callback( new Error( `unexpected status code from /user/personal_info: ${response.statusCode}` ) ) } }) } transferProjectOwnership(projectId, userId, callback) { this.getCsrfToken(err => { if (err != null) { return callback(err) } this.request.post( { url: `/project/${projectId.toString()}/transfer-ownership`, json: { user_id: userId.toString(), }, }, (err, response) => { if (err != null) { return callback(err) } if (response.statusCode !== 204) { return callback( new Error(`Unexpected status code: ${response.statusCode}`) ) } callback() } ) }) } setV1Id(v1Id, callback) { UserModel.updateOne( { _id: this._id, }, { overleaf: { id: v1Id, }, }, callback ) } setCollaboratorInfo(projectId, userId, info, callback) { this.getCsrfToken(err => { if (err != null) { return callback(err) } this.request.put( { url: `/project/${projectId.toString()}/users/${userId.toString()}`, json: info, }, (err, response) => { if (err != null) { return callback(err) } if (response.statusCode !== 204) { return callback( new Error(`Unexpected status code: ${response.statusCode}`) ) } callback() } ) }) } } User.promises = class extends User { doRequest(method, params) { return new Promise((resolve, reject) => { this.request[method.toLowerCase()](params, (err, response, body) => { if (err) { reject(err) } else { resolve({ response, body }) } }) }) } } // promisify User class methods - works for methods with 0-1 output parameters, // otherwise we will need to implement the method manually instead const nonPromiseMethods = ['constructor', 'setExtraAttributes'] Object.getOwnPropertyNames(User.prototype).forEach(methodName => { const method = User.prototype[methodName] if (typeof method === 'function' && !nonPromiseMethods.includes(methodName)) { User.promises.prototype[methodName] = promisify(method) } }) module.exports = User
overleaf/web/test/acceptance/src/helpers/User.js/0
{ "file_path": "overleaf/web/test/acceptance/src/helpers/User.js", "repo_id": "overleaf", "token_count": 10070 }
563
const AbstractMockApi = require('./AbstractMockApi') const SubscriptionController = require('../../../../app/src/Features/Subscription/SubscriptionController') class MockRecurlyApi extends AbstractMockApi { reset() { this.mockSubscriptions = [] this.redemptions = {} this.coupons = {} } addMockSubscription(recurlySubscription) { this.mockSubscriptions.push(recurlySubscription) } getMockSubscriptionByAccountId(accountId) { return this.mockSubscriptions.find( mockSubscription => mockSubscription.account.id === accountId ) } getMockSubscriptionById(uuid) { return this.mockSubscriptions.find( mockSubscription => mockSubscription.uuid === uuid ) } applyRoutes() { this.app.get('/subscriptions/:id', (req, res) => { const subscription = this.getMockSubscriptionById(req.params.id) if (!subscription) { res.status(404).end() } else { res.send(`\ <subscription> <plan_code>${subscription.plan_code}</plan_code> <currency>${subscription.currency}</currency> <state>${subscription.state}</state> <tax_in_cents type="integer">${subscription.tax_in_cents}</tax_in_cents> <tax_rate type="float">${subscription.tax_rate}</tax_rate> <current_period_ends_at type="datetime">${subscription.current_period_ends_at}</current_period_ends_at> <unit_amount_in_cents type="integer">${subscription.unit_amount_in_cents}</unit_amount_in_cents> <account href="accounts/${subscription.account.id}" /> <trial_ends_at type="datetime">${subscription.trial_ends_at}</trial_ends_at> </subscription>\ `) } }) this.app.get('/accounts/:id', (req, res) => { const subscription = this.getMockSubscriptionByAccountId(req.params.id) if (!subscription) { res.status(404).end() } else { res.send(`\ <account> <account_code>${req.params.id}</account_code> <hosted_login_token>${subscription.account.hosted_login_token}</hosted_login_token> <email>${subscription.account.email}</email> </account>\ `) } }) this.app.put( '/accounts/:id', SubscriptionController.recurlyNotificationParser, // required to parse XML requests (req, res) => { const subscription = this.getMockSubscriptionByAccountId(req.params.id) if (!subscription) { res.status(404).end() } else { Object.assign(subscription.account, req.body.account) res.send(`\ <account> <account_code>${req.params.id}</account_code> <email>${subscription.account.email}</email> </account>\ `) } } ) this.app.get('/coupons/:code', (req, res) => { const coupon = this.coupons[req.params.code] if (!coupon) { res.status(404).end() } else { res.send(`\ <coupon> <coupon_code>${req.params.code}</coupon_code> <name>${coupon.name || ''}</name> <description>${coupon.description || ''}</description> </coupon>\ `) } }) this.app.get('/accounts/:id/redemptions', (req, res) => { const redemptions = this.redemptions[req.params.id] || [] let redemptionsListXml = '' for (const redemption of Array.from(redemptions)) { redemptionsListXml += `\ <redemption> <state>${redemption.state}</state> <coupon_code>${redemption.coupon_code}</coupon_code> </redemption>\ ` } res.send(`\ <redemptions type="array"> ${redemptionsListXml} </redemptions>\ `) }) } } module.exports = MockRecurlyApi // type hint for the inherited `instance` method /** * @function instance * @memberOf MockRecurlyApi * @static * @returns {MockRecurlyApi} */
overleaf/web/test/acceptance/src/mocks/MockRecurlyApi.js/0
{ "file_path": "overleaf/web/test/acceptance/src/mocks/MockRecurlyApi.js", "repo_id": "overleaf", "token_count": 1505 }
564
import { expect } from 'chai' import { render, screen } from '@testing-library/react' import ToolbarHeader from '../../../../../frontend/js/features/editor-navigation-toolbar/components/toolbar-header' describe('<ToolbarHeader />', function () { const defaultProps = { onShowLeftMenuClick: () => {}, toggleChatOpen: () => {}, toggleReviewPanelOpen: () => {}, toggleHistoryOpen: () => {}, unreadMessageCount: 0, onlineUsers: [], goToUser: () => {}, projectName: 'test project', renameProject: () => {}, openShareModal: () => {}, togglePdfView: () => {}, hasPublishPermissions: true, } describe('cobranding logo', function () { it('is not displayed by default', function () { render(<ToolbarHeader {...defaultProps} />) expect(screen.queryByRole('link', { name: 'variation' })).to.not.exist }) it('is displayed when cobranding data is available', function () { const props = { ...defaultProps, cobranding: { brandVariationHomeUrl: 'http://cobranding', brandVariationName: 'variation', logoImgUrl: 'http://cobranding/logo', }, } render(<ToolbarHeader {...props} />) screen.getByRole('link', { name: 'variation' }) }) }) describe('pdf toggle button', function () { it('is not displayed by default', function () { render(<ToolbarHeader {...defaultProps} />) expect(screen.queryByText('PDF')).to.not.exist }) it('is displayed when "pdfButtonIsVisible" prop is set to true', function () { const props = { ...defaultProps, pdfButtonIsVisible: true, } render(<ToolbarHeader {...props} />) screen.getByText('PDF') }) }) describe('track changes toggle button', function () { it('is displayed by default', function () { render(<ToolbarHeader {...defaultProps} />) screen.getByText('Review') }) it('is not displayed when "isRestrictedTokenMember" prop is set to true', function () { const props = { ...defaultProps, isRestrictedTokenMember: true, } render(<ToolbarHeader {...props} />) expect(screen.queryByText('Review')).to.not.exist }) }) describe('History toggle button', function () { it('is displayed by default', function () { render(<ToolbarHeader {...defaultProps} />) screen.getByText('History') }) it('is not displayed when "isRestrictedTokenMember" prop is set to true', function () { const props = { ...defaultProps, isRestrictedTokenMember: true, } render(<ToolbarHeader {...props} />) expect(screen.queryByText('History')).to.not.exist }) }) describe('Chat toggle button', function () { it('is displayed by default', function () { render(<ToolbarHeader {...defaultProps} />) screen.getByText('Chat') }) it('is not displayed when "isRestrictedTokenMember" prop is set to true', function () { const props = { ...defaultProps, isRestrictedTokenMember: true, } render(<ToolbarHeader {...props} />) expect(screen.queryByText('Chat')).to.not.exist }) }) describe('Publish button', function () { it('is displayed by default', function () { render(<ToolbarHeader {...defaultProps} />) screen.getByText('Submit') }) it('is not displayed for users with no publish permissions', function () { const props = { ...defaultProps, hasPublishPermissions: false, } render(<ToolbarHeader {...props} />) expect(screen.queryByText('Submit')).to.not.exist }) }) })
overleaf/web/test/frontend/features/editor-navigation-toolbar/components/toolbar-header.test.js/0
{ "file_path": "overleaf/web/test/frontend/features/editor-navigation-toolbar/components/toolbar-header.test.js", "repo_id": "overleaf", "token_count": 1423 }
565
import { render } from '@testing-library/react' import FileTreeContext from '../../../../../frontend/js/features/file-tree/components/file-tree-context' export default (children, options = {}) => { let { contextProps = {}, ...renderOptions } = options contextProps = { projectId: '123abc', rootFolder: [ { docs: [], fileRefs: [], folders: [], }, ], hasWritePermissions: true, userHasFeature: () => true, refProviders: {}, reindexReferences: () => { console.log('reindex references') }, setRefProviderEnabled: provider => { console.log(`ref provider ${provider} enabled`) }, setStartedFreeTrial: () => { console.log('started free trial') }, onSelect: () => {}, ...contextProps, } return render( <FileTreeContext {...contextProps}>{children}</FileTreeContext>, renderOptions ) }
overleaf/web/test/frontend/features/file-tree/helpers/render-with-context.js/0
{ "file_path": "overleaf/web/test/frontend/features/file-tree/helpers/render-with-context.js", "repo_id": "overleaf", "token_count": 353 }
566
import { expect } from 'chai' import { screen, render } from '@testing-library/react' import PreviewLogsToggleButton from '../../../../../frontend/js/features/preview/components/preview-logs-toggle-button' describe('<PreviewLogsToggleButton />', function () { function renderPreviewLogsToggleButton( logsState, onToggleLogs, showLogs, showText = false, autoCompileLintingError = false, compileFailed = false ) { render( <PreviewLogsToggleButton logsState={logsState} onToggle={onToggleLogs} showLogs={showLogs} showText={showText} autoCompileLintingError={autoCompileLintingError} compileFailed={compileFailed} /> ) } describe('basic toggle functionality', function () { const logsState = { nErrors: 0, nWarnings: 0, } const onToggleLogs = () => {} it('should render a view logs button when previewing the PDF', function () { const showLogs = false renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText('View logs') }) it('should render a view PDF button when viewing logs', function () { const showLogs = true renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText('View PDF') }) }) describe('compile status indicator', function () { const showLogs = false const onToggleLogs = () => {} it('should render a view logs button by default', function () { const logsState = { nErrors: 0, nWarnings: 0, } renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText('View logs') }) it('should render the code check failed notice', function () { const logsState = { nErrors: 1, nWarnings: 0, } renderPreviewLogsToggleButton( logsState, onToggleLogs, showLogs, false, true ) screen.getByText('Code check failed') }) it('should render an error status message without a count when there is a single error', function () { const logsState = { nErrors: 1, nWarnings: 0, } renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText('This project has an error') }) it('should render an error status message with a count when there are multiple errors', function () { const logsState = { nErrors: 10, nWarnings: 0, } renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText(`This project has errors (${logsState.nErrors})`) }) it('should render an error status message when there are both errors and warnings', function () { const logsState = { nErrors: 1, nWarnings: 1, } renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText('This project has an error') }) it('should render a warning status message without a count when there is a single warning and no errors', function () { const logsState = { nErrors: 0, nWarnings: 1, } renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText('View warning') }) it('should render a warning status message with a count when there are multiple warnings and no errors', function () { const logsState = { nErrors: 0, nWarnings: 10, } renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText(`View warnings (${logsState.nWarnings})`) }) it('should render 99+ errors when there are more than 99 errors', function () { const logsState = { nErrors: 100, nWarnings: 0, } renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs) screen.getByText('This project has errors (99+)') }) it('should show the button text when prop showText=true', function () { const logsState = { nErrors: 0, nWarnings: 0, } const showText = true renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs, showText) expect(screen.getByText('View logs').getAttribute('style')).to.be.null }) it('should not show the button text when prop showText=false', function () { const logsState = { nErrors: 0, nWarnings: 0, } const showText = false renderPreviewLogsToggleButton(logsState, onToggleLogs, showLogs, showText) expect(screen.getByText('View logs').getAttribute('style')).to.equal( 'position: absolute; right: -100vw;' ) }) }) })
overleaf/web/test/frontend/features/preview/components/preview-logs-toggle-button.test.js/0
{ "file_path": "overleaf/web/test/frontend/features/preview/components/preview-logs-toggle-button.test.js", "repo_id": "overleaf", "token_count": 1906 }
567
import PropTypes from 'prop-types' import { expect } from 'chai' import { render } from '@testing-library/react' import useExpandCollapse from '../../../../frontend/js/shared/hooks/use-expand-collapse' const sampleContent = ( <div> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> <p>Maecenas maximus ultrices sollicitudin.</p> <p>Praesent mollis arcu eget molestie viverra.</p> <p>Pellentesque eget molestie nisl, non hendrerit lectus.</p> </div> ) const originalScrollHeight = Object.getOwnPropertyDescriptor( HTMLElement.prototype, 'offsetHeight' ) const originalScrollWidth = Object.getOwnPropertyDescriptor( HTMLElement.prototype, 'offsetWidth' ) function ExpandCollapseTestUI({ expandCollapseArgs }) { const { expandableProps } = useExpandCollapse(expandCollapseArgs) return ( <> <div {...expandableProps}>{sampleContent}</div> </> ) } ExpandCollapseTestUI.propTypes = { expandCollapseArgs: PropTypes.object, } describe('useExpandCollapse', function () { // JSDom doesn't compute layout/sizing, so we need to simulate sizing for the elements // Here we are simulating that the content is bigger than the `collapsedSize`, so // the expand-collapse widget is used beforeEach(function () { Object.defineProperty(HTMLElement.prototype, 'scrollHeight', { configurable: true, value: 500, }) Object.defineProperty(HTMLElement.prototype, 'scrollWidth', { configurable: true, value: 500, }) }) afterEach(function () { Object.defineProperty( HTMLElement.prototype, 'scrollHeight', originalScrollHeight ) Object.defineProperty( HTMLElement.prototype, 'scrollWidth', originalScrollWidth ) }) describe('custom CSS classes', function () { it('supports a custom CSS class', function () { const testArgs = { classes: { container: 'my-custom-class', }, } const { container } = render( <ExpandCollapseTestUI expandCollapseArgs={testArgs} /> ) const elWithCustomCSSClass = container.querySelector('div') expect(elWithCustomCSSClass).to.exist }) it('supports an extra custom CSS class for the collapsed state', function () { const testArgs = { classes: { containerCollapsed: 'my-custom-collapsed-class', }, } const { container } = render( <ExpandCollapseTestUI expandCollapseArgs={testArgs} /> ) const elWithCustomCollapsedCSSClass = container.querySelector( '.my-custom-collapsed-class' ) expect(elWithCustomCollapsedCSSClass).to.exist }) it('ignores the collapsed CSS class when expanded', function () { const testArgs = { initiallyExpanded: true, classes: { containerCollapsed: 'my-custom-collapsed-class', }, } const { container } = render( <ExpandCollapseTestUI expandCollapseArgs={testArgs} /> ) const elWithCustomCollapsedCSSClass = container.querySelector( '.my-custom-collapsed-class' ) expect(elWithCustomCollapsedCSSClass).to.not.exist }) }) describe('height and width support via dimension argument', function () { it('defaults to height', function () { const { container } = render(<ExpandCollapseTestUI />) const expandCollapseEl = container.firstChild expect(expandCollapseEl.style.height).to.not.be.empty expect(expandCollapseEl.style.width).to.be.empty }) it('supports width', function () { const testArgs = { dimension: 'width', } const { container } = render( <ExpandCollapseTestUI expandCollapseArgs={testArgs} /> ) const expandCollapseEl = container.firstChild expect(expandCollapseEl.style.height).to.be.empty expect(expandCollapseEl.style.width).to.not.be.empty }) }) describe('collapsed size support via collapsedSize argument', function () { it('defaults to 0px', function () { const { container } = render(<ExpandCollapseTestUI />) const expandCollapseEl = container.firstChild expect(expandCollapseEl.style.height).to.equal('0px') }) it('supports a custom collapsed size', function () { const testArgs = { collapsedSize: 200, } const { container } = render( <ExpandCollapseTestUI expandCollapseArgs={testArgs} /> ) const expandCollapseEl = container.firstChild expect(expandCollapseEl.style.height).to.equal('200px') }) it('supports a custom collapsed size for width', function () { const testArgs = { collapsedSize: 200, dimension: 'width', } const { container } = render( <ExpandCollapseTestUI expandCollapseArgs={testArgs} /> ) const expandCollapseEl = container.firstChild expect(expandCollapseEl.style.height).to.be.empty expect(expandCollapseEl.style.width).to.equal('200px') }) }) })
overleaf/web/test/frontend/shared/hooks/use-expand-collapse.test.js/0
{ "file_path": "overleaf/web/test/frontend/shared/hooks/use-expand-collapse.test.js", "repo_id": "overleaf", "token_count": 1921 }
568
const { Agent } = require('http') const { createConnection } = require('net') const { promisify } = require('util') const OError = require('@overleaf/o-error') const request = require('request') const Settings = require('@overleaf/settings') // send requests to web router if this is the api process const OWN_PORT = Settings.port || Settings.internal.web.port || 3000 const PORT = (Settings.web && Settings.web.web_router_port) || OWN_PORT // like the curl option `--resolve DOMAIN:PORT:127.0.0.1` class LocalhostAgent extends Agent { createConnection(options, callback) { return createConnection(PORT, '127.0.0.1', callback) } } // degrade the 'HttpOnly; Secure;' flags of the cookie class InsecureCookieJar extends request.jar().constructor { setCookie(...args) { const cookie = super.setCookie(...args) cookie.secure = false cookie.httpOnly = false return cookie } } function requestFactory({ timeout }) { return promisify( request.defaults({ agent: new LocalhostAgent(), baseUrl: `http://smoke${Settings.cookieDomain}`, headers: { // emulate the header of a https proxy // express wont emit a 'Secure;' cookie on a plain-text connection. 'X-Forwarded-Proto': 'https', }, jar: new InsecureCookieJar(), timeout, }) ) } function assertHasStatusCode(response, expected) { const { statusCode: actual } = response if (actual !== expected) { throw new OError('unexpected response code', { url: response.request.uri.href, actual, expected, }) } } module.exports = { assertHasStatusCode, requestFactory, }
overleaf/web/test/smoke/src/support/requestHelper.js/0
{ "file_path": "overleaf/web/test/smoke/src/support/requestHelper.js", "repo_id": "overleaf", "token_count": 564 }
569
const Path = require('path') const SandboxedModule = require('sandboxed-module') const sinon = require('sinon') const { expect } = require('chai') const { ObjectId } = require('mongodb') const { Project } = require('../helpers/models/Project') const Errors = require('../../../../app/src/Features/Errors/Errors') const MODULE_PATH = Path.join( __dirname, '../../../../app/src/Features/Collaborators/CollaboratorsGetter' ) describe('CollaboratorsGetter', function () { beforeEach(function () { this.userId = 'mock-user-id' this.ownerRef = ObjectId() this.readOnlyRef1 = ObjectId() this.readOnlyRef2 = ObjectId() this.readWriteRef1 = ObjectId() this.readWriteRef2 = ObjectId() this.readOnlyTokenRef = ObjectId() this.readWriteTokenRef = ObjectId() this.nonMemberRef = ObjectId() this.project = { _id: ObjectId(), owner_ref: [this.ownerRef], readOnly_refs: [this.readOnlyRef1, this.readOnlyRef2], collaberator_refs: [this.readWriteRef1, this.readWriteRef2], tokenAccessReadAndWrite_refs: [this.readWriteTokenRef], tokenAccessReadOnly_refs: [this.readOnlyTokenRef], publicAccesLevel: 'tokenBased', } this.UserGetter = { promises: { getUser: sinon.stub().resolves(null), }, } this.ProjectMock = sinon.mock(Project) this.ProjectGetter = { promises: { getProject: sinon.stub().resolves(this.project), }, } this.ProjectEditorHandler = { buildOwnerAndMembersViews: sinon.stub(), } this.CollaboratorsGetter = SandboxedModule.require(MODULE_PATH, { requires: { mongodb: { ObjectId }, '../User/UserGetter': this.UserGetter, '../../models/Project': { Project }, '../Project/ProjectGetter': this.ProjectGetter, '../Project/ProjectEditorHandler': this.ProjectEditorHandler, }, }) }) afterEach(function () { this.ProjectMock.verify() }) describe('getMemberIdsWithPrivilegeLevels', function () { describe('with project', function () { it('should return an array of member ids with their privilege levels', async function () { const result = await this.CollaboratorsGetter.promises.getMemberIdsWithPrivilegeLevels( this.project._id ) expect(result).to.have.deep.members([ { id: this.ownerRef.toString(), privilegeLevel: 'owner', source: 'owner', }, { id: this.readWriteRef1.toString(), privilegeLevel: 'readAndWrite', source: 'invite', }, { id: this.readWriteRef2.toString(), privilegeLevel: 'readAndWrite', source: 'invite', }, { id: this.readOnlyRef1.toString(), privilegeLevel: 'readOnly', source: 'invite', }, { id: this.readOnlyRef2.toString(), privilegeLevel: 'readOnly', source: 'invite', }, { id: this.readOnlyTokenRef.toString(), privilegeLevel: 'readOnly', source: 'token', }, { id: this.readWriteTokenRef.toString(), privilegeLevel: 'readAndWrite', source: 'token', }, ]) }) }) describe('with a missing project', function () { beforeEach(function () { this.ProjectGetter.promises.getProject.resolves(null) }) it('should return a NotFoundError', async function () { await expect( this.CollaboratorsGetter.promises.getMemberIdsWithPrivilegeLevels( this.project._id ) ).to.be.rejectedWith(Errors.NotFoundError) }) }) }) describe('getMemberIds', function () { it('should return the ids', async function () { const memberIds = await this.CollaboratorsGetter.promises.getMemberIds( this.project._id ) expect(memberIds).to.have.members([ this.ownerRef.toString(), this.readOnlyRef1.toString(), this.readOnlyRef2.toString(), this.readWriteRef1.toString(), this.readWriteRef2.toString(), this.readWriteTokenRef.toString(), this.readOnlyTokenRef.toString(), ]) }) }) describe('getInvitedMemberIds', function () { it('should return the invited ids', async function () { const memberIds = await this.CollaboratorsGetter.promises.getInvitedMemberIds( this.project._id ) expect(memberIds).to.have.members([ this.ownerRef.toString(), this.readOnlyRef1.toString(), this.readOnlyRef2.toString(), this.readWriteRef1.toString(), this.readWriteRef2.toString(), ]) }) }) describe('getInvitedMembersWithPrivilegeLevels', function () { beforeEach(function () { this.UserGetter.promises.getUser .withArgs(this.readOnlyRef1.toString()) .resolves({ _id: this.readOnlyRef1 }) this.UserGetter.promises.getUser .withArgs(this.readOnlyTokenRef.toString()) .resolves({ _id: this.readOnlyTokenRef }) this.UserGetter.promises.getUser .withArgs(this.readWriteRef2.toString()) .resolves({ _id: this.readWriteRef2 }) this.UserGetter.promises.getUser .withArgs(this.readWriteTokenRef.toString()) .resolves({ _id: this.readWriteTokenRef }) }) it('should return an array of invited members with their privilege levels', async function () { const result = await this.CollaboratorsGetter.promises.getInvitedMembersWithPrivilegeLevels( this.project._id ) expect(result).to.have.deep.members([ { user: { _id: this.readOnlyRef1 }, privilegeLevel: 'readOnly' }, { user: { _id: this.readWriteRef2 }, privilegeLevel: 'readAndWrite' }, ]) }) }) describe('getMemberIdPrivilegeLevel', function () { it('should return the privilege level if it exists', async function () { const level = await this.CollaboratorsGetter.promises.getMemberIdPrivilegeLevel( this.readOnlyRef1, this.project._id ) expect(level).to.equal('readOnly') }) it('should return false if the member has no privilege level', async function () { const level = await this.CollaboratorsGetter.promises.getMemberIdPrivilegeLevel( this.nonMemberRef, this.project._id ) expect(level).to.equal(false) }) }) describe('isUserInvitedMemberOfProject', function () { describe('when user is a member of the project', function () { it('should return true and the privilegeLevel', async function () { const isMember = await this.CollaboratorsGetter.promises.isUserInvitedMemberOfProject( this.readOnlyRef1 ) expect(isMember).to.equal(true) }) }) describe('when user is not a member of the project', function () { it('should return false', async function () { const isMember = await this.CollaboratorsGetter.promises.isUserInvitedMemberOfProject( this.nonMemberRef ) expect(isMember).to.equal(false) }) }) }) describe('getProjectsUserIsMemberOf', function () { beforeEach(function () { this.fields = 'mock fields' this.ProjectMock.expects('find') .withArgs({ collaberator_refs: this.userId }, this.fields) .chain('exec') .resolves(['mock-read-write-project-1', 'mock-read-write-project-2']) this.ProjectMock.expects('find') .withArgs({ readOnly_refs: this.userId }, this.fields) .chain('exec') .resolves(['mock-read-only-project-1', 'mock-read-only-project-2']) this.ProjectMock.expects('find') .withArgs( { tokenAccessReadAndWrite_refs: this.userId, publicAccesLevel: 'tokenBased', }, this.fields ) .chain('exec') .resolves([ 'mock-token-read-write-project-1', 'mock-token-read-write-project-2', ]) this.ProjectMock.expects('find') .withArgs( { tokenAccessReadOnly_refs: this.userId, publicAccesLevel: 'tokenBased', }, this.fields ) .chain('exec') .resolves([ 'mock-token-read-only-project-1', 'mock-token-read-only-project-2', ]) }) it('should call the callback with the projects', async function () { const projects = await this.CollaboratorsGetter.promises.getProjectsUserIsMemberOf( this.userId, this.fields ) expect(projects).to.deep.equal({ readAndWrite: [ 'mock-read-write-project-1', 'mock-read-write-project-2', ], readOnly: ['mock-read-only-project-1', 'mock-read-only-project-2'], tokenReadAndWrite: [ 'mock-token-read-write-project-1', 'mock-token-read-write-project-2', ], tokenReadOnly: [ 'mock-token-read-only-project-1', 'mock-token-read-only-project-2', ], }) }) }) describe('getAllInvitedMembers', function () { beforeEach(async function () { this.owningUser = { _id: this.ownerRef, email: 'owner@example.com', features: { a: 1 }, } this.readWriteUser = { _id: this.readWriteRef1, email: 'readwrite@example.com', } this.members = [ { user: this.owningUser, privilegeLevel: 'owner' }, { user: this.readWriteUser, privilegeLevel: 'readAndWrite' }, ] this.views = { owner: this.owningUser, ownerFeatures: this.owningUser.features, members: [ { _id: this.readWriteUser._id, email: this.readWriteUser.email }, ], } this.UserGetter.promises.getUser .withArgs(this.owningUser._id.toString()) .resolves(this.owningUser) this.UserGetter.promises.getUser .withArgs(this.readWriteUser._id.toString()) .resolves(this.readWriteUser) this.ProjectEditorHandler.buildOwnerAndMembersViews.returns(this.views) this.result = await this.CollaboratorsGetter.promises.getAllInvitedMembers( this.project._id ) }) it('should produce a list of members', function () { expect(this.result).to.deep.equal(this.views.members) }) it('should call ProjectEditorHandler.buildOwnerAndMembersViews', function () { expect(this.ProjectEditorHandler.buildOwnerAndMembersViews).to.have.been .calledOnce expect( this.ProjectEditorHandler.buildOwnerAndMembersViews ).to.have.been.calledWith(this.members) }) }) describe('userIsTokenMember', function () { it('should return true when the project is found', async function () { this.ProjectMock.expects('findOne').chain('exec').resolves(this.project) const isMember = await this.CollaboratorsGetter.promises.userIsTokenMember( this.userId, this.project._id ) expect(isMember).to.be.true }) it('should return false when the project is not found', async function () { this.ProjectMock.expects('findOne').chain('exec').resolves(null) const isMember = await this.CollaboratorsGetter.promises.userIsTokenMember( this.userId, this.project._id ) expect(isMember).to.be.false }) }) })
overleaf/web/test/unit/src/Collaborators/CollaboratorsGetterTests.js/0
{ "file_path": "overleaf/web/test/unit/src/Collaborators/CollaboratorsGetterTests.js", "repo_id": "overleaf", "token_count": 5004 }
570
const sinon = require('sinon') const SandboxedModule = require('sandboxed-module') const path = require('path') const { ObjectId } = require('mongodb') const modulePath = path.join( __dirname, '../../../../app/src/Features/DocumentUpdater/DocumentUpdaterHandler' ) describe('DocumentUpdaterHandler', function () { beforeEach(function () { this.project_id = 'project-id-923' this.projectHistoryId = 'ol-project-id-1' this.doc_id = 'doc-id-394' this.lines = ['one', 'two', 'three'] this.version = 42 this.user_id = 'mock-user-id-123' this.project = { _id: this.project_id } this.request = sinon.stub() this.projectEntityHandler = {} this.settings = { apis: { documentupdater: { url: 'http://document_updater.example.com', }, project_history: { url: 'http://project_history.example.com', }, }, } this.callback = sinon.stub() this.handler = SandboxedModule.require(modulePath, { requires: { request: { defaults: () => { return this.request }, }, '@overleaf/settings': this.settings, '../Project/ProjectEntityHandler': this.projectEntityHandler, '../../models/Project': { Project: (this.Project = {}), }, '../../Features/Project/ProjectLocator': {}, '@overleaf/metrics': { Timer: class { done() {} }, }, }, }) }) describe('flushProjectToMongo', function () { describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 204 }, '') this.handler.flushProjectToMongo(this.project_id, this.callback) }) it('should flush the document from the document updater', function () { this.request .calledWithMatch({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/flush`, method: 'POST', }) .should.equal(true) }) it('should call the callback with no error', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.flushProjectToMongo(this.project_id, this.callback) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.flushProjectToMongo(this.project_id, this.callback) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('flushProjectToMongoAndDelete', function () { describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 204 }, '') this.handler.flushProjectToMongoAndDelete( this.project_id, this.callback ) }) it('should delete the project from the document updater', function () { this.request .calledWithMatch({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}`, method: 'DELETE', }) .should.equal(true) }) it('should call the callback with no error', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.flushProjectToMongoAndDelete( this.project_id, this.callback ) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.flushProjectToMongoAndDelete( this.project_id, this.callback ) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('flushDocToMongo', function () { describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 204 }, '') this.handler.flushDocToMongo( this.project_id, this.doc_id, this.callback ) }) it('should flush the document from the document updater', function () { this.request .calledWithMatch({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/doc/${this.doc_id}/flush`, method: 'POST', }) .should.equal(true) }) it('should call the callback with no error', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.flushDocToMongo( this.project_id, this.doc_id, this.callback ) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.flushDocToMongo( this.project_id, this.doc_id, this.callback ) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('deleteDoc', function () { describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 204 }, '') this.handler.deleteDoc(this.project_id, this.doc_id, this.callback) }) it('should delete the document from the document updater', function () { this.request .calledWithMatch({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/doc/${this.doc_id}`, method: 'DELETE', }) .should.equal(true) }) it('should call the callback with no error', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.deleteDoc(this.project_id, this.doc_id, this.callback) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.deleteDoc(this.project_id, this.doc_id, this.callback) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('setDocument', function () { beforeEach(function () { this.source = 'dropbox' }) describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 204 }, '') this.handler.setDocument( this.project_id, this.doc_id, this.user_id, this.lines, this.source, this.callback ) }) it('should set the document in the document updater', function () { this.request .calledWith({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/doc/${this.doc_id}`, json: { lines: this.lines, source: this.source, user_id: this.user_id, }, method: 'POST', }) .should.equal(true) }) it('should call the callback with no error', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.setDocument( this.project_id, this.doc_id, this.user_id, this.lines, this.source, this.callback ) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.setDocument( this.project_id, this.doc_id, this.user_id, this.lines, this.source, this.callback ) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('getDocument', function () { describe('successfully', function () { beforeEach(function () { this.body = { lines: this.lines, version: this.version, ops: (this.ops = ['mock-op-1', 'mock-op-2']), ranges: (this.ranges = { mock: 'ranges' }), } this.fromVersion = 2 this.request.callsArgWith(1, null, { statusCode: 200 }, this.body) this.handler.getDocument( this.project_id, this.doc_id, this.fromVersion, this.callback ) }) it('should get the document from the document updater', function () { this.request .calledWith({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/doc/${this.doc_id}?fromVersion=${this.fromVersion}`, method: 'GET', json: true, }) .should.equal(true) }) it('should call the callback with the lines and version', function () { this.callback .calledWith(null, this.lines, this.version, this.ranges, this.ops) .should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.getDocument( this.project_id, this.doc_id, this.fromVersion, this.callback ) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.getDocument( this.project_id, this.doc_id, this.fromVersion, this.callback ) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('getProjectDocsIfMatch', function () { beforeEach(function () { this.project_state_hash = '1234567890abcdef' }) describe('successfully', function () { beforeEach(function () { this.doc0 = { _id: this.doc_id, lines: this.lines, v: this.version, } this.docs = [this.doc0, this.doc0, this.doc0] this.body = JSON.stringify(this.docs) this.request.post = sinon .stub() .callsArgWith(1, null, { statusCode: 200 }, this.body) this.handler.getProjectDocsIfMatch( this.project_id, this.project_state_hash, this.callback ) }) it('should get the documents from the document updater', function () { const url = `${this.settings.apis.documentupdater.url}/project/${this.project_id}/get_and_flush_if_old?state=${this.project_state_hash}` this.request.post.calledWith(url).should.equal(true) }) it('should call the callback with the documents', function () { this.callback.calledWithExactly(null, this.docs).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.post = sinon .stub() .callsArgWith(1, new Error('something went wrong'), null, null) this.handler.getProjectDocsIfMatch( this.project_id, this.project_state_hash, this.callback ) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a conflict error code', function () { beforeEach(function () { this.request.post = sinon .stub() .callsArgWith(1, null, { statusCode: 409 }, 'Conflict') this.handler.getProjectDocsIfMatch( this.project_id, this.project_state_hash, this.callback ) }) it('should return the callback with no documents', function () { this.callback.alwaysCalledWithExactly().should.equal(true) }) }) }) describe('clearProjectState', function () { describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 200 }) this.handler.clearProjectState(this.project_id, this.callback) }) it('should clear the project state from the document updater', function () { this.request .calledWithMatch({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/clearState`, method: 'POST', }) .should.equal(true) }) it('should call the callback', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.clearProjectState(this.project_id, this.callback) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns an error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, null) this.handler.clearProjectState(this.project_id, this.callback) }) it('should return the callback with no documents', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('acceptChanges', function () { beforeEach(function () { this.change_id = 'mock-change-id-1' }) describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 200 }, this.body) this.handler.acceptChanges( this.project_id, this.doc_id, [this.change_id], this.callback ) }) it('should accept the change in the document updater', function () { this.request .calledWith({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/doc/${this.doc_id}/change/accept`, json: { change_ids: [this.change_id], }, method: 'POST', }) .should.equal(true) }) it('should call the callback', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.acceptChanges( this.project_id, this.doc_id, [this.change_id], this.callback ) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.acceptChanges( this.project_id, this.doc_id, [this.change_id], this.callback ) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('deleteThread', function () { beforeEach(function () { this.thread_id = 'mock-thread-id-1' }) describe('successfully', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 200 }, this.body) this.handler.deleteThread( this.project_id, this.doc_id, this.thread_id, this.callback ) }) it('should delete the thread in the document updater', function () { this.request .calledWithMatch({ url: `${this.settings.apis.documentupdater.url}/project/${this.project_id}/doc/${this.doc_id}/comment/${this.thread_id}`, method: 'DELETE', }) .should.equal(true) }) it('should call the callback', function () { this.callback.calledWith(null).should.equal(true) }) }) describe('when the document updater API returns an error', function () { beforeEach(function () { this.request.callsArgWith( 1, new Error('something went wrong'), null, null ) this.handler.deleteThread( this.project_id, this.doc_id, this.thread_id, this.callback ) }) it('should return an error to the callback', function () { this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) }) }) describe('when the document updater returns a failure error code', function () { beforeEach(function () { this.request.callsArgWith(1, null, { statusCode: 500 }, '') this.handler.deleteThread( this.project_id, this.doc_id, this.thread_id, this.callback ) }) it('should return the callback with an error', function () { this.callback .calledWith( sinon.match .instanceOf(Error) .and( sinon.match.has( 'message', 'document updater returned a failure status code: 500' ) ) ) .should.equal(true) }) }) }) describe('updateProjectStructure ', function () { beforeEach(function () { this.user_id = 1234 this.version = 999 }) describe('with project history disabled', function () { beforeEach(function () { this.settings.apis.project_history.sendProjectStructureOps = false this.handler.updateProjectStructure( this.project_id, this.projectHistoryId, this.user_id, {}, this.callback ) }) it('does not make a web request', function () { this.request.called.should.equal(false) }) it('calls the callback', function () { this.callback.called.should.equal(true) }) }) describe('with project history enabled', function () { beforeEach(function () { this.settings.apis.project_history.sendProjectStructureOps = true this.url = `${this.settings.apis.documentupdater.url}/project/${this.project_id}` this.request.callsArgWith(1, null, { statusCode: 204 }, '') }) describe('when an entity has changed name', function () { it('should send the structure update to the document updater', function (done) { this.docIdA = new ObjectId() this.docIdB = new ObjectId() this.changes = { oldDocs: [ { path: '/old_a', doc: { _id: this.docIdA } }, { path: '/old_b', doc: { _id: this.docIdB } }, ], // create new instances of the same ObjectIds so that == doesn't pass newDocs: [ { path: '/old_a', doc: { _id: new ObjectId(this.docIdA.toString()) }, }, { path: '/new_b', doc: { _id: new ObjectId(this.docIdB.toString()) }, }, ], newProject: { version: this.version }, } const updates = [ { type: 'rename-doc', id: this.docIdB.toString(), pathname: '/old_b', newPathname: '/new_b', }, ] this.handler.updateProjectStructure( this.project_id, this.projectHistoryId, this.user_id, this.changes, () => { this.request .calledWith({ url: this.url, method: 'POST', json: { updates, userId: this.user_id, version: this.version, projectHistoryId: this.projectHistoryId, }, }) .should.equal(true) done() } ) }) }) describe('when a doc has been added', function () { it('should send the structure update to the document updater', function (done) { this.docId = new ObjectId() this.changes = { newDocs: [ { path: '/foo', docLines: 'a\nb', doc: { _id: this.docId } }, ], newProject: { version: this.version }, } const updates = [ { type: 'add-doc', id: this.docId.toString(), pathname: '/foo', docLines: 'a\nb', url: undefined, hash: undefined, }, ] this.handler.updateProjectStructure( this.project_id, this.projectHistoryId, this.user_id, this.changes, () => { this.request .calledWith({ url: this.url, method: 'POST', json: { updates, userId: this.user_id, version: this.version, projectHistoryId: this.projectHistoryId, }, }) .should.equal(true) done() } ) }) }) describe('when a file has been added', function () { it('should send the structure update to the document updater', function (done) { this.fileId = new ObjectId() this.changes = { newFiles: [ { path: '/bar', url: 'filestore.example.com/file', file: { _id: this.fileId, hash: '12345' }, }, ], newProject: { version: this.version }, } const updates = [ { type: 'add-file', id: this.fileId.toString(), pathname: '/bar', url: 'filestore.example.com/file', docLines: undefined, hash: '12345', }, ] this.handler.updateProjectStructure( this.project_id, this.projectHistoryId, this.user_id, this.changes, () => { this.request .calledWith({ url: this.url, method: 'POST', json: { updates, userId: this.user_id, version: this.version, projectHistoryId: this.projectHistoryId, }, }) .should.equal(true) done() } ) }) }) describe('when an entity has been deleted', function () { it('should end the structure update to the document updater', function (done) { this.docId = new ObjectId() this.changes = { oldDocs: [ { path: '/foo', docLines: 'a\nb', doc: { _id: this.docId } }, ], newProject: { version: this.version }, } const updates = [ { type: 'rename-doc', id: this.docId.toString(), pathname: '/foo', newPathname: '', }, ] this.handler.updateProjectStructure( this.project_id, this.projectHistoryId, this.user_id, this.changes, () => { this.request .calledWith({ url: this.url, method: 'POST', json: { updates, userId: this.user_id, version: this.version, projectHistoryId: this.projectHistoryId, }, }) .should.equal(true) done() } ) }) }) describe('when a file is converted to a doc', function () { it('should send the delete first', function (done) { this.docId = new ObjectId() this.fileId = new ObjectId() this.changes = { oldFiles: [ { path: '/foo.doc', url: 'filestore.example.com/file', file: { _id: this.fileId }, }, ], newDocs: [ { path: '/foo.doc', docLines: 'hello there', doc: { _id: this.docId }, }, ], newProject: { version: this.version }, } const updates = [ { type: 'rename-file', id: this.fileId.toString(), pathname: '/foo.doc', newPathname: '', }, { type: 'add-doc', id: this.docId.toString(), pathname: '/foo.doc', docLines: 'hello there', url: undefined, hash: undefined, }, ] this.handler.updateProjectStructure( this.project_id, this.projectHistoryId, this.user_id, this.changes, () => { this.request.should.have.been.calledWith({ url: this.url, method: 'POST', json: { updates, userId: this.user_id, version: this.version, projectHistoryId: this.projectHistoryId, }, }) done() } ) }) }) describe('when the project version is missing', function () { it('should call the callback with an error', function () { this.docId = new ObjectId() this.changes = { oldDocs: [ { path: '/foo', docLines: 'a\nb', doc: { _id: this.docId } }, ], } this.handler.updateProjectStructure( this.project_id, this.projectHistoryId, this.user_id, this.changes, this.callback ) this.callback .calledWith(sinon.match.instanceOf(Error)) .should.equal(true) const firstCallArgs = this.callback.args[0] firstCallArgs[0].message.should.equal( 'did not receive project version in changes' ) }) }) }) }) })
overleaf/web/test/unit/src/DocumentUpdater/DocumentUpdaterHandlerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/DocumentUpdater/DocumentUpdaterHandlerTests.js", "repo_id": "overleaf", "token_count": 16311 }
571
const { expect } = require('chai') const sinon = require('sinon') const SandboxedModule = require('sandboxed-module') const Errors = require('../../../../app/src/Features/Errors/Errors') const MODULE_PATH = '../../../../app/src/Features/FileStore/FileStoreController.js' describe('FileStoreController', function () { beforeEach(function () { this.FileStoreHandler = { getFileStream: sinon.stub(), getFileSize: sinon.stub(), } this.ProjectLocator = { findElement: sinon.stub() } this.controller = SandboxedModule.require(MODULE_PATH, { requires: { '@overleaf/settings': this.settings, '../Project/ProjectLocator': this.ProjectLocator, './FileStoreHandler': this.FileStoreHandler, }, }) this.stream = {} this.projectId = '2k3j1lk3j21lk3j' this.fileId = '12321kklj1lk3jk12' this.req = { params: { Project_id: this.projectId, File_id: this.fileId, }, query: 'query string here', get(key) { return undefined }, } this.res = { set: sinon.stub().returnsThis(), setHeader: sinon.stub(), setContentDisposition: sinon.stub(), status: sinon.stub().returnsThis(), } this.file = { name: 'myfile.png' } }) describe('getFile', function () { beforeEach(function () { this.FileStoreHandler.getFileStream.callsArgWith(3, null, this.stream) this.ProjectLocator.findElement.callsArgWith(1, null, this.file) }) it('should call the file store handler with the project_id file_id and any query string', function (done) { this.stream.pipe = des => { this.FileStoreHandler.getFileStream .calledWith( this.req.params.Project_id, this.req.params.File_id, this.req.query ) .should.equal(true) done() } this.controller.getFile(this.req, this.res) }) it('should pipe to res', function (done) { this.stream.pipe = des => { des.should.equal(this.res) done() } this.controller.getFile(this.req, this.res) }) it('should get the file from the db', function (done) { this.stream.pipe = des => { const opts = { project_id: this.projectId, element_id: this.fileId, type: 'file', } this.ProjectLocator.findElement.calledWith(opts).should.equal(true) done() } this.controller.getFile(this.req, this.res) }) it('should set the Content-Disposition header', function (done) { this.stream.pipe = des => { this.res.setContentDisposition .calledWith('attachment', { filename: this.file.name }) .should.equal(true) done() } this.controller.getFile(this.req, this.res) }) // Test behaviour around handling html files ;['.html', '.htm', '.xhtml'].forEach(extension => { describe(`with a '${extension}' file extension`, function () { beforeEach(function () { this.file.name = `bad${extension}` this.req.get = key => { if (key === 'User-Agent') { return 'A generic browser' } } }) describe('from a non-ios browser', function () { it('should not set Content-Type', function (done) { this.stream.pipe = des => { this.res.setHeader .calledWith('Content-Type', 'text/plain') .should.equal(false) done() } this.controller.getFile(this.req, this.res) }) }) describe('from an iPhone', function () { beforeEach(function () { this.req.get = key => { if (key === 'User-Agent') { return 'An iPhone browser' } } }) it("should set Content-Type to 'text/plain'", function (done) { this.stream.pipe = des => { this.res.setHeader .calledWith('Content-Type', 'text/plain') .should.equal(true) done() } this.controller.getFile(this.req, this.res) }) }) describe('from an iPad', function () { beforeEach(function () { this.req.get = key => { if (key === 'User-Agent') { return 'An iPad browser' } } }) it("should set Content-Type to 'text/plain'", function (done) { this.stream.pipe = des => { this.res.setHeader .calledWith('Content-Type', 'text/plain') .should.equal(true) done() } this.controller.getFile(this.req, this.res) }) }) }) }) ;[ // None of these should trigger the iOS/html logic ('x.html-is-rad', 'html.pdf', '.html-is-good-for-hidden-files', 'somefile'), ].forEach(filename => { describe(`with filename as '${filename}'`, function () { beforeEach(function () { this.user_agent = 'A generic browser' this.file.name = filename this.req.get = key => { if (key === 'User-Agent') { return this.user_agent } } }) ;[('iPhone', 'iPad', 'Firefox', 'Chrome')].forEach(browser => { describe(`downloaded from ${browser}`, function () { beforeEach(function () { this.user_agent = `Some ${browser} thing` }) it('Should not set the Content-type', function (done) { this.stream.pipe = des => { this.res.setHeader .calledWith('Content-Type', 'text/plain') .should.equal(false) done() } this.controller.getFile(this.req, this.res) }) }) }) }) }) }) describe('getFileHead', function () { it('reports the file size', function (done) { const expectedFileSize = 99393 this.FileStoreHandler.getFileSize.yields( new Error('getFileSize: unexpected arguments') ) this.FileStoreHandler.getFileSize .withArgs(this.projectId, this.fileId) .yields(null, expectedFileSize) this.res.end = () => { expect(this.res.status.lastCall.args).to.deep.equal([200]) expect(this.res.set.lastCall.args).to.deep.equal([ 'Content-Length', expectedFileSize, ]) done() } this.controller.getFileHead(this.req, this.res) }) it('returns 404 on NotFoundError', function (done) { this.FileStoreHandler.getFileSize.yields(new Errors.NotFoundError()) this.res.end = () => { expect(this.res.status.lastCall.args).to.deep.equal([404]) done() } this.controller.getFileHead(this.req, this.res) }) it('returns 500 on error', function (done) { this.FileStoreHandler.getFileSize.yields(new Error('boom!')) this.res.end = () => { expect(this.res.status.lastCall.args).to.deep.equal([500]) done() } this.controller.getFileHead(this.req, this.res) }) }) })
overleaf/web/test/unit/src/FileStore/FileStoreControllerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/FileStore/FileStoreControllerTests.js", "repo_id": "overleaf", "token_count": 3504 }
572
const SandboxedModule = require('sandboxed-module') const path = require('path') const sinon = require('sinon') const { expect } = require('chai') const modulePath = path.join( __dirname, '../../../../app/src/Features/Institutions/InstitutionsManager' ) const Features = require('../../../../app/src/infrastructure/Features') describe('InstitutionsManager', function () { beforeEach(function () { this.institutionId = 123 this.user = {} this.getInstitutionAffiliations = sinon.stub() this.refreshFeatures = sinon.stub().yields() this.users = [ { _id: 'lapsed', features: {} }, { _id: '1a', features: {} }, { _id: '2b', features: {} }, { _id: '3c', features: {} }, ] this.ssoUsers = [ { _id: '1a', samlIdentifiers: [{ providerId: this.institutionId.toString() }], }, { _id: '2b', samlIdentifiers: [ { providerId: this.institutionId.toString(), hasEntitlement: true, }, ], }, { _id: 'lapsed', samlIdentifiers: [{ providerId: this.institutionId.toString() }], hasEntitlement: true, }, ] this.UserGetter = { getUsersByAnyConfirmedEmail: sinon.stub().yields(), getUser: sinon.stub().callsArgWith(1, null, this.user), promises: { getUsers: sinon.stub().resolves(this.users), getUsersByAnyConfirmedEmail: sinon.stub().resolves(), getSsoUsersAtInstitution: (this.getSsoUsersAtInstitution = sinon .stub() .resolves(this.ssoUsers)), }, } this.creator = { create: sinon.stub().callsArg(0) } this.NotificationsBuilder = { featuresUpgradedByAffiliation: sinon.stub().returns(this.creator), redundantPersonalSubscription: sinon.stub().returns(this.creator), } this.SubscriptionLocator = { getUsersSubscription: sinon.stub().callsArg(1), } this.institutionWithV1Data = { name: 'Wombat University' } this.institution = { fetchV1Data: sinon .stub() .callsArgWith(0, null, this.institutionWithV1Data), } this.InstitutionModel = { Institution: { findOne: sinon.stub().callsArgWith(1, null, this.institution), }, } this.subscriptionExec = sinon.stub().yields() const SubscriptionModel = { Subscription: { find: () => ({ populate: () => ({ exec: this.subscriptionExec, }), }), }, } this.Mongo = { ObjectId: sinon.stub().returnsArg(0) } this.v1Counts = { user_ids: this.users.map(user => user._id), current_users_count: 3, lapsed_user_ids: ['lapsed'], entitled_via_sso: 1, // 2 entitled, but 1 lapsed with_confirmed_email: 2, // 1 non entitled SSO + 1 email user } this.InstitutionsManager = SandboxedModule.require(modulePath, { requires: { './InstitutionsAPI': { getInstitutionAffiliations: this.getInstitutionAffiliations, promises: { getInstitutionAffiliations: (this.getInstitutionAffiliationsPromise = sinon .stub() .resolves(this.affiliations)), getInstitutionAffiliationsCounts: (this.getInstitutionAffiliationsCounts = sinon .stub() .resolves(this.v1Counts)), }, }, '../Subscription/FeaturesUpdater': { refreshFeatures: this.refreshFeatures, isFeatureSetBetter: (this.isFeatureSetBetter = sinon.stub()), }, '../User/UserGetter': this.UserGetter, '../Notifications/NotificationsBuilder': this.NotificationsBuilder, '../Subscription/SubscriptionLocator': this.SubscriptionLocator, '../../models/Institution': this.InstitutionModel, '../../models/Subscription': SubscriptionModel, mongodb: this.Mongo, }, }) }) describe('refreshInstitutionUsers', function () { beforeEach(function () { this.user1Id = '123abc123abc123abc123abc' this.user2Id = '456def456def456def456def' this.affiliations = [{ user_id: this.user1Id }, { user_id: this.user2Id }] this.user1 = { _id: this.user1Id } this.user2 = { _id: this.user2Id } this.subscription = { planCode: 'pro', groupPlan: false, } this.UserGetter.getUser .withArgs(this.user1Id) .callsArgWith(1, null, this.user1) this.UserGetter.getUser .withArgs(this.user2Id) .callsArgWith(1, null, this.user2) this.SubscriptionLocator.getUsersSubscription .withArgs(this.user2) .callsArgWith(1, null, this.subscription) this.refreshFeatures.withArgs(this.user1Id).yields(null, {}, true) this.getInstitutionAffiliations.yields(null, this.affiliations) }) it('refresh all users Features', function (done) { this.InstitutionsManager.refreshInstitutionUsers( this.institutionId, false, error => { expect(error).not.to.exist sinon.assert.calledTwice(this.refreshFeatures) // expect no notifications sinon.assert.notCalled( this.NotificationsBuilder.featuresUpgradedByAffiliation ) sinon.assert.notCalled( this.NotificationsBuilder.redundantPersonalSubscription ) done() } ) }) it('notifies users if their features have been upgraded', function (done) { this.InstitutionsManager.refreshInstitutionUsers( this.institutionId, true, error => { expect(error).not.to.exist sinon.assert.calledOnce( this.NotificationsBuilder.featuresUpgradedByAffiliation ) sinon.assert.calledWith( this.NotificationsBuilder.featuresUpgradedByAffiliation, this.affiliations[0], this.user1 ) done() } ) }) it('notifies users if they have a subscription that should be cancelled', function (done) { this.InstitutionsManager.refreshInstitutionUsers( this.institutionId, true, error => { expect(error).not.to.exist sinon.assert.calledOnce( this.NotificationsBuilder.redundantPersonalSubscription ) sinon.assert.calledWith( this.NotificationsBuilder.redundantPersonalSubscription, this.affiliations[1], this.user2 ) done() } ) }) }) describe('checkInstitutionUsers', function () { it('returns entitled/not, sso/not, lapsed/current, and pro counts', async function () { if (Features.hasFeature('saas')) { this.isFeatureSetBetter.returns(true) const usersSummary = await this.InstitutionsManager.promises.checkInstitutionUsers( this.institutionId ) expect(usersSummary).to.deep.equal({ emailUsers: { total: 1, current: 1, lapsed: 0, pro: { current: 1, // isFeatureSetBetter stubbed to return true for all lapsed: 0, }, nonPro: { current: 0, lapsed: 0, }, }, ssoUsers: { total: 3, lapsed: 1, current: { entitled: 1, notEntitled: 1, }, pro: { current: 2, lapsed: 1, // isFeatureSetBetter stubbed to return true for all users }, nonPro: { current: 0, lapsed: 0, }, }, }) } }) it('includes withConfirmedEmailMismatch when v1 and v2 counts do not add up', async function () { if (Features.hasFeature('saas')) { this.isFeatureSetBetter.returns(true) this.v1Counts.with_confirmed_email = 100 const usersSummary = await this.InstitutionsManager.promises.checkInstitutionUsers( this.institutionId ) expect(usersSummary).to.deep.equal({ emailUsers: { total: 1, current: 1, lapsed: 0, pro: { current: 1, // isFeatureSetBetter stubbed to return true for all lapsed: 0, }, nonPro: { current: 0, lapsed: 0, }, }, ssoUsers: { total: 3, lapsed: 1, current: { entitled: 1, notEntitled: 1, }, pro: { current: 2, lapsed: 1, // isFeatureSetBetter stubbed to return true for all users }, nonPro: { current: 0, lapsed: 0, }, }, databaseMismatch: { withConfirmedEmail: { v1: 100, v2: 2, }, }, }) } }) }) describe('getInstitutionUsersSubscriptions', function () { it('returns all institution users subscriptions', function (done) { const stubbedUsers = [ { user_id: '123abc123abc123abc123abc' }, { user_id: '456def456def456def456def' }, { user_id: '789def789def789def789def' }, ] this.getInstitutionAffiliations.yields(null, stubbedUsers) this.InstitutionsManager.getInstitutionUsersSubscriptions( this.institutionId, (error, subscriptions) => { expect(error).not.to.exist sinon.assert.calledOnce(this.subscriptionExec) done() } ) }) }) })
overleaf/web/test/unit/src/Institutions/InstitutionsManagerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/Institutions/InstitutionsManagerTests.js", "repo_id": "overleaf", "token_count": 4699 }
573
const SandboxedModule = require('sandboxed-module') const sinon = require('sinon') const { expect } = require('chai') const { ObjectId } = require('mongodb') const Errors = require('../../../../app/src/Features/Errors/Errors') const ProjectHelper = require('../../../../app/src/Features/Project/ProjectHelper') const MODULE_PATH = '../../../../app/src/Features/Project/ProjectDetailsHandler' describe('ProjectDetailsHandler', function () { beforeEach(function () { this.user = { _id: ObjectId(), email: 'user@example.com', features: 'mock-features', } this.collaborator = { _id: ObjectId(), email: 'collaborator@example.com', } this.project = { _id: ObjectId(), name: 'project', description: 'this is a great project', something: 'should not exist', compiler: 'latexxxxxx', owner_ref: this.user._id, collaberator_refs: [this.collaborator._id], } this.ProjectGetter = { promises: { getProjectWithoutDocLines: sinon.stub().resolves(this.project), getProject: sinon.stub().resolves(this.project), findAllUsersProjects: sinon.stub().resolves({ owned: [], readAndWrite: [], readOnly: [], tokenReadAndWrite: [], tokenReadOnly: [], }), }, } this.ProjectModelUpdateQuery = { exec: sinon.stub().resolves(), } this.ProjectModel = { updateOne: sinon.stub().returns(this.ProjectModelUpdateQuery), } this.UserGetter = { promises: { getUser: sinon.stub().resolves(this.user), }, } this.TpdsUpdateSender = { promises: { moveEntity: sinon.stub().resolves(), }, } this.TokenGenerator = { readAndWriteToken: sinon.stub(), promises: { generateUniqueReadOnlyToken: sinon.stub(), }, } this.settings = { defaultFeatures: 'default-features', } this.handler = SandboxedModule.require(MODULE_PATH, { requires: { './ProjectHelper': ProjectHelper, './ProjectGetter': this.ProjectGetter, '../../models/Project': { Project: this.ProjectModel, }, '../User/UserGetter': this.UserGetter, '../ThirdPartyDataStore/TpdsUpdateSender': this.TpdsUpdateSender, '../TokenGenerator/TokenGenerator': this.TokenGenerator, '@overleaf/settings': this.settings, }, }) }) describe('getDetails', function () { it('should find the project and owner', async function () { const details = await this.handler.promises.getDetails(this.project._id) details.name.should.equal(this.project.name) details.description.should.equal(this.project.description) details.compiler.should.equal(this.project.compiler) details.features.should.equal(this.user.features) expect(details.something).to.be.undefined }) it('should find overleaf metadata if it exists', async function () { this.project.overleaf = { id: 'id' } const details = await this.handler.promises.getDetails(this.project._id) details.overleaf.should.equal(this.project.overleaf) expect(details.something).to.be.undefined }) it('should return an error for a non-existent project', async function () { this.ProjectGetter.promises.getProject.resolves(null) await expect( this.handler.promises.getDetails('0123456789012345678901234') ).to.be.rejectedWith(Errors.NotFoundError) }) it('should return the default features if no owner found', async function () { this.UserGetter.promises.getUser.resolves(null) const details = await this.handler.promises.getDetails(this.project._id) details.features.should.equal(this.settings.defaultFeatures) }) it('should rethrow any error', async function () { this.ProjectGetter.promises.getProject.rejects(new Error('boom')) await expect(this.handler.promises.getDetails(this.project._id)).to.be .rejected }) }) describe('getProjectDescription', function () { it('should make a call to mongo just for the description', async function () { this.ProjectGetter.promises.getProject.resolves() await this.handler.promises.getProjectDescription(this.project._id) expect( this.ProjectGetter.promises.getProject ).to.have.been.calledWith(this.project._id, { description: true }) }) it('should return what the mongo call returns', async function () { const expectedDescription = 'cool project' this.ProjectGetter.promises.getProject.resolves({ description: expectedDescription, }) const description = await this.handler.promises.getProjectDescription( this.project._id ) expect(description).to.equal(expectedDescription) }) }) describe('setProjectDescription', function () { beforeEach(function () { this.description = 'updated teh description' }) it('should update the project detials', async function () { await this.handler.promises.setProjectDescription( this.project._id, this.description ) expect(this.ProjectModel.updateOne).to.have.been.calledWith( { _id: this.project._id }, { description: this.description } ) }) }) describe('renameProject', function () { beforeEach(function () { this.newName = 'new name here' }) it('should update the project with the new name', async function () { await this.handler.promises.renameProject(this.project._id, this.newName) expect(this.ProjectModel.updateOne).to.have.been.calledWith( { _id: this.project._id }, { name: this.newName } ) }) it('should tell the TpdsUpdateSender', async function () { await this.handler.promises.renameProject(this.project._id, this.newName) expect(this.TpdsUpdateSender.promises.moveEntity).to.have.been.calledWith( { project_id: this.project._id, project_name: this.project.name, newProjectName: this.newName, } ) }) it('should not do anything with an invalid name', async function () { await expect(this.handler.promises.renameProject(this.project._id)).to.be .rejected expect(this.TpdsUpdateSender.promises.moveEntity).not.to.have.been.called expect(this.ProjectModel.updateOne).not.to.have.been.called }) }) describe('validateProjectName', function () { it('should reject undefined names', async function () { await expect(this.handler.promises.validateProjectName(undefined)).to.be .rejected }) it('should reject empty names', async function () { await expect(this.handler.promises.validateProjectName('')).to.be.rejected }) it('should reject names with /s', async function () { await expect(this.handler.promises.validateProjectName('foo/bar')).to.be .rejected }) it('should reject names with \\s', async function () { await expect(this.handler.promises.validateProjectName('foo\\bar')).to.be .rejected }) it('should reject long names', async function () { await expect(this.handler.promises.validateProjectName('a'.repeat(1000))) .to.be.rejected }) it('should accept normal names', async function () { await expect(this.handler.promises.validateProjectName('foobar')).to.be .fulfilled }) }) describe('generateUniqueName', function () { // actually testing `ProjectHelper.promises.ensureNameIsUnique()` beforeEach(function () { this.longName = 'x'.repeat(this.handler.MAX_PROJECT_NAME_LENGTH - 5) const usersProjects = { owned: [ { _id: 1, name: 'name' }, { _id: 2, name: 'name1' }, { _id: 3, name: 'name11' }, { _id: 100, name: 'numeric' }, { _id: 101, name: 'numeric (1)' }, { _id: 102, name: 'numeric (2)' }, { _id: 103, name: 'numeric (3)' }, { _id: 104, name: 'numeric (4)' }, { _id: 105, name: 'numeric (5)' }, { _id: 106, name: 'numeric (6)' }, { _id: 107, name: 'numeric (7)' }, { _id: 108, name: 'numeric (8)' }, { _id: 109, name: 'numeric (9)' }, { _id: 110, name: 'numeric (10)' }, { _id: 111, name: 'numeric (11)' }, { _id: 112, name: 'numeric (12)' }, { _id: 113, name: 'numeric (13)' }, { _id: 114, name: 'numeric (14)' }, { _id: 115, name: 'numeric (15)' }, { _id: 116, name: 'numeric (16)' }, { _id: 117, name: 'numeric (17)' }, { _id: 118, name: 'numeric (18)' }, { _id: 119, name: 'numeric (19)' }, { _id: 120, name: 'numeric (20)' }, { _id: 130, name: 'numeric (30)' }, { _id: 131, name: 'numeric (31)' }, { _id: 132, name: 'numeric (32)' }, { _id: 133, name: 'numeric (33)' }, { _id: 134, name: 'numeric (34)' }, { _id: 135, name: 'numeric (35)' }, { _id: 136, name: 'numeric (36)' }, { _id: 137, name: 'numeric (37)' }, { _id: 138, name: 'numeric (38)' }, { _id: 139, name: 'numeric (39)' }, { _id: 140, name: 'numeric (40)' }, { _id: 141, name: 'Yearbook (2021)' }, { _id: 142, name: 'Yearbook (2021) (1)' }, ], readAndWrite: [ { _id: 4, name: 'name2' }, { _id: 5, name: 'name22' }, ], readOnly: [ { _id: 6, name: 'name3' }, { _id: 7, name: 'name33' }, ], tokenReadAndWrite: [ { _id: 8, name: 'name4' }, { _id: 9, name: 'name44' }, ], tokenReadOnly: [ { _id: 10, name: 'name5' }, { _id: 11, name: 'name55' }, { _id: 12, name: this.longName }, ], } this.ProjectGetter.promises.findAllUsersProjects.resolves(usersProjects) }) it('should leave a unique name unchanged', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'unique-name', ['-test-suffix'] ) expect(name).to.equal('unique-name') }) it('should append a suffix to an existing name', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'name1', ['-test-suffix'] ) expect(name).to.equal('name1-test-suffix') }) it('should fallback to a second suffix when needed', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'name1', ['1', '-test-suffix'] ) expect(name).to.equal('name1-test-suffix') }) it('should truncate the name when append a suffix if the result is too long', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, this.longName, ['-test-suffix'] ) expect(name).to.equal( this.longName.substr(0, this.handler.MAX_PROJECT_NAME_LENGTH - 12) + '-test-suffix' ) }) it('should use a numeric index if no suffix is supplied', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'name1', [] ) expect(name).to.equal('name1 (1)') }) it('should use a numeric index if all suffixes are exhausted', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'name', ['1', '11'] ) expect(name).to.equal('name (1)') }) it('should find the next lowest available numeric index for the base name', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'numeric', [] ) expect(name).to.equal('numeric (21)') }) it('should find the next available numeric index when a numeric index is already present', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'numeric (5)', [] ) expect(name).to.equal('numeric (21)') }) it('should not find a numeric index lower than the one already present', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'numeric (31)', [] ) expect(name).to.equal('numeric (41)') }) it('should handle years in name', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'unique-name (2021)', [] ) expect(name).to.equal('unique-name (2021)') }) it('should handle duplicating with year in name', async function () { const name = await this.handler.promises.generateUniqueName( this.user._id, 'Yearbook (2021)', [] ) expect(name).to.equal('Yearbook (2021) (2)') }) }) describe('fixProjectName', function () { it('should change empty names to Untitled', function () { expect(this.handler.fixProjectName('')).to.equal('Untitled') }) it('should replace / with -', function () { expect(this.handler.fixProjectName('foo/bar')).to.equal('foo-bar') }) it("should replace \\ with ''", function () { expect(this.handler.fixProjectName('foo \\ bar')).to.equal('foo bar') }) it('should truncate long names', function () { expect(this.handler.fixProjectName('a'.repeat(1000))).to.equal( 'a'.repeat(150) ) }) it('should accept normal names', function () { expect(this.handler.fixProjectName('foobar')).to.equal('foobar') }) }) describe('setPublicAccessLevel', function () { beforeEach(function () { this.accessLevel = 'readOnly' }) it('should update the project with the new level', async function () { await this.handler.promises.setPublicAccessLevel( this.project._id, this.accessLevel ) expect(this.ProjectModel.updateOne).to.have.been.calledWith( { _id: this.project._id }, { publicAccesLevel: this.accessLevel } ) }) it('should not produce an error', async function () { await expect( this.handler.promises.setPublicAccessLevel( this.project._id, this.accessLevel ) ).to.be.fulfilled }) describe('when update produces an error', function () { beforeEach(function () { this.ProjectModelUpdateQuery.exec.rejects(new Error('woops')) }) it('should produce an error', async function () { await expect( this.handler.promises.setPublicAccessLevel( this.project._id, this.accessLevel ) ).to.be.rejected }) }) }) describe('ensureTokensArePresent', function () { describe('when the project has tokens', function () { beforeEach(function () { this.project = { _id: this.project._id, tokens: { readOnly: 'aaa', readAndWrite: '42bbb', readAndWritePrefix: '42', }, } this.ProjectGetter.promises.getProject.resolves(this.project) }) it('should get the project', async function () { await this.handler.promises.ensureTokensArePresent(this.project._id) expect(this.ProjectGetter.promises.getProject).to.have.been.calledOnce expect(this.ProjectGetter.promises.getProject).to.have.been.calledWith( this.project._id, { tokens: 1, } ) }) it('should not update the project with new tokens', async function () { await this.handler.promises.ensureTokensArePresent(this.project._id) expect(this.ProjectModel.updateOne).not.to.have.been.called }) it('should produce the tokens without error', async function () { const tokens = await this.handler.promises.ensureTokensArePresent( this.project._id ) expect(tokens).to.deep.equal(this.project.tokens) }) }) describe('when tokens are missing', function () { beforeEach(function () { this.project = { _id: this.project._id } this.ProjectGetter.promises.getProject.resolves(this.project) this.readOnlyToken = 'abc' this.readAndWriteToken = '42def' this.readAndWriteTokenPrefix = '42' this.TokenGenerator.promises.generateUniqueReadOnlyToken.resolves( this.readOnlyToken ) this.TokenGenerator.readAndWriteToken.returns({ token: this.readAndWriteToken, numericPrefix: this.readAndWriteTokenPrefix, }) }) it('should get the project', async function () { await this.handler.promises.ensureTokensArePresent(this.project._id) expect(this.ProjectGetter.promises.getProject).to.have.been.calledOnce expect(this.ProjectGetter.promises.getProject).to.have.been.calledWith( this.project._id, { tokens: 1, } ) }) it('should update the project with new tokens', async function () { await this.handler.promises.ensureTokensArePresent(this.project._id) expect(this.TokenGenerator.promises.generateUniqueReadOnlyToken).to.have .been.calledOnce expect(this.TokenGenerator.readAndWriteToken).to.have.been.calledOnce expect(this.ProjectModel.updateOne).to.have.been.calledOnce expect(this.ProjectModel.updateOne).to.have.been.calledWith( { _id: this.project._id }, { $set: { tokens: { readOnly: this.readOnlyToken, readAndWrite: this.readAndWriteToken, readAndWritePrefix: this.readAndWriteTokenPrefix, }, }, } ) }) it('should produce the tokens without error', async function () { const tokens = await this.handler.promises.ensureTokensArePresent( this.project._id ) expect(tokens).to.deep.equal({ readOnly: this.readOnlyToken, readAndWrite: this.readAndWriteToken, readAndWritePrefix: this.readAndWriteTokenPrefix, }) }) }) }) describe('clearTokens', function () { it('clears the tokens from the project', async function () { await this.handler.promises.clearTokens(this.project._id) expect(this.ProjectModel.updateOne).to.have.been.calledWith( { _id: this.project._id }, { $unset: { tokens: 1 }, $set: { publicAccesLevel: 'private' } } ) }) }) })
overleaf/web/test/unit/src/Project/ProjectDetailsHandlerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/Project/ProjectDetailsHandlerTests.js", "repo_id": "overleaf", "token_count": 8029 }
574
const SandboxedModule = require('sandboxed-module') const modulePath = require('path').join( __dirname, '../../../../app/src/Features/Referal/ReferalConnect.js' ) describe('Referal connect middle wear', function () { beforeEach(function () { this.connect = SandboxedModule.require(modulePath, {}) }) it('should take a referal query string and put it on the session if it exists', function (done) { const req = { query: { referal: '12345' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_id.should.equal(req.query.referal) done() }) }) it('should not change the referal_id on the session if not in query', function (done) { const req = { query: {}, session: { referal_id: 'same' }, } this.connect.use(req, {}, () => { req.session.referal_id.should.equal('same') done() }) }) it('should take a facebook referal query string and put it on the session if it exists', function (done) { const req = { query: { fb_ref: '12345' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_id.should.equal(req.query.fb_ref) done() }) }) it('should map the facebook medium into the session', function (done) { const req = { query: { rm: 'fb' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_medium.should.equal('facebook') done() }) }) it('should map the twitter medium into the session', function (done) { const req = { query: { rm: 't' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_medium.should.equal('twitter') done() }) }) it('should map the google plus medium into the session', function (done) { const req = { query: { rm: 'gp' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_medium.should.equal('google_plus') done() }) }) it('should map the email medium into the session', function (done) { const req = { query: { rm: 'e' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_medium.should.equal('email') done() }) }) it('should map the direct medium into the session', function (done) { const req = { query: { rm: 'd' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_medium.should.equal('direct') done() }) }) it('should map the bonus source into the session', function (done) { const req = { query: { rs: 'b' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_source.should.equal('bonus') done() }) }) it('should map the public share source into the session', function (done) { const req = { query: { rs: 'ps' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_source.should.equal('public_share') done() }) }) it('should map the collaborator invite into the session', function (done) { const req = { query: { rs: 'ci' }, session: {}, } this.connect.use(req, {}, () => { req.session.referal_source.should.equal('collaborator_invite') done() }) }) })
overleaf/web/test/unit/src/Referal/ReferalConnectTests.js/0
{ "file_path": "overleaf/web/test/unit/src/Referal/ReferalConnectTests.js", "repo_id": "overleaf", "token_count": 1369 }
575
const SandboxedModule = require('sandboxed-module') const sinon = require('sinon') const modulePath = require('path').join( __dirname, '../../../../app/src/Features/Subscription/LimitationsManager' ) describe('LimitationsManager', function () { beforeEach(function () { this.project = { _id: (this.projectId = 'project-id') } this.user = { _id: (this.userId = 'user-id'), features: {} } this.ProjectGetter = { getProject: (projectId, fields, callback) => { if (projectId === this.projectId) { callback(null, this.project) } else { callback(null, null) } }, } this.UserGetter = { getUser: (userId, filter, callback) => { if (userId === this.userId) { callback(null, this.user) } else { callback(null, null) } }, } this.SubscriptionLocator = { getUsersSubscription: sinon.stub(), getSubscription: sinon.stub(), } this.LimitationsManager = SandboxedModule.require(modulePath, { requires: { '../Project/ProjectGetter': this.ProjectGetter, '../User/UserGetter': this.UserGetter, './SubscriptionLocator': this.SubscriptionLocator, '@overleaf/settings': (this.Settings = {}), '../Collaborators/CollaboratorsGetter': (this.CollaboratorsGetter = {}), '../Collaborators/CollaboratorsInviteHandler': (this.CollaboratorsInviteHandler = {}), './V1SubscriptionManager': (this.V1SubscriptionManager = {}), }, }) }) describe('allowedNumberOfCollaboratorsInProject', function () { describe('when the project is owned by a user without a subscription', function () { beforeEach(function () { this.Settings.defaultFeatures = { collaborators: 23 } this.project.owner_ref = this.userId delete this.user.features this.callback = sinon.stub() this.LimitationsManager.allowedNumberOfCollaboratorsInProject( this.projectId, this.callback ) }) it('should return the default number', function () { this.callback .calledWith(null, this.Settings.defaultFeatures.collaborators) .should.equal(true) }) }) describe('when the project is owned by a user with a subscription', function () { beforeEach(function () { this.project.owner_ref = this.userId this.user.features = { collaborators: 21 } this.callback = sinon.stub() this.LimitationsManager.allowedNumberOfCollaboratorsInProject( this.projectId, this.callback ) }) it('should return the number of collaborators the user is allowed', function () { this.callback .calledWith(null, this.user.features.collaborators) .should.equal(true) }) }) }) describe('allowedNumberOfCollaboratorsForUser', function () { describe('when the user has no features', function () { beforeEach(function () { this.Settings.defaultFeatures = { collaborators: 23 } delete this.user.features this.callback = sinon.stub() this.LimitationsManager.allowedNumberOfCollaboratorsForUser( this.userId, this.callback ) }) it('should return the default number', function () { this.callback .calledWith(null, this.Settings.defaultFeatures.collaborators) .should.equal(true) }) }) describe('when the user has features', function () { beforeEach(function () { this.user.features = { collaborators: 21 } this.callback = sinon.stub() this.LimitationsManager.allowedNumberOfCollaboratorsForUser( this.userId, this.callback ) }) it('should return the number of collaborators the user is allowed', function () { this.callback .calledWith(null, this.user.features.collaborators) .should.equal(true) }) }) }) describe('canAddXCollaborators', function () { describe('when the project has fewer collaborators than allowed', function () { beforeEach(function () { this.current_number = 1 this.allowed_number = 2 this.invite_count = 0 this.CollaboratorsGetter.getInvitedCollaboratorCount = ( projectId, callback ) => callback(null, this.current_number) this.CollaboratorsInviteHandler.getInviteCount = ( projectId, callback ) => callback(null, this.invite_count) sinon .stub( this.LimitationsManager, 'allowedNumberOfCollaboratorsInProject' ) .callsFake((projectId, callback) => { callback(null, this.allowed_number) }) this.callback = sinon.stub() this.LimitationsManager.canAddXCollaborators( this.projectId, 1, this.callback ) }) it('should return true', function () { this.callback.calledWith(null, true).should.equal(true) }) }) describe('when the project has fewer collaborators and invites than allowed', function () { beforeEach(function () { this.current_number = 1 this.allowed_number = 4 this.invite_count = 1 this.CollaboratorsGetter.getInvitedCollaboratorCount = ( projectId, callback ) => callback(null, this.current_number) this.CollaboratorsInviteHandler.getInviteCount = ( projectId, callback ) => callback(null, this.invite_count) sinon .stub( this.LimitationsManager, 'allowedNumberOfCollaboratorsInProject' ) .callsFake((projectId, callback) => { callback(null, this.allowed_number) }) this.callback = sinon.stub() this.LimitationsManager.canAddXCollaborators( this.projectId, 1, this.callback ) }) it('should return true', function () { this.callback.calledWith(null, true).should.equal(true) }) }) describe('when the project has fewer collaborators than allowed but I want to add more than allowed', function () { beforeEach(function () { this.current_number = 1 this.allowed_number = 2 this.invite_count = 0 this.CollaboratorsGetter.getInvitedCollaboratorCount = ( projectId, callback ) => callback(null, this.current_number) this.CollaboratorsInviteHandler.getInviteCount = ( projectId, callback ) => callback(null, this.invite_count) sinon .stub( this.LimitationsManager, 'allowedNumberOfCollaboratorsInProject' ) .callsFake((projectId, callback) => { callback(null, this.allowed_number) }) this.callback = sinon.stub() this.LimitationsManager.canAddXCollaborators( this.projectId, 2, this.callback ) }) it('should return false', function () { this.callback.calledWith(null, false).should.equal(true) }) }) describe('when the project has more collaborators than allowed', function () { beforeEach(function () { this.current_number = 3 this.allowed_number = 2 this.invite_count = 0 this.CollaboratorsGetter.getInvitedCollaboratorCount = ( projectId, callback ) => callback(null, this.current_number) this.CollaboratorsInviteHandler.getInviteCount = ( projectId, callback ) => callback(null, this.invite_count) sinon .stub( this.LimitationsManager, 'allowedNumberOfCollaboratorsInProject' ) .callsFake((projectId, callback) => { callback(null, this.allowed_number) }) this.callback = sinon.stub() this.LimitationsManager.canAddXCollaborators( this.projectId, 1, this.callback ) }) it('should return false', function () { this.callback.calledWith(null, false).should.equal(true) }) }) describe('when the project has infinite collaborators', function () { beforeEach(function () { this.current_number = 100 this.allowed_number = -1 this.invite_count = 0 this.CollaboratorsGetter.getInvitedCollaboratorCount = ( projectId, callback ) => callback(null, this.current_number) this.CollaboratorsInviteHandler.getInviteCount = ( projectId, callback ) => callback(null, this.invite_count) sinon .stub( this.LimitationsManager, 'allowedNumberOfCollaboratorsInProject' ) .callsFake((projectId, callback) => { callback(null, this.allowed_number) }) this.callback = sinon.stub() this.LimitationsManager.canAddXCollaborators( this.projectId, 1, this.callback ) }) it('should return true', function () { this.callback.calledWith(null, true).should.equal(true) }) }) describe('when the project has more invites than allowed', function () { beforeEach(function () { this.current_number = 0 this.allowed_number = 2 this.invite_count = 2 this.CollaboratorsGetter.getInvitedCollaboratorCount = ( projectId, callback ) => callback(null, this.current_number) this.CollaboratorsInviteHandler.getInviteCount = ( projectId, callback ) => callback(null, this.invite_count) sinon .stub( this.LimitationsManager, 'allowedNumberOfCollaboratorsInProject' ) .callsFake((projectId, callback) => { callback(null, this.allowed_number) }) this.callback = sinon.stub() this.LimitationsManager.canAddXCollaborators( this.projectId, 1, this.callback ) }) it('should return false', function () { this.callback.calledWith(null, false).should.equal(true) }) }) describe('when the project has more invites and collaborators than allowed', function () { beforeEach(function () { this.current_number = 1 this.allowed_number = 2 this.invite_count = 1 this.CollaboratorsGetter.getInvitedCollaboratorCount = ( projectId, callback ) => callback(null, this.current_number) this.CollaboratorsInviteHandler.getInviteCount = ( projectId, callback ) => callback(null, this.invite_count) sinon .stub( this.LimitationsManager, 'allowedNumberOfCollaboratorsInProject' ) .callsFake((projectId, callback) => { callback(null, this.allowed_number) }) this.callback = sinon.stub() this.LimitationsManager.canAddXCollaborators( this.projectId, 1, this.callback ) }) it('should return false', function () { this.callback.calledWith(null, false).should.equal(true) }) }) }) describe('userHasV2Subscription', function () { beforeEach(function () { this.SubscriptionLocator.getUsersSubscription = sinon.stub() }) it('should return true if the recurly token is set', function (done) { this.SubscriptionLocator.getUsersSubscription.callsArgWith(1, null, { recurlySubscription_id: '1234', }) this.LimitationsManager.userHasV2Subscription( this.user, (err, hasSubscription) => { hasSubscription.should.equal(true) done() } ) }) it('should return false if the recurly token is not set', function (done) { this.SubscriptionLocator.getUsersSubscription.callsArgWith(1, null, {}) this.subscription = {} this.LimitationsManager.userHasV2Subscription( this.user, (err, hasSubscription) => { hasSubscription.should.equal(false) done() } ) }) it('should return false if the subscription is undefined', function (done) { this.SubscriptionLocator.getUsersSubscription.callsArgWith(1) this.LimitationsManager.userHasV2Subscription( this.user, (err, hasSubscription) => { hasSubscription.should.equal(false) done() } ) }) it('should return the subscription', function (done) { const stubbedSubscription = { freeTrial: {}, token: '' } this.SubscriptionLocator.getUsersSubscription.callsArgWith( 1, null, stubbedSubscription ) this.LimitationsManager.userHasV2Subscription( this.user, (err, hasSubOrIsGroupMember, subscription) => { subscription.should.deep.equal(stubbedSubscription) done() } ) }) describe('when user has a custom account', function () { beforeEach(function () { this.fakeSubscription = { customAccount: true } this.SubscriptionLocator.getUsersSubscription.callsArgWith( 1, null, this.fakeSubscription ) }) it('should return true', function (done) { this.LimitationsManager.userHasV2Subscription( this.user, (err, hasSubscription, subscription) => { hasSubscription.should.equal(true) done() } ) }) it('should return the subscription', function (done) { this.LimitationsManager.userHasV2Subscription( this.user, (err, hasSubscription, subscription) => { subscription.should.deep.equal(this.fakeSubscription) done() } ) }) }) }) describe('userIsMemberOfGroupSubscription', function () { beforeEach(function () { this.SubscriptionLocator.getMemberSubscriptions = sinon.stub() }) it('should return false if there are no groups subcriptions', function (done) { this.SubscriptionLocator.getMemberSubscriptions.callsArgWith(1, null, []) this.LimitationsManager.userIsMemberOfGroupSubscription( this.user, (err, isMember) => { isMember.should.equal(false) done() } ) }) it('should return true if there are no groups subcriptions', function (done) { let subscriptions this.SubscriptionLocator.getMemberSubscriptions.callsArgWith( 1, null, (subscriptions = ['mock-subscription']) ) this.LimitationsManager.userIsMemberOfGroupSubscription( this.user, (err, isMember, retSubscriptions) => { isMember.should.equal(true) retSubscriptions.should.equal(subscriptions) done() } ) }) }) describe('hasPaidSubscription', function () { beforeEach(function () { this.LimitationsManager.userIsMemberOfGroupSubscription = sinon .stub() .yields(null, false) this.LimitationsManager.userHasV2Subscription = sinon .stub() .yields(null, false) this.LimitationsManager.userHasV1Subscription = sinon .stub() .yields(null, false) }) it('should return true if userIsMemberOfGroupSubscription', function (done) { this.LimitationsManager.userIsMemberOfGroupSubscription = sinon .stub() .yields(null, true) this.LimitationsManager.hasPaidSubscription( this.user, (err, hasSubOrIsGroupMember) => { hasSubOrIsGroupMember.should.equal(true) done() } ) }) it('should return true if userHasV2Subscription', function (done) { this.LimitationsManager.userHasV2Subscription = sinon .stub() .yields(null, true) this.LimitationsManager.hasPaidSubscription( this.user, (err, hasSubOrIsGroupMember) => { hasSubOrIsGroupMember.should.equal(true) done() } ) }) it('should return true if userHasV1Subscription', function (done) { this.LimitationsManager.userHasV1Subscription = sinon .stub() .yields(null, true) this.LimitationsManager.hasPaidSubscription( this.user, (err, hasSubOrIsGroupMember) => { hasSubOrIsGroupMember.should.equal(true) done() } ) }) it('should return false if none are true', function (done) { this.LimitationsManager.hasPaidSubscription( this.user, (err, hasSubOrIsGroupMember) => { hasSubOrIsGroupMember.should.equal(false) done() } ) }) it('should have userHasSubscriptionOrIsGroupMember alias', function (done) { this.LimitationsManager.userHasSubscriptionOrIsGroupMember( this.user, (err, hasSubOrIsGroupMember) => { hasSubOrIsGroupMember.should.equal(false) done() } ) }) }) describe('userHasV1OrV2Subscription', function () { beforeEach(function () { this.LimitationsManager.userHasV2Subscription = sinon .stub() .yields(null, false) this.LimitationsManager.userHasV1Subscription = sinon .stub() .yields(null, false) }) it('should return true if userHasV2Subscription', function (done) { this.LimitationsManager.userHasV2Subscription = sinon .stub() .yields(null, true) this.LimitationsManager.userHasV1OrV2Subscription( this.user, (err, hasSub) => { hasSub.should.equal(true) done() } ) }) it('should return true if userHasV1Subscription', function (done) { this.LimitationsManager.userHasV1Subscription = sinon .stub() .yields(null, true) this.LimitationsManager.userHasV1OrV2Subscription( this.user, (err, hasSub) => { hasSub.should.equal(true) done() } ) }) it('should return false if none are true', function (done) { this.LimitationsManager.userHasV1OrV2Subscription( this.user, (err, hasSub) => { hasSub.should.equal(false) done() } ) }) }) describe('hasGroupMembersLimitReached', function () { beforeEach(function () { this.subscriptionId = '12312' this.subscription = { membersLimit: 3, member_ids: ['', ''], teamInvites: [ { email: 'bob@example.com', sentAt: new Date(), token: 'hey' }, ], } }) it('should return true if the limit is hit (including members and invites)', function (done) { this.SubscriptionLocator.getSubscription.callsArgWith( 1, null, this.subscription ) this.LimitationsManager.hasGroupMembersLimitReached( this.subscriptionId, (err, limitReached) => { limitReached.should.equal(true) done() } ) }) it('should return false if the limit is not hit (including members and invites)', function (done) { this.subscription.membersLimit = 4 this.SubscriptionLocator.getSubscription.callsArgWith( 1, null, this.subscription ) this.LimitationsManager.hasGroupMembersLimitReached( this.subscriptionId, (err, limitReached) => { limitReached.should.equal(false) done() } ) }) it('should return true if the limit has been exceded (including members and invites)', function (done) { this.subscription.membersLimit = 2 this.SubscriptionLocator.getSubscription.callsArgWith( 1, null, this.subscription ) this.LimitationsManager.hasGroupMembersLimitReached( this.subscriptionId, (err, limitReached) => { limitReached.should.equal(true) done() } ) }) }) describe('userHasV1Subscription', function () { it('should return true if v1 returns has_subscription = true', function (done) { this.V1SubscriptionManager.getSubscriptionsFromV1 = sinon .stub() .yields(null, { has_subscription: true }) this.LimitationsManager.userHasV1Subscription( this.user, (error, result) => { this.V1SubscriptionManager.getSubscriptionsFromV1 .calledWith(this.userId) .should.equal(true) result.should.equal(true) done() } ) }) it('should return false if v1 returns has_subscription = false', function (done) { this.V1SubscriptionManager.getSubscriptionsFromV1 = sinon .stub() .yields(null, { has_subscription: false }) this.LimitationsManager.userHasV1Subscription( this.user, (error, result) => { this.V1SubscriptionManager.getSubscriptionsFromV1 .calledWith(this.userId) .should.equal(true) result.should.equal(false) done() } ) }) it('should return false if v1 returns nothing', function (done) { this.V1SubscriptionManager.getSubscriptionsFromV1 = sinon .stub() .yields(null, null) this.LimitationsManager.userHasV1Subscription( this.user, (error, result) => { this.V1SubscriptionManager.getSubscriptionsFromV1 .calledWith(this.userId) .should.equal(true) result.should.equal(false) done() } ) }) }) })
overleaf/web/test/unit/src/Subscription/LimitationsManagerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/Subscription/LimitationsManagerTests.js", "repo_id": "overleaf", "token_count": 9774 }
576
/* eslint-disable camelcase, max-len, no-return-assign, no-unused-vars, */ // TODO: This file was created by bulk-decaffeinate. // Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ const SandboxedModule = require('sandboxed-module') const assert = require('assert') const sinon = require('sinon') const modulePath = require('path').join( __dirname, '../../../../app/src/Features/Tags/TagsController.js' ) describe('TagsController', function () { const userId = '123nd3ijdks' const projectId = '123njdskj9jlk' const tag = 'some_class101' beforeEach(function () { this.handler = { addProjectToTag: sinon.stub().callsArgWith(3), removeProjectFromTag: sinon.stub().callsArgWith(3), deleteTag: sinon.stub().callsArg(2), renameTag: sinon.stub().callsArg(3), createTag: sinon.stub(), } this.SessionManager = { getLoggedInUserId: session => { return session.user._id }, } this.controller = SandboxedModule.require(modulePath, { requires: { './TagsHandler': this.handler, '../Authentication/SessionManager': this.SessionManager, }, }) this.req = { params: { projectId, }, session: { user: { _id: userId, }, }, } this.res = {} this.res.status = sinon.stub().returns(this.res) this.res.end = sinon.stub() return (this.res.json = sinon.stub()) }) describe('getAllTags', function () { it('should ask the handler for all tags', function (done) { const allTags = [{ name: 'tag', projects: ['123423', '423423'] }] this.handler.getAllTags = sinon.stub().callsArgWith(1, null, allTags) return this.controller.getAllTags(this.req, { json: body => { body.should.equal(allTags) this.handler.getAllTags.calledWith(userId).should.equal(true) return done() }, }) }) }) describe('createTag', function () { beforeEach(function () { this.handler.createTag.callsArgWith(2, null, (this.tag = { mock: 'tag' })) this.req.session.user._id = this.userId = 'user-id-123' this.req.body = { name: (this.name = 'tag-name') } return this.controller.createTag(this.req, this.res) }) it('should create the tag in the backend', function () { return this.handler.createTag .calledWith(this.userId, this.name) .should.equal(true) }) it('should return the tag', function () { return this.res.json.calledWith(this.tag).should.equal(true) }) }) describe('deleteTag', function () { beforeEach(function () { this.req.params.tagId = this.tagId = 'tag-id-123' this.req.session.user._id = this.userId = 'user-id-123' return this.controller.deleteTag(this.req, this.res) }) it('should delete the tag in the backend', function () { return this.handler.deleteTag .calledWith(this.userId, this.tagId) .should.equal(true) }) it('should return 204 status code', function () { this.res.status.calledWith(204).should.equal(true) return this.res.end.called.should.equal(true) }) }) describe('renameTag', function () { beforeEach(function () { this.req.params.tagId = this.tagId = 'tag-id-123' return (this.req.session.user._id = this.userId = 'user-id-123') }) describe('with a name', function () { beforeEach(function () { this.req.body = { name: (this.name = 'new-name') } return this.controller.renameTag(this.req, this.res) }) it('should delete the tag in the backend', function () { return this.handler.renameTag .calledWith(this.userId, this.tagId, this.name) .should.equal(true) }) it('should return 204 status code', function () { this.res.status.calledWith(204).should.equal(true) return this.res.end.called.should.equal(true) }) }) describe('without a name', function () { beforeEach(function () { return this.controller.renameTag(this.req, this.res) }) it('should not call the backend', function () { return this.handler.renameTag.called.should.equal(false) }) it('should return 400 (bad request) status code', function () { this.res.status.calledWith(400).should.equal(true) return this.res.end.called.should.equal(true) }) }) }) describe('addProjectToTag', function () { beforeEach(function () { this.req.params.tagId = this.tagId = 'tag-id-123' this.req.params.projectId = this.projectId = 'project-id-123' this.req.session.user._id = this.userId = 'user-id-123' return this.controller.addProjectToTag(this.req, this.res) }) it('should add the tag to the project in the backend', function () { return this.handler.addProjectToTag .calledWith(this.userId, this.tagId, this.projectId) .should.equal(true) }) it('should return 204 status code', function () { this.res.status.calledWith(204).should.equal(true) return this.res.end.called.should.equal(true) }) }) describe('removeProjectFromTag', function () { beforeEach(function () { this.req.params.tagId = this.tagId = 'tag-id-123' this.req.params.projectId = this.projectId = 'project-id-123' this.req.session.user._id = this.userId = 'user-id-123' return this.controller.removeProjectFromTag(this.req, this.res) }) it('should remove the tag from the project in the backend', function () { return this.handler.removeProjectFromTag .calledWith(this.userId, this.tagId, this.projectId) .should.equal(true) }) it('should return 204 status code', function () { this.res.status.calledWith(204).should.equal(true) return this.res.end.called.should.equal(true) }) }) })
overleaf/web/test/unit/src/Tags/TagsControllerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/Tags/TagsControllerTests.js", "repo_id": "overleaf", "token_count": 2470 }
577
const sinon = require('sinon') const { expect } = require('chai') const SandboxedModule = require('sandboxed-module') const modulePath = '../../../../app/src/Features/User/ThirdPartyIdentityManager.js' describe('ThirdPartyIdentityManager', function () { beforeEach(function () { this.userId = 'a1b2c3' this.user = { _id: this.userId, email: 'example@overleaf.com', } this.externalUserId = 'id789' this.externalData = {} this.auditLog = { initiatorId: this.userId, ipAddress: '0:0:0:0' } this.ThirdPartyIdentityManager = SandboxedModule.require(modulePath, { requires: { '../../../../app/src/Features/User/UserAuditLogHandler': (this.UserAuditLogHandler = { addEntry: sinon.stub().yields(), }), '../../../../app/src/Features/Email/EmailHandler': (this.EmailHandler = { sendEmail: sinon.stub().yields(), }), '../../../../app/src/models/User': { User: (this.User = { findOneAndUpdate: sinon.stub().yields(undefined, this.user), findOne: sinon.stub().yields(undefined, undefined), }), }, '@overleaf/settings': { oauthProviders: { google: { name: 'Google', }, orcid: { name: 'Orcid', }, }, }, }, }) }) describe('getUser', function () { it('should an error when missing providerId or externalUserId', function (done) { this.ThirdPartyIdentityManager.getUser( undefined, undefined, (error, user) => { expect(error).to.exist expect(error.message).to.equal('invalid SSO arguments') expect(error.info).to.deep.equal({ externalUserId: undefined, providerId: undefined, }) done() } ) }) describe('when user linked', function () { beforeEach(function () { this.User.findOne.yields(undefined, this.user) }) it('should return the user', async function () { this.User.findOne.returns(undefined, this.user) const user = await this.ThirdPartyIdentityManager.promises.getUser( 'google', 'an-id-linked' ) expect(user).to.deep.equal(this.user) }) }) it('should return ThirdPartyUserNotFoundError when no user linked', function (done) { this.ThirdPartyIdentityManager.getUser( 'google', 'an-id-not-linked', (error, user) => { expect(error).to.exist expect(error.name).to.equal('ThirdPartyUserNotFoundError') done() } ) }) }) describe('link', function () { it('should send email alert', async function () { await this.ThirdPartyIdentityManager.promises.link( this.userId, 'google', this.externalUserId, this.externalData, this.auditLog ) const emailCall = this.EmailHandler.sendEmail.getCall(0) expect(emailCall.args[0]).to.equal('securityAlert') expect(emailCall.args[1].actionDescribed).to.contain( 'a Google account was linked' ) }) it('should update user audit log', async function () { await this.ThirdPartyIdentityManager.promises.link( this.userId, 'google', this.externalUserId, this.externalData, this.auditLog ) expect(this.UserAuditLogHandler.addEntry).to.have.been.calledOnceWith( this.userId, 'link-sso', this.auditLog.initiatorId, this.auditLog.ipAddress, { providerId: 'google', } ) }) describe('errors', function () { const anError = new Error('oops') it('should not unlink if the UserAuditLogHandler throws an error', function (done) { this.UserAuditLogHandler.addEntry.yields(anError) this.ThirdPartyIdentityManager.link( this.userId, 'google', this.externalUserId, this.externalData, this.auditLog, error => { expect(error).to.exist expect(error).to.equal(anError) expect(this.User.findOneAndUpdate).to.not.have.been.called done() } ) }) describe('EmailHandler', function () { beforeEach(function () { this.EmailHandler.sendEmail.yields(anError) }) it('should log but not return the error', function (done) { this.ThirdPartyIdentityManager.link( this.userId, 'google', this.externalUserId, this.externalData, this.auditLog, error => { expect(error).to.not.exist expect(this.logger.error.lastCall).to.be.calledWithExactly( { err: anError, userId: this.userId, }, 'could not send security alert email when Google account linked' ) done() } ) }) }) }) }) describe('unlink', function () { it('should send email alert', async function () { await this.ThirdPartyIdentityManager.promises.unlink( this.userId, 'orcid', this.auditLog ) const emailCall = this.EmailHandler.sendEmail.getCall(0) expect(emailCall.args[0]).to.equal('securityAlert') expect(emailCall.args[1].actionDescribed).to.contain( 'an Orcid account was unlinked from' ) }) it('should update user audit log', async function () { await this.ThirdPartyIdentityManager.promises.unlink( this.userId, 'orcid', this.auditLog ) expect(this.UserAuditLogHandler.addEntry).to.have.been.calledOnceWith( this.userId, 'unlink-sso', this.auditLog.initiatorId, this.auditLog.ipAddress, { providerId: 'orcid', } ) }) describe('errors', function () { const anError = new Error('oops') it('should not unlink if the UserAuditLogHandler throws an error', function (done) { this.UserAuditLogHandler.addEntry.yields(anError) this.ThirdPartyIdentityManager.unlink( this.userId, 'orcid', this.auditLog, error => { expect(error).to.exist expect(error).to.equal(anError) expect(this.User.findOneAndUpdate).to.not.have.been.called done() } ) expect(this.User.findOneAndUpdate).to.not.have.been.called }) describe('EmailHandler', function () { beforeEach(function () { this.EmailHandler.sendEmail.yields(anError) }) it('should log but not return the error', function (done) { this.ThirdPartyIdentityManager.unlink( this.userId, 'google', this.auditLog, error => { expect(error).to.not.exist expect(this.logger.error.lastCall).to.be.calledWithExactly( { err: anError, userId: this.userId, }, 'could not send security alert email when Google account no longer linked' ) done() } ) }) }) }) }) })
overleaf/web/test/unit/src/User/ThirdPartyIdentityManagerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/User/ThirdPartyIdentityManagerTests.js", "repo_id": "overleaf", "token_count": 3594 }
578
/* eslint-disable max-len, no-return-assign, no-unused-vars, */ // TODO: This file was created by bulk-decaffeinate. // Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ const sinon = require('sinon') const assertCalledWith = sinon.assert.calledWith const assertNotCalled = sinon.assert.notCalled const { assert, expect } = require('chai') const modulePath = '../../../../app/src/Features/UserMembership/UserMembershipController.js' const SandboxedModule = require('sandboxed-module') const MockRequest = require('../helpers/MockRequest') const MockResponse = require('../helpers/MockResponse') const EntityConfigs = require('../../../../app/src/Features/UserMembership/UserMembershipEntityConfigs') const Errors = require('../../../../app/src/Features/Errors/Errors') describe('UserMembershipController', function () { beforeEach(function () { this.req = new MockRequest() this.req.params.id = 'mock-entity-id' this.user = { _id: 'mock-user-id' } this.newUser = { _id: 'mock-new-user-id', email: 'new-user-email@foo.bar' } this.subscription = { _id: 'mock-subscription-id', fetchV1Data: callback => callback(null, this.subscription), } this.institution = { _id: 'mock-institution-id', v1Id: 123, fetchV1Data: callback => { const institution = Object.assign({}, this.institution) institution.name = 'Test Institution Name' return callback(null, institution) }, } this.users = [ { _id: 'mock-member-id-1', email: 'mock-email-1@foo.com', last_logged_in_at: '2020-08-09T12:43:11.467Z', }, { _id: 'mock-member-id-2', email: 'mock-email-2@foo.com', last_logged_in_at: '2020-05-20T10:41:11.407Z', }, ] this.SessionManager = { getSessionUser: sinon.stub().returns(this.user), getLoggedInUserId: sinon.stub().returns(this.user._id), } this.UserMembershipHandler = { getEntity: sinon.stub().yields(null, this.subscription), createEntity: sinon.stub().yields(null, this.institution), getUsers: sinon.stub().yields(null, this.users), addUser: sinon.stub().yields(null, this.newUser), removeUser: sinon.stub().yields(null), } return (this.UserMembershipController = SandboxedModule.require( modulePath, { requires: { '../Authentication/SessionManager': this.SessionManager, './UserMembershipHandler': this.UserMembershipHandler, }, } )) }) describe('index', function () { beforeEach(function () { this.req.entity = this.subscription return (this.req.entityConfig = EntityConfigs.group) }) it('get users', function (done) { return this.UserMembershipController.index(this.req, { render: () => { sinon.assert.calledWithMatch( this.UserMembershipHandler.getUsers, this.subscription, { modelName: 'Subscription' } ) return done() }, }) }) it('render group view', function (done) { return this.UserMembershipController.index(this.req, { render: (viewPath, viewParams) => { expect(viewPath).to.equal('user_membership/index') expect(viewParams.users).to.deep.equal(this.users) expect(viewParams.groupSize).to.equal(this.subscription.membersLimit) expect(viewParams.translations.title).to.equal('group_account') expect(viewParams.paths.addMember).to.equal( `/manage/groups/${this.subscription._id}/invites` ) return done() }, }) }) it('render group managers view', function (done) { this.req.entityConfig = EntityConfigs.groupManagers return this.UserMembershipController.index(this.req, { render: (viewPath, viewParams) => { expect(viewPath).to.equal('user_membership/index') expect(viewParams.groupSize).to.equal(undefined) expect(viewParams.translations.title).to.equal('group_account') expect(viewParams.translations.subtitle).to.equal( 'managers_management' ) expect(viewParams.paths.exportMembers).to.be.undefined return done() }, }) }) it('render institution view', function (done) { this.req.entity = this.institution this.req.entityConfig = EntityConfigs.institution return this.UserMembershipController.index(this.req, { render: (viewPath, viewParams) => { expect(viewPath).to.equal('user_membership/index') expect(viewParams.name).to.equal('Test Institution Name') expect(viewParams.groupSize).to.equal(undefined) expect(viewParams.translations.title).to.equal('institution_account') expect(viewParams.paths.exportMembers).to.be.undefined return done() }, }) }) }) describe('add', function () { beforeEach(function () { this.req.body.email = this.newUser.email this.req.entity = this.subscription return (this.req.entityConfig = EntityConfigs.groupManagers) }) it('add user', function (done) { return this.UserMembershipController.add(this.req, { json: () => { sinon.assert.calledWithMatch( this.UserMembershipHandler.addUser, this.subscription, { modelName: 'Subscription' }, this.newUser.email ) return done() }, }) }) it('return user object', function (done) { return this.UserMembershipController.add(this.req, { json: payload => { payload.user.should.equal(this.newUser) return done() }, }) }) it('handle readOnly entity', function (done) { this.req.entityConfig = EntityConfigs.group return this.UserMembershipController.add(this.req, null, error => { expect(error).to.exist expect(error).to.be.an.instanceof(Errors.NotFoundError) return done() }) }) it('handle user already added', function (done) { this.UserMembershipHandler.addUser.yields({ alreadyAdded: true }) return this.UserMembershipController.add(this.req, { status: () => ({ json: payload => { expect(payload.error.code).to.equal('user_already_added') return done() }, }), }) }) it('handle user not found', function (done) { this.UserMembershipHandler.addUser.yields({ userNotFound: true }) return this.UserMembershipController.add(this.req, { status: () => ({ json: payload => { expect(payload.error.code).to.equal('user_not_found') return done() }, }), }) }) it('handle invalid email', function (done) { this.req.body.email = 'not_valid_email' return this.UserMembershipController.add(this.req, { status: () => ({ json: payload => { expect(payload.error.code).to.equal('invalid_email') return done() }, }), }) }) }) describe('remove', function () { beforeEach(function () { this.req.params.userId = this.newUser._id this.req.entity = this.subscription return (this.req.entityConfig = EntityConfigs.groupManagers) }) it('remove user', function (done) { return this.UserMembershipController.remove(this.req, { sendStatus: () => { sinon.assert.calledWithMatch( this.UserMembershipHandler.removeUser, this.subscription, { modelName: 'Subscription' }, this.newUser._id ) return done() }, }) }) it('handle readOnly entity', function (done) { this.req.entityConfig = EntityConfigs.group return this.UserMembershipController.remove(this.req, null, error => { expect(error).to.exist expect(error).to.be.an.instanceof(Errors.NotFoundError) return done() }) }) it('prevent self removal', function (done) { this.req.params.userId = this.user._id return this.UserMembershipController.remove(this.req, { status: () => ({ json: payload => { expect(payload.error.code).to.equal('managers_cannot_remove_self') return done() }, }), }) }) it('prevent admin removal', function (done) { this.UserMembershipHandler.removeUser.yields({ isAdmin: true }) return this.UserMembershipController.remove(this.req, { status: () => ({ json: payload => { expect(payload.error.code).to.equal('managers_cannot_remove_admin') return done() }, }), }) }) }) describe('exportCsv', function () { beforeEach(function () { this.req.entity = this.subscription this.req.entityConfig = EntityConfigs.groupManagers this.res = new MockResponse() this.res.contentType = sinon.stub() this.res.header = sinon.stub() this.res.send = sinon.stub() return this.UserMembershipController.exportCsv(this.req, this.res) }) it('get users', function () { return sinon.assert.calledWithMatch( this.UserMembershipHandler.getUsers, this.subscription, { modelName: 'Subscription' } ) }) it('should set the correct content type on the request', function () { return assertCalledWith(this.res.contentType, 'text/csv') }) it('should name the exported csv file', function () { return assertCalledWith( this.res.header, 'Content-Disposition', 'attachment; filename=Group.csv' ) }) it('should export the correct csv', function () { return assertCalledWith( this.res.send, '"email","last_logged_in_at"\n"mock-email-1@foo.com","2020-08-09T12:43:11.467Z"\n"mock-email-2@foo.com","2020-05-20T10:41:11.407Z"' ) }) }) describe('new', function () { beforeEach(function () { this.req.params.name = 'publisher' return (this.req.params.id = 'abc') }) it('renders view', function (done) { return this.UserMembershipController.new(this.req, { render: (viewPath, data) => { expect(data.entityName).to.eq('publisher') expect(data.entityId).to.eq('abc') return done() }, }) }) }) describe('create', function () { beforeEach(function () { this.req.params.name = 'institution' this.req.entityConfig = EntityConfigs.institution return (this.req.params.id = 123) }) it('creates institution', function (done) { return this.UserMembershipController.create(this.req, { redirect: path => { expect(path).to.eq(EntityConfigs.institution.pathsFor(123).index) sinon.assert.calledWithMatch( this.UserMembershipHandler.createEntity, 123, { modelName: 'Institution' } ) return done() }, }) }) }) })
overleaf/web/test/unit/src/UserMembership/UserMembershipControllerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/UserMembership/UserMembershipControllerTests.js", "repo_id": "overleaf", "token_count": 4905 }
579
const mockModel = require('../MockModel') module.exports = mockModel('User', { './Project': require('./Project'), })
overleaf/web/test/unit/src/helpers/models/User.js/0
{ "file_path": "overleaf/web/test/unit/src/helpers/models/User.js", "repo_id": "overleaf", "token_count": 39 }
580
const merge = require('webpack-merge') const TerserPlugin = require('terser-webpack-plugin') const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin') const MiniCssExtractPlugin = require('mini-css-extract-plugin') const base = require('./webpack.config') // Use "smart" merge: attempts to combine loaders targeting the same file type, // overriding the base config module.exports = merge.smart( base, { mode: 'production', // Enable a full source map. Generates a comment linking to the source map devtool: 'hidden-source-map', output: { // Override filename to include hash for immutable caching filename: 'js/[name]-[chunkhash].js', }, module: { rules: [ { // Override base font loading to add hash to filename so that we can // use "immutable" caching test: /\.(woff|woff2)$/, use: [ { loader: 'file-loader', options: { outputPath: 'fonts', publicPath: '/fonts/', name: '[name]-[hash].[ext]', }, }, ], }, ], }, optimization: { // Minify JS (with Terser) and CSS (with cssnano) minimizer: [ new TerserPlugin({ terserOptions: { keep_classnames: /Error$/, keep_fnames: /Error$/, }, }), new OptimizeCssAssetsPlugin(), ], }, plugins: [ // Extract CSS to a separate file (rather than inlining to a <style> tag) new MiniCssExtractPlugin({ // Output to public/stylesheets directory and append hash for immutable // caching filename: 'stylesheets/[name]-[chunkhash].css', }), ], }, {} )
overleaf/web/webpack.config.prod.js/0
{ "file_path": "overleaf/web/webpack.config.prod.js", "repo_id": "overleaf", "token_count": 800 }
581
Changelog for ownCloud Web [8.0.1] (2024-03-12) ======================================= The following sections list the changes in ownCloud web 8.0.1 relevant to ownCloud admins and users. [8.0.1]: https://github.com/owncloud/web/compare/v8.0.0...v8.0.1 Summary ------- * Bugfix - Add link in right sidebar sharing menu, doesn't copy link to clipboard: [#10573](https://github.com/owncloud/web/pull/10573) * Bugfix - WebDav Url in right sidebar is missing dav in path: [#10576](https://github.com/owncloud/web/pull/10576) * Bugfix - Update translations: [#10585](https://github.com/owncloud/web/issues/10585) Details ------- * Bugfix - Add link in right sidebar sharing menu, doesn't copy link to clipboard: [#10573](https://github.com/owncloud/web/pull/10573) We've fixed a bug, where clicking the add link button in the right sidebar sharing menu, created a new link but didn't copy it to the clipboard. https://github.com/owncloud/web/issues/10563 https://github.com/owncloud/web/pull/10573 https://github.com/owncloud/web/pull/10581 * Bugfix - WebDav Url in right sidebar is missing dav in path: [#10576](https://github.com/owncloud/web/pull/10576) We fixed a bug where the '/dav/' path was missing in the WebDav Url in the right sidebar. https://github.com/owncloud/web/pull/10576 * Bugfix - Update translations: [#10585](https://github.com/owncloud/web/issues/10585) We've corrected some German translations. https://github.com/owncloud/web/issues/10585 https://github.com/owncloud/web/pull/10589 Changelog for ownCloud Web [8.0.0] (2024-03-08) ======================================= The following sections list the changes in ownCloud web 8.0.0 relevant to ownCloud admins and users. [8.0.0]: https://github.com/owncloud/web/compare/v9.0.0...v8.0.0 Summary ------- * Bugfix - Filter out shares without display name: [#9257](https://github.com/owncloud/web/issues/9257) * Bugfix - Shared with action menu label alignment: [#9529](https://github.com/owncloud/web/pull/9529) * Bugfix - Add project space filter: [#9649](https://github.com/owncloud/web/pull/9649) * Bugfix - Respect the open-in-new-tab-config for external apps: [#9663](https://github.com/owncloud/web/pull/9663) * Bugfix - Special characters in username: [#9694](https://github.com/owncloud/web/issues/9694) * Bugfix - Create .space folder if it does not exist: [#9788](https://github.com/owncloud/web/issues/9788) * Bugfix - Link resolving into default app: [#9799](https://github.com/owncloud/web/issues/9799) * Bugfix - Copy quicklinks for webkit navigator: [#9832](https://github.com/owncloud/web/pull/9832) * Bugfix - Fix display path on resources: [#9843](https://github.com/owncloud/web/pull/9843) * Bugfix - Upload space image: [#9844](https://github.com/owncloud/web/pull/9844) * Bugfix - Duplicated file search request: [#9861](https://github.com/owncloud/web/pull/9861) * Bugfix - Tags are no longer editable for a locked file: [#9873](https://github.com/owncloud/web/pull/9873) * Bugfix - Prevent rendering of old/wrong set of resources in search list: [#9881](https://github.com/owncloud/web/pull/9881) * Bugfix - Keep both folders conflict in same-named folders: [#9915](https://github.com/owncloud/web/pull/9915) * Bugfix - Enabling "invite people" for password-protected folder/file: [#9931](https://github.com/owncloud/web/pull/9931) * Bugfix - Displaying full video in their dimensions: [#10010](https://github.com/owncloud/web/issues/10010) * Bugfix - Icon extension mapping: [#10031](https://github.com/owncloud/web/issues/10031) * Bugfix - Logout page after token expiry: [#10065](https://github.com/owncloud/web/pull/10065) * Bugfix - Disable expiration date for alias link (internal): [#10083](https://github.com/owncloud/web/pull/10083) * Bugfix - Allow empty search query in "in-here" search: [#10092](https://github.com/owncloud/web/pull/10092) * Bugfix - Remove password buttons on input if disabled: [#10096](https://github.com/owncloud/web/pull/10096) * Bugfix - Tilesview has whitespace: [#10118](https://github.com/owncloud/web/pull/10118) * Bugfix - Spaces files list previews cropped: [#10149](https://github.com/owncloud/web/pull/10149) * Bugfix - Spaces overview tile previews zoomed: [#10149](https://github.com/owncloud/web/pull/10149) * Bugfix - Resolving links without drive alias: [#10154](https://github.com/owncloud/web/pull/10154) * Bugfix - Uploading the same files parallel: [#10156](https://github.com/owncloud/web/pull/10156) * Bugfix - GDPR export polling: [#10158](https://github.com/owncloud/web/pull/10158) * Bugfix - Turned off file extensions not always respected: [#10176](https://github.com/owncloud/web/pull/10176) * Bugfix - Space navigate to trash missing: [#10179](https://github.com/owncloud/web/pull/10179) * Bugfix - Make versions panel readonly in viewers and editors: [#10182](https://github.com/owncloud/web/pull/10182) * Bugfix - Loading indicator during conflict dialog: [#10220](https://github.com/owncloud/web/pull/10220) * Bugfix - Configurable concurrent requests: [#10227](https://github.com/owncloud/web/issues/10227) * Bugfix - Skip searchbar preview fetch on reload: [#10232](https://github.com/owncloud/web/pull/10232) * Bugfix - Scrollable account page: [#10318](https://github.com/owncloud/web/pull/10318) * Bugfix - Private link error messages: [#10321](https://github.com/owncloud/web/pull/10321) * Bugfix - Readonly user attributes have no effect on group memberships: [#10347](https://github.com/owncloud/web/pull/10347) * Bugfix - Restore space: [#10424](https://github.com/owncloud/web/pull/10424) * Bugfix - Public link file download: [#10473](https://github.com/owncloud/web/issues/10473) * Bugfix - Wrong share permissions when resharing off: [#10489](https://github.com/owncloud/web/pull/10489) * Bugfix - Indicate shares that are not manageable due to file locking: [#10514](https://github.com/owncloud/web/pull/10514) * Change - Theme handling: [#2404](https://github.com/owncloud/web/issues/2404) * Change - Remove deprecated code: [#7338](https://github.com/owncloud/web/issues/7338) * Change - Keyword Query Language (KQL) search syntax: [#9653](https://github.com/owncloud/web/pull/9653) * Change - DavProperties without namespace: [#9709](https://github.com/owncloud/web/issues/9709) * Enhancement - Make login url configurable: [#7317](https://github.com/owncloud/ocis/pull/7317) * Enhancement - Permission checks for shares and favorites: [#7497](https://github.com/owncloud/ocis/issues/7497) * Enhancement - Scroll to newly created folder: [#7600](https://github.com/owncloud/web/issues/7600) * Enhancement - Application unification: [#9302](https://github.com/owncloud/web/issues/9302) * Enhancement - Show local loading spinner in sharing button: [#9423](https://github.com/owncloud/web/pull/9423) * Enhancement - File versions tooltip with absolute date: [#9441](https://github.com/owncloud/web/pull/9441) * Enhancement - Disabling extensions: [#9441](https://github.com/owncloud/web/pull/9441) * Enhancement - Add SSE to get notifications instantly: [#9451](https://github.com/owncloud/web/pull/9451) * Enhancement - Tags form improved: [#9525](https://github.com/owncloud/web/pull/9525) * Enhancement - Don't display confirmation dialog on file deletion: [#9527](https://github.com/owncloud/web/pull/9527) * Enhancement - Personal shares can be shown and hidden: [#9531](https://github.com/owncloud/web/issues/9531) * Enhancement - Upload preparation time: [#9552](https://github.com/owncloud/web/pull/9552) * Enhancement - Indicate processing state: [#9561](https://github.com/owncloud/web/pull/9561) * Enhancement - Display locking information: [#9566](https://github.com/owncloud/web/pull/9566) * Enhancement - Moving share's "set expiration date" function: [#9584](https://github.com/owncloud/web/pull/9584) * Enhancement - Add keyboard navigation to spaces overview: [#9625](https://github.com/owncloud/web/pull/9625) * Enhancement - Add batch actions to spaces: [#9627](https://github.com/owncloud/web/pull/9627) * Enhancement - OcModal set buttons to same width: [#9671](https://github.com/owncloud/web/pull/9671) * Enhancement - Add password policy compatibility: [#9682](https://github.com/owncloud/web/pull/9682) * Enhancement - Password generator for public links: [#9691](https://github.com/owncloud/web/pull/9691) * Enhancement - Added app banner for mobile devices: [#9696](https://github.com/owncloud/web/pull/9696) * Enhancement - Unify sharing expiration date menu items: [#9706](https://github.com/owncloud/web/pull/9706) * Enhancement - New WebDAV implementation in web-client: [#9709](https://github.com/owncloud/web/issues/9709) * Enhancement - Show error if password is on a banned password list: [#9727](https://github.com/owncloud/web/pull/9727) * Enhancement - Embed mode: [#9768](https://github.com/owncloud/web/issues/9768) * Enhancement - Handle postprocessing state via Server Sent Events: [#9771](https://github.com/owncloud/web/pull/9771) * Enhancement - Registering search providers as extension: [#9794](https://github.com/owncloud/web/pull/9794) * Enhancement - Preview image presentation: [#9806](https://github.com/owncloud/web/pull/9806) * Enhancement - Add editors to the application menu: [#9809](https://github.com/owncloud/web/pull/9809) * Enhancement - Registering nav items as extension: [#9814](https://github.com/owncloud/web/pull/9814) * Enhancement - Add new portal into runtime to include footer: [#9815](https://github.com/owncloud/web/pull/9815) * Enhancement - Last modified filter chips: [#9831](https://github.com/owncloud/web/pull/9831) * Enhancement - Provide vendor neutral file icons: [#9847](https://github.com/owncloud/web/issues/9847) * Enhancement - Search query term linking: [#9854](https://github.com/owncloud/web/pull/9854) * Enhancement - Add permission to delete link passwords when password is enforced: [#9857](https://github.com/owncloud/web/pull/9857) * Enhancement - Remove settings icon from searchbar: [#9858](https://github.com/owncloud/web/pull/9858) * Enhancement - Search tags filter chips style aligned: [#9864](https://github.com/owncloud/web/pull/9864) * Enhancement - Enable dark theme on importer: [#9884](https://github.com/owncloud/web/pull/9884) * Enhancement - Create shortcuts: [#9890](https://github.com/owncloud/web/pull/9890) * Enhancement - Manage tags in details panel: [#9905](https://github.com/owncloud/web/pull/9905) * Enhancement - Reorganize "New" menu: [#9906](https://github.com/owncloud/web/pull/9906) * Enhancement - Add media type filter chip: [#9912](https://github.com/owncloud/web/pull/9912) * Enhancement - Display error message for upload to locked folder: [#9940](https://github.com/owncloud/web/pull/9940) * Enhancement - Support more audio formats with correct icon: [#9966](https://github.com/owncloud/web/issues/9966) * Enhancement - Additional languages: [#10007](https://github.com/owncloud/web/issues/10007) * Enhancement - Shared by filter: [#10013](https://github.com/owncloud/web/issues/10013) * Enhancement - Share search filter: [#10014](https://github.com/owncloud/web/issues/10014) * Enhancement - Duplicate space: [#10024](https://github.com/owncloud/web/pull/10024) * Enhancement - Default link permission: [#10037](https://github.com/owncloud/web/pull/10037) * Enhancement - Add explaining contextual helper to spaces overview: [#10047](https://github.com/owncloud/web/pull/10047) * Enhancement - Folder tree creation during upload: [#10057](https://github.com/owncloud/web/pull/10057) * Enhancement - Show webdav information in details view: [#10062](https://github.com/owncloud/web/pull/10062) * Enhancement - Support mandatory filter while listing users: [#10099](https://github.com/owncloud/web/pull/10099) * Enhancement - Registering quick actions as extension: [#10102](https://github.com/owncloud/web/pull/10102) * Enhancement - Create link modal: [#10104](https://github.com/owncloud/web/pull/10104) * Enhancement - Registering right sidebar panels as extension: [#10111](https://github.com/owncloud/web/pull/10111) * Enhancement - File sidebar in viewer and editor apps: [#10111](https://github.com/owncloud/web/pull/10111) * Enhancement - Harmonize AppSwitcher icon colors: [#10224](https://github.com/owncloud/web/pull/10224) * Enhancement - Preview app add reset button for images: [#10356](https://github.com/owncloud/web/pull/10356) Details ------- * Bugfix - Filter out shares without display name: [#9257](https://github.com/owncloud/web/issues/9257) In rare (legacy) cases, shares can exist without a displayName key, which caused trouble in the sharing sidebar section. This has been addressed by filtering out shares without a displayName. https://github.com/owncloud/web/issues/9257 https://github.com/owncloud/web/pull/9504 * Bugfix - Shared with action menu label alignment: [#9529](https://github.com/owncloud/web/pull/9529) Adjusted offset of alignment of label for shared with action menu option in Sidebar. https://github.com/owncloud/web/issues/9323 https://github.com/owncloud/web/pull/9529 * Bugfix - Add project space filter: [#9649](https://github.com/owncloud/web/pull/9649) We've added the option to search for spaces in the project space overview. https://github.com/owncloud/web/issues/9650 https://github.com/owncloud/web/pull/9649 * Bugfix - Respect the open-in-new-tab-config for external apps: [#9663](https://github.com/owncloud/web/pull/9663) The `WEB_OPTION_OPEN_APPS_IN_TAB` is now being respected correctly when opening files with external apps. https://github.com/owncloud/web/issues/9630 https://github.com/owncloud/web/pull/9663 * Bugfix - Special characters in username: [#9694](https://github.com/owncloud/web/issues/9694) Preventing special characters except for . and _ in the username. Matching server validation for username https://github.com/owncloud/web/issues/9694 https://github.com/owncloud/web/pull/9703 * Bugfix - Create .space folder if it does not exist: [#9788](https://github.com/owncloud/web/issues/9788) Creating .space folder and README.md in space if folder has been removed by user. https://github.com/owncloud/web/issues/9788 https://github.com/owncloud/web/pull/9793 * Bugfix - Link resolving into default app: [#9799](https://github.com/owncloud/web/issues/9799) Internal and public file links now reliably resolve into the default app when `openLinksWithDefaultApp` is enabled. https://github.com/owncloud/web/issues/9799 https://github.com/owncloud/web/issues/9776 https://github.com/owncloud/web/pull/9821 * Bugfix - Copy quicklinks for webkit navigator: [#9832](https://github.com/owncloud/web/pull/9832) Copying quicklinks didn't work on safari or other webkit based browsers and is fixed now. https://github.com/owncloud/web/issues/9166 https://github.com/owncloud/web/pull/9832 * Bugfix - Fix display path on resources: [#9843](https://github.com/owncloud/web/pull/9843) We've fixed a bug, where the display path of a resource was missing parts. For example the respective space name or the folder name of a share. https://github.com/owncloud/web/pull/9843 * Bugfix - Upload space image: [#9844](https://github.com/owncloud/web/pull/9844) Space image upload failed due to some code changes, this fixed and works as expected again. https://github.com/owncloud/web/issues/9839 https://github.com/owncloud/web/pull/9844 * Bugfix - Duplicated file search request: [#9861](https://github.com/owncloud/web/pull/9861) We have fixed a bug where the search was sent unnecessarily twice. https://github.com/owncloud/web/issues/9787 https://github.com/owncloud/web/pull/9861 https://github.com/owncloud/web/pull/9880 * Bugfix - Tags are no longer editable for a locked file: [#9873](https://github.com/owncloud/web/pull/9873) Tags are no longer editable for files that are currently locked. https://github.com/owncloud/web/issues/9789 https://github.com/owncloud/web/pull/9873 https://github.com/owncloud/web/pull/9883 * Bugfix - Prevent rendering of old/wrong set of resources in search list: [#9881](https://github.com/owncloud/web/pull/9881) When entering the search, it displayed the resources from the file list for a short moment, this has now been fixed and the search always shows the loading spinner first. After all results have been loaded from the server, the spinner disappears and the result is rendered. https://github.com/owncloud/web/issues/9790 https://github.com/owncloud/web/pull/9881 * Bugfix - Keep both folders conflict in same-named folders: [#9915](https://github.com/owncloud/web/pull/9915) Parsing has been adjusted to account for edge case of multiple folders and sub-folders with the same name https://github.com/owncloud/web/issues/9158 https://github.com/owncloud/web/pull/9915 * Bugfix - Enabling "invite people" for password-protected folder/file: [#9931](https://github.com/owncloud/web/pull/9931) Enables selecting "invite people" for password-protected folder/file. Selecting this permission will drop password protection and expiration date. https://github.com/owncloud/web/issues/9922 https://github.com/owncloud/web/pull/9931 * Bugfix - Displaying full video in their dimensions: [#10010](https://github.com/owncloud/web/issues/10010) We've fixed a bug which set the video width and height to 100% of the screen size instead of the actual video size. This bug made it impossible to see the full video in 1080x1920, while 1920x1080 might have been slightly cropped. https://github.com/owncloud/web/issues/10010 https://github.com/owncloud/web/pull/10101 * Bugfix - Icon extension mapping: [#10031](https://github.com/owncloud/web/issues/10031) We have simplified the mapping between file extensions and their display in the web UI (icon and its color). Now, further formats/extensions (`.tar.gz`,`.tar.xz`,`.bz2`, ...) get displayed correctly. https://github.com/owncloud/web/issues/10031 https://github.com/owncloud/web/pull/10059 * Bugfix - Logout page after token expiry: [#10065](https://github.com/owncloud/web/pull/10065) Wrongly showing the logout page after revisiting Web with an expired token has been fixed. Users now get redirected to the login page instead. https://github.com/owncloud/web/issues/10063 https://github.com/owncloud/web/pull/10065 * Bugfix - Disable expiration date for alias link (internal): [#10083](https://github.com/owncloud/web/pull/10083) We've disabled the option to set an expiration date on an internal link, since it could be misleading and doesn't serve any use. https://github.com/owncloud/web/issues/9923 https://github.com/owncloud/web/pull/10083 https://github.com/owncloud/web/pull/10085 * Bugfix - Allow empty search query in "in-here" search: [#10092](https://github.com/owncloud/web/pull/10092) Allowing empty search queries in the "in-here" search instead of fallback to search "everywhere". https://github.com/owncloud/web/issues/9970 https://github.com/owncloud/web/pull/10092 * Bugfix - Remove password buttons on input if disabled: [#10096](https://github.com/owncloud/web/pull/10096) We've removed the password buttons on an input field which is disabled to not confuse the user. https://github.com/owncloud/web/issues/10084 https://github.com/owncloud/web/pull/10096 * Bugfix - Tilesview has whitespace: [#10118](https://github.com/owncloud/web/pull/10118) We've fixed a bug that caused the tiles-view to have whitespace on the right side of the screen which is not optimal for efficiant space management. https://github.com/owncloud/web/issues/10040 https://github.com/owncloud/web/pull/10118 * Bugfix - Spaces files list previews cropped: [#10149](https://github.com/owncloud/web/pull/10149) We've fixed a bug where the files list previews in spaces were cropped. https://github.com/owncloud/web/issues/10133 https://github.com/owncloud/web/pull/10149 * Bugfix - Spaces overview tile previews zoomed: [#10149](https://github.com/owncloud/web/pull/10149) We've fixed a bug where the tile previews in the spaces overview were zoomed in. https://github.com/owncloud/web/issues/9328 https://github.com/owncloud/web/pull/10149 * Bugfix - Resolving links without drive alias: [#10154](https://github.com/owncloud/web/pull/10154) Resolving links without a drive alias has been fixed in case a fileId is given via query param. https://github.com/owncloud/web/issues/9269 https://github.com/owncloud/web/pull/10154 * Bugfix - Uploading the same files parallel: [#10156](https://github.com/owncloud/web/pull/10156) An issue where uploading the same files parallel would cause the upload to fail has been fixed. https://github.com/owncloud/web/issues/9220 https://github.com/owncloud/web/pull/10156 * Bugfix - GDPR export polling: [#10158](https://github.com/owncloud/web/pull/10158) Periodically checking for a processed GDPR export in the account menu has been fixed. https://github.com/owncloud/web/issues/8862 https://github.com/owncloud/web/pull/10158 * Bugfix - Turned off file extensions not always respected: [#10176](https://github.com/owncloud/web/pull/10176) We've fixed a bug where file extensions were shown in different places, like Search and Top bar file info even if the user turned them off via setting. https://github.com/owncloud/web/pull/10176 * Bugfix - Space navigate to trash missing: [#10179](https://github.com/owncloud/web/pull/10179) We've fixed the bug that it was not possible to directly navigate into a space-specific trash, from within the space root. https://github.com/owncloud/web/pull/10179 * Bugfix - Make versions panel readonly in viewers and editors: [#10182](https://github.com/owncloud/web/pull/10182) We've made the versions right sidebar panel readonly when opening the right sidebar from within a viewer or editor. https://github.com/owncloud/web/pull/10182 * Bugfix - Loading indicator during conflict dialog: [#10220](https://github.com/owncloud/web/pull/10220) An issue where the loading indicator was showing before taking action in the resource conflict dialog has been fixed. https://github.com/owncloud/web/issues/10215 https://github.com/owncloud/web/pull/10220 * Bugfix - Configurable concurrent requests: [#10227](https://github.com/owncloud/web/issues/10227) In order to ease the load on the backend we've introduced config options to limit the number of concurrent requests in certain areas. https://github.com/owncloud/web/issues/10227 https://github.com/owncloud/web/pull/10230 * Bugfix - Skip searchbar preview fetch on reload: [#10232](https://github.com/owncloud/web/pull/10232) We've fixed a bug, where search result page on reload would fetch unnecessarily the preview of the searchbar. https://github.com/owncloud/web/issues/10200 https://github.com/owncloud/web/pull/10232 * Bugfix - Scrollable account page: [#10318](https://github.com/owncloud/web/pull/10318) Vertically scrolling the account page has been fixed and works now. https://github.com/owncloud/web/issues/10313 https://github.com/owncloud/web/pull/10318 * Bugfix - Private link error messages: [#10321](https://github.com/owncloud/web/pull/10321) Private links not showing proper error messages has been fixed. https://github.com/owncloud/web/issues/10315 https://github.com/owncloud/web/pull/10321 * Bugfix - Readonly user attributes have no effect on group memberships: [#10347](https://github.com/owncloud/web/pull/10347) We've fixed a bug where the entity 'user.memberOf' set via env var `FRONTEND_READONLY_USER_ATTRIBUTES` had no effect. https://github.com/owncloud/web/pull/10347 * Bugfix - Restore space: [#10424](https://github.com/owncloud/web/pull/10424) We've fixed a bug where restoring a space was not possible in some constellations for (space) admins. https://github.com/owncloud/web/pull/10424 * Bugfix - Public link file download: [#10473](https://github.com/owncloud/web/issues/10473) We've fixed a bug where the download of a file from a public link was not working when the user had logged in already. The download only worked if no user was logged in. https://github.com/owncloud/web/issues/10473 https://github.com/owncloud/web/pull/10494 * Bugfix - Wrong share permissions when resharing off: [#10489](https://github.com/owncloud/web/pull/10489) We've fixed a bug where a share with custom permissions always sent the resharing bit although resharing was disabled. https://github.com/owncloud/web/pull/10489 * Bugfix - Indicate shares that are not manageable due to file locking: [#10514](https://github.com/owncloud/web/pull/10514) We indicate shares that are not manageable when a resource is locked, so the user doesn't run into errors, while trying to delete or update a share. https://github.com/owncloud/web/issues/10507 https://github.com/owncloud/web/pull/10514 * Change - Theme handling: [#2404](https://github.com/owncloud/web/issues/2404) The handling of themes has been throughoutly reworked. Themes now feature a human-readable title, can specify whether they are suitable as light or dark mode themes. If only one theme is provided, this theme will be set. If two themes are provided and one is a dark and one is a light mode one, there is a light/dark mode switch button in the AppBar. If more than two themes are provided or the two provided themes are not a dark and a light mode one respectively, the UI features a theme-switch button featuring a dropdown of the human-readable names of the available themes https://github.com/owncloud/web/issues/2404 https://github.com/owncloud/web/issues/8424 https://github.com/owncloud/web/issues/9403 https://github.com/owncloud/web/issues/9885 https://github.com/owncloud/web/issues/9939 https://github.com/owncloud/web/issues/10146 https://github.com/owncloud/web/pull/8855 https://github.com/owncloud/web/pull/9396 https://github.com/owncloud/web/pull/9401 https://github.com/owncloud/web/pull/9698 https://github.com/owncloud/web/pull/10151 * Change - Remove deprecated code: [#7338](https://github.com/owncloud/web/issues/7338) We have removed the `getToken` getter from our vuex store and support for the deprecated `user-management` name for the `admin-settings` app. See linked "Deprecations" issue for more information. https://github.com/owncloud/web/issues/7338 https://github.com/owncloud/web/pull/9959 * Change - Keyword Query Language (KQL) search syntax: [#9653](https://github.com/owncloud/web/pull/9653) We've introduced [KQL](https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference) as our default query language. Previously we used our own simple language for queries which is now replaced by kql. `sample.tx* Tags:important Tags:report Content:annual*` Becomes `name:"sample.tx*" AND tag:important AND tag:report AND content:"annual*"` By default KQL uses `AND` as property restriction and the query described above can also be formulated as follows `name:"sample.tx*" tag:important tag:report content:"annual*"` More advanced syntax like grouping combined with boolean property restriction is supported too `(name:"sample*" name:"*txt") tag:important OR tag:report content:"annual*"` BREAKING CHANGE for developers: the term which will be passed to the `search` method of search providers is now wrapped inside `name:"..."`. If you don't want that behaviour you need to strip it out, e.g. via simple regex: `const rawTerm = term.match(new RegExp('name:"\\*(.*?)\\*"'))`. https://github.com/owncloud/web/issues/9636 https://github.com/owncloud/web/issues/9646 https://github.com/owncloud/web/pull/9653 * Change - DavProperties without namespace: [#9709](https://github.com/owncloud/web/issues/9709) The `DavProperties` coming from the `web-client` package don't include their namespace anymore. E.g. `{http://owncloud.org/ns}fileid` has now become `fileid`. This change was part of moving away from the WebDAV implementation of the ownCloudSDK in favor of a new implementation in `web-client`. There is a new subset `DavProperties.DavNamespace` to identify all properties living under the default namespace `{DAV:}`. All other properties live under the owncloud namespace `{http://owncloud.org/ns}`. https://github.com/owncloud/web/issues/9709 https://github.com/owncloud/web/pull/9764 * Enhancement - Make login url configurable: [#7317](https://github.com/owncloud/ocis/pull/7317) We've added a new configuration option loginUrl to web, this is helpful if you use an external IdP and the login is out of web/OCIS context. https://github.com/owncloud/web/issues/9707 https://github.com/owncloud/ocis/pull/7317 * Enhancement - Permission checks for shares and favorites: [#7497](https://github.com/owncloud/ocis/issues/7497) Permission checks for creating shares and favorites have been added. https://github.com/owncloud/ocis/issues/7497 https://github.com/owncloud/web/pull/9810 * Enhancement - Scroll to newly created folder: [#7600](https://github.com/owncloud/web/issues/7600) After creating a new folder that gets sorted into the currently displayed resources but outside of the current viewport, we now scroll to the new folder. https://github.com/owncloud/web/issues/7600 https://github.com/owncloud/web/issues/7601 https://github.com/owncloud/web/pulls/8145 * Enhancement - Application unification: [#9302](https://github.com/owncloud/web/issues/9302) The existing apps have been refactored and their common functionality has been extracted. This enables developers to more easily create custom apps, and brings unified behavior like auto-saving, shortcut handling and success/error messages across all file viewer/editor apps. https://github.com/owncloud/web/issues/9302 https://github.com/owncloud/web/issues/9303 https://github.com/owncloud/web/issues/9617 https://github.com/owncloud/web/issues/9695 https://github.com/owncloud/web/pull/9485 https://github.com/owncloud/web/pull/9699 * Enhancement - Show local loading spinner in sharing button: [#9423](https://github.com/owncloud/web/pull/9423) We've added a loading spinner to the share button in the sharing panel to indicate that its still processing if action takes longer. https://github.com/owncloud/web/issues/9425 https://github.com/owncloud/web/pull/9423 * Enhancement - File versions tooltip with absolute date: [#9441](https://github.com/owncloud/web/pull/9441) We've added a tooltip with the absolute date for file versions in file details https://github.com/owncloud/web/pull/9441 * Enhancement - Disabling extensions: [#9441](https://github.com/owncloud/web/pull/9441) A new configuration `disabledExtensions` has been added which enables disabling specific extensions via their id. https://github.com/owncloud/web/issues/8524 https://github.com/owncloud/web/pull/9441 * Enhancement - Add SSE to get notifications instantly: [#9451](https://github.com/owncloud/web/pull/9451) We've added SSE to the notifications which allows us to be notified about new notifications instantly and from the server without polling every few seconds. https://github.com/owncloud/web/issues/9434 https://github.com/owncloud/web/issues/9635 https://github.com/owncloud/web/pull/9451 https://github.com/owncloud/web/pull/9654 https://github.com/owncloud/web/pull/9753 * Enhancement - Tags form improved: [#9525](https://github.com/owncloud/web/pull/9525) We've improved the tags form in various ways, including visual appearance as well as usability. Auto save, remove tags on backspace, and contextual helper (and more, see issues) https://github.com/owncloud/web/issues/9363 https://github.com/owncloud/web/issues/9356 https://github.com/owncloud/web/issues/9360 https://github.com/owncloud/web/issues/9362 https://github.com/owncloud/web/issues/9416 https://github.com/owncloud/web/pull/9525 https://github.com/owncloud/web/pull/9563 * Enhancement - Don't display confirmation dialog on file deletion: [#9527](https://github.com/owncloud/web/pull/9527) We've removed the confirmation dialog while deletion files or folder to enhance the user experience. We also show success notifications after the operation. This doesn't have impact on the trash bin, confirmation dialog will still be displayed there. https://github.com/owncloud/web/issues/5974 https://github.com/owncloud/web/pull/9527 * Enhancement - Personal shares can be shown and hidden: [#9531](https://github.com/owncloud/web/issues/9531) On the shared-with-me page, there is no distinction between pending, accepted and rejected shares anymore. Instead, the user can toggle to display either shown or hidden shares. Furthermore, accepting and rejecting shares has been renamed to "enable sync"/"disable sync" to better reflect what's happening on the server and on other devices. https://github.com/owncloud/web/issues/9531 https://github.com/owncloud/web/pull/9718 https://github.com/owncloud/web/pull/10097 https://github.com/owncloud/web/pull/10321 * Enhancement - Upload preparation time: [#9552](https://github.com/owncloud/web/pull/9552) The performance of the preparation time before each upload has been improved. https://github.com/owncloud/web/issues/9817 https://github.com/owncloud/web/pull/9552 * Enhancement - Indicate processing state: [#9561](https://github.com/owncloud/web/pull/9561) If a file has been just recently uploaded, it might go trough a processing state (e.G virus scan). If so, no actions on this resource is possible, therefore we show now the processing state and make the temporary restrictions clear to the user. https://github.com/owncloud/web/issues/9558 https://github.com/owncloud/web/pull/9561 https://github.com/owncloud/web/pull/9585 https://github.com/owncloud/web/pull/9590 https://github.com/owncloud/web/pull/9596 * Enhancement - Display locking information: [#9566](https://github.com/owncloud/web/pull/9566) We've added indicators and information in case a file is locked. https://github.com/owncloud/web/issues/6682 https://github.com/owncloud/web/pull/9566 https://github.com/owncloud/web/pull/9658 * Enhancement - Moving share's "set expiration date" function: [#9584](https://github.com/owncloud/web/pull/9584) Moving "set expiration date" function to a three dots menu to help reduce visual load on simple shares in sharing pane https://github.com/owncloud/web/issues/9493 https://github.com/owncloud/web/pull/9584 https://github.com/owncloud/web/pull/9612 * Enhancement - Add keyboard navigation to spaces overview: [#9625](https://github.com/owncloud/web/pull/9625) In the spaces overview it is now possible to navigate through the individual spaces and perform actions using the keyboard https://github.com/owncloud/web/issues/9624 https://github.com/owncloud/web/pull/9625 * Enhancement - Add batch actions to spaces: [#9627](https://github.com/owncloud/web/pull/9627) We've added batch actions to spaces view https://github.com/owncloud/web/issues/9626 https://github.com/owncloud/web/pull/9627 * Enhancement - OcModal set buttons to same width: [#9671](https://github.com/owncloud/web/pull/9671) We've adjusted the button widths for every modal so the options look more equal. https://github.com/owncloud/web/issues/9641 https://github.com/owncloud/web/pull/9671 * Enhancement - Add password policy compatibility: [#9682](https://github.com/owncloud/web/pull/9682) We consume password policy rules from the server and test public link passwords against those. Additionally we added a show/hide toggle button to password input field https://github.com/owncloud/web/issues/9638 https://github.com/owncloud/web/issues/9657 https://github.com/owncloud/web/pull/9682 https://github.com/owncloud/web/pull/9634 https://github.com/owncloud/web/pull/9686 https://github.com/owncloud/web/pull/9688 https://github.com/owncloud/web/pull/9735 https://github.com/owncloud/web/pull/9736 * Enhancement - Password generator for public links: [#9691](https://github.com/owncloud/web/pull/9691) We've added a new button on the password input field for public links, clicking on that button will fill the input with a generated password. If a password policy is set, those rules will also be applied. https://github.com/owncloud/web/issues/9666 https://github.com/owncloud/web/pull/9691 * Enhancement - Added app banner for mobile devices: [#9696](https://github.com/owncloud/web/pull/9696) We've added an app banner at the top of the web view for mobile devices asking the user whether they want to continue working in the app. By dismissing it, it will not show again until a new session is started, e.g. by opening a new tab. https://github.com/owncloud/web/pull/9696 https://github.com/owncloud/web/pull/9872 * Enhancement - Unify sharing expiration date menu items: [#9706](https://github.com/owncloud/web/pull/9706) We've unified the sharing expiration date menu item for links and regular user/group shares, the delete expiration date button shows up next to the edit expiration date and therefore declutter the UI. https://github.com/owncloud/web/issues/9705 https://github.com/owncloud/web/pull/9706 * Enhancement - New WebDAV implementation in web-client: [#9709](https://github.com/owncloud/web/issues/9709) The WebDAV implementation of the ownCloudSDK has been deprecated in favor of a new implementation in the `web-client` package. For developers this means that every WebDAV request should be made using the WebDAV factory provided by the `ClientService`. E.g. to retrieve files: `const files = await clientService.webdav.listFiles(space)`. https://github.com/owncloud/web/issues/9709 https://github.com/owncloud/web/pull/9764 * Enhancement - Show error if password is on a banned password list: [#9727](https://github.com/owncloud/web/pull/9727) We now show a meaningful error if the user tries to set a public link password, that's on a server side banned password list. https://github.com/owncloud/web/issues/9726 https://github.com/owncloud/web/pull/9727 * Enhancement - Embed mode: [#9768](https://github.com/owncloud/web/issues/9768) We've introduced a so called "Embed Mode" that allows Web to be consumed by another application in a stripped down version. This mode is supposed to be used in the context of selecting or sharing resources. Please see our documentation for more information and a guide on how to set it up. https://github.com/owncloud/web/issues/9768 https://github.com/owncloud/web/pull/9841 https://github.com/owncloud/web/pull/9853 https://github.com/owncloud/web/pull/9863 https://github.com/owncloud/web/pull/9981 https://github.com/owncloud/web/pull/10113 https://github.com/owncloud/web/pull/10071 https://github.com/owncloud/web/pull/10076 https://github.com/owncloud/web/pull/10082 * Enhancement - Handle postprocessing state via Server Sent Events: [#9771](https://github.com/owncloud/web/pull/9771) We've added the functionality to listen for events from the server that update the postprocessing state, this allows the user to see if the postprocessing on a file is finished, without reloading the UI. https://github.com/owncloud/web/issues/9769 https://github.com/owncloud/web/pull/9771 * Enhancement - Registering search providers as extension: [#9794](https://github.com/owncloud/web/pull/9794) Search providers can now be registered as an extension via our extension registry. They need to be of type `search`. The old way of registering and requesting search providers via the event bus has been removed. https://github.com/owncloud/web/pull/9794 * Enhancement - Preview image presentation: [#9806](https://github.com/owncloud/web/pull/9806) We've updated the preview app to have a more user friendly image browsing experience, image zooming, rotation and movement is smoother, images are no longer cropped. https://github.com/owncloud/web/issues/7728 https://github.com/owncloud/web/pull/9806 https://github.com/owncloud/ocis/pull/7409 * Enhancement - Add editors to the application menu: [#9809](https://github.com/owncloud/web/pull/9809) We've added 'text-editor' and 'draw.io' to the application menu, so the user can easily open those apps with a one-click approach. https://github.com/owncloud/web/issues/9807 https://github.com/owncloud/web/pull/9809 https://github.com/owncloud/web/pull/9843 * Enhancement - Registering nav items as extension: [#9814](https://github.com/owncloud/web/pull/9814) Nav items can now be registered with the new extension type `SidebarNavExtension`, which consists of a `AppNavigationItem` and optionally `scopes` (a list of app IDs where the nav item should show). Also, 2 new optional properties have been added to the `AppNavigationItem` interface: `handler` - a click handler that get executes on click. It takes priority over a given route. `priority` - a number that determines the nav item's position. https://github.com/owncloud/web/issues/9239 https://github.com/owncloud/web/pull/9814 * Enhancement - Add new portal into runtime to include footer: [#9815](https://github.com/owncloud/web/pull/9815) We've added a new portal into the application layout of runtime package. This portals allows developers to add new content below the app container. The name of the portal is `app.runtime.footer`. https://github.com/owncloud/web/pull/9815 * Enhancement - Last modified filter chips: [#9831](https://github.com/owncloud/web/pull/9831) We've added a "last modified" filter chip in search to narrow down results based on last modified date. https://github.com/owncloud/web/issues/9779 https://github.com/owncloud/web/pull/9831 * Enhancement - Provide vendor neutral file icons: [#9847](https://github.com/owncloud/web/issues/9847) We replaced the icons for Document, Spreadsheet, Presentation, Forms and Markdown https://github.com/owncloud/web/issues/9847 https://github.com/owncloud/web/pull/9911 https://github.com/owncloud/web/pull/10037 * Enhancement - Search query term linking: [#9854](https://github.com/owncloud/web/pull/9854) We've added the option to search for multiple terms with the same type, at the moment only the tag search benefits from it. This makes it possible to search for multiple resources with different tags in one query. The UI now empowers the user to perform advanced searches like: * all resources with the tags `tag1` OR `tag2` * all resources with the tags `tag1` OR `tag2` AND containing text `content` As a rule of thumb, if a property appears multiple times (like `tag1` OR `tag2`) the search combines the query with an `OR` and different keys are linked with an `AND`. https://github.com/owncloud/web/issues/9829 https://github.com/owncloud/web/pull/9854 * Enhancement - Add permission to delete link passwords when password is enforced: [#9857](https://github.com/owncloud/web/pull/9857) We've added the ability to allow deleting passwords on public links, even if the password is enforced. Therefore, the user needs respective permission, granted by the server. This feature is only possible on public links that have the viewer role. https://github.com/owncloud/ocis/issues/7538 https://github.com/owncloud/web/pull/9857 https://github.com/owncloud/web/pull/9866 * Enhancement - Remove settings icon from searchbar: [#9858](https://github.com/owncloud/web/pull/9858) We removed the settings icon from the searchbar. https://github.com/owncloud/web/issues/9664 https://github.com/owncloud/web/pull/9858 * Enhancement - Search tags filter chips style aligned: [#9864](https://github.com/owncloud/web/pull/9864) We've aligned the style of tags filter in search with the tags panel redesign. https://github.com/owncloud/web/issues/9834 https://github.com/owncloud/web/pull/9864 * Enhancement - Enable dark theme on importer: [#9884](https://github.com/owncloud/web/pull/9884) We've enabled the dark theme on our importer, so the user will see a dark-themed dialog, whenever they activate the dark mode. https://github.com/owncloud/web/issues/9452 https://github.com/owncloud/web/pull/9884 * Enhancement - Create shortcuts: [#9890](https://github.com/owncloud/web/pull/9890) We've added a new functionality to add to shortcuts to web, those can be created via the "+ New" context menu. Users can enter URLs or pick a file via the drop down menu and create a '.url' file. '.url' files can be opened via web or downloaded and opened on the desktop. https://github.com/owncloud/web/issues/9796 https://github.com/owncloud/web/issues/9887 https://github.com/owncloud/web/issues/9850 https://github.com/owncloud/web/issues/9963 https://github.com/owncloud/web/issues/9969 https://github.com/owncloud/web/pull/9890 https://github.com/owncloud/web/pull/9908 https://github.com/owncloud/web/pull/9936 https://github.com/owncloud/web/pull/9971 * Enhancement - Manage tags in details panel: [#9905](https://github.com/owncloud/web/pull/9905) We've enhanced the details panel, now tags are viewable and manageable there. That change makes it easier for the user to manage tags, as they don't need to click an additional context menu action. https://github.com/owncloud/web/issues/9783 https://github.com/owncloud/web/issues/10115 https://github.com/owncloud/web/issues/10114 https://github.com/owncloud/web/pull/9905 https://github.com/owncloud/web/pull/10138 * Enhancement - Reorganize "New" menu: [#9906](https://github.com/owncloud/web/pull/9906) We've reorganized the "new" menu and added optional file extension indicators that will show if the user has file extensions enabled in the files view. https://github.com/owncloud/web/issues/9847 https://github.com/owncloud/web/pull/9906 * Enhancement - Add media type filter chip: [#9912](https://github.com/owncloud/web/pull/9912) We've added a new filter option in the search list to filter by media type. https://github.com/owncloud/web/issues/9780 https://github.com/owncloud/web/issues/9978 https://github.com/owncloud/web/pull/9912 https://github.com/owncloud/web/pull/9942 https://github.com/owncloud/web/pull/10030 * Enhancement - Display error message for upload to locked folder: [#9940](https://github.com/owncloud/web/pull/9940) Added error message to indicate that the upload failed due to folder being locked. https://github.com/owncloud/web/issues/5741 https://github.com/owncloud/web/pull/9940 * Enhancement - Support more audio formats with correct icon: [#9966](https://github.com/owncloud/web/issues/9966) We've updated our list of supported audio formats, so further formats/extensions (`.flac`,`.ogg`, among others) get displayed correctly. https://github.com/owncloud/web/issues/9966 https://github.com/owncloud/web/pull/9985 * Enhancement - Additional languages: [#10007](https://github.com/owncloud/web/issues/10007) We've added some items to the list of available languages because of good translation coverage in transifex. https://github.com/owncloud/web/issues/10007 https://github.com/owncloud/web/pull/10008 https://github.com/owncloud/ocis/pull/7754 * Enhancement - Shared by filter: [#10013](https://github.com/owncloud/web/issues/10013) The received shares on the "Shared with me"-page can now be filtered by the users that created the share. https://github.com/owncloud/web/issues/10013 https://github.com/owncloud/web/pull/10029 * Enhancement - Share search filter: [#10014](https://github.com/owncloud/web/issues/10014) The received shares on the "Shared with me"-page can now be filtered by their names via a text input field. https://github.com/owncloud/web/issues/10014 https://github.com/owncloud/web/pull/10033 * Enhancement - Duplicate space: [#10024](https://github.com/owncloud/web/pull/10024) We've added a new functionality, where users can simply duplicate spaces, via the context menu or batch actions. This includes copying the contents, the space name, subtitle, description, and image but not metadata like tags or members. https://github.com/owncloud/web/issues/10016 https://github.com/owncloud/web/issues/10123 https://github.com/owncloud/web/pull/10024 https://github.com/owncloud/web/pull/10132 https://github.com/owncloud/web/pull/10139 * Enhancement - Default link permission: [#10037](https://github.com/owncloud/web/pull/10037) When creating a new link, Web now respects the default permissions coming from the server. https://github.com/owncloud/web/issues/9919 https://github.com/owncloud/web/pull/10037 * Enhancement - Add explaining contextual helper to spaces overview: [#10047](https://github.com/owncloud/web/pull/10047) https://github.com/owncloud/web/issues/8163 https://github.com/owncloud/web/pull/10047 * Enhancement - Folder tree creation during upload: [#10057](https://github.com/owncloud/web/pull/10057) The performance of the folder tree creation during upload has been improved. https://github.com/owncloud/web/issues/9817 https://github.com/owncloud/web/pull/10057 * Enhancement - Show webdav information in details view: [#10062](https://github.com/owncloud/web/pull/10062) We've added WebDav path and WebDav url information to the details view, this might be usefully when the user wants to add an external WebDav client. By default this view option is disabled but can be enabled via account->preferences view. https://github.com/owncloud/web/issues/9714 https://github.com/owncloud/web/pull/10062 https://github.com/owncloud/web/pull/10190 https://github.com/owncloud/web/pull/10196 * Enhancement - Support mandatory filter while listing users: [#10099](https://github.com/owncloud/web/pull/10099) We've added the configuration option `WEB_OPTION_USER_LIST_REQUIRES_FILTER`. If set to true, an active filter is necessary to list users, as well users won't be listed initially. This might be necessary for big instances with a lot of users, where the server response might take very long or time out while requesting users. https://github.com/owncloud/web/issues/10088 https://github.com/owncloud/web/pull/10099 * Enhancement - Registering quick actions as extension: [#10102](https://github.com/owncloud/web/pull/10102) Quick actions can now registered as extension via our extension registry. They need to be of type `action` and have the `files.quick-action` scope. The old way of registering quick actions via the `quickaction` property of an app is now officially deprecated. https://github.com/owncloud/web/issues/7338 https://github.com/owncloud/web/pull/10102 * Enhancement - Create link modal: [#10104](https://github.com/owncloud/web/pull/10104) When creating a link while passwords are enfoced, Web will now display a modal that lets the user not only set a password, but also the role and an optional expiration date. https://github.com/owncloud/web/issues/10157 https://github.com/owncloud/web/pull/10104 https://github.com/owncloud/web/pull/10145 https://github.com/owncloud/web/pull/10159 https://github.com/owncloud/web/pull/10187 https://github.com/owncloud/web/pull/10194 * Enhancement - Registering right sidebar panels as extension: [#10111](https://github.com/owncloud/web/pull/10111) Right sidebar panels can now be registered as extensions via our extension registry. They need to be of type `sidebarPanel`. The benefit of this is that any app can register additional panels to be shown in the right sidebar while previously the available panels were hardcoded. https://github.com/owncloud/web/pull/10111 https://github.com/owncloud/web/pull/10152 https://github.com/owncloud/web/pull/10175 * Enhancement - File sidebar in viewer and editor apps: [#10111](https://github.com/owncloud/web/pull/10111) Viewer and editor apps now have the same right sidebar available like the `files` app. This makes in place viewing file details, tagging, sharing, and much more possible. https://github.com/owncloud/web/pull/10111 https://github.com/owncloud/web/pull/10152 https://github.com/owncloud/web/pull/10344 * Enhancement - Harmonize AppSwitcher icon colors: [#10224](https://github.com/owncloud/web/pull/10224) We've adjusted the AppSwitcher icon colors to be more inline with the design. https://github.com/owncloud/web/issues/10121 https://github.com/owncloud/web/pull/10224 * Enhancement - Preview app add reset button for images: [#10356](https://github.com/owncloud/web/pull/10356) We've added a reset button in the preview app for images to reset rotation, zoom and position. https://github.com/owncloud/web/issues/9840 https://github.com/owncloud/web/pull/10356 Changelog for ownCloud Web [9.0.0] (2024-02-26) ======================================= The following sections list the changes in ownCloud web 9.0.0 relevant to ownCloud admins and users. [9.0.0]: https://github.com/owncloud/web/compare/v7.1.3...v9.0.0 Summary ------- * Bugfix - User data not updated while altering own user: [#10377](https://github.com/owncloud/web/pull/10377) * Bugfix - Admin settings keyboard navigation: [#10417](https://github.com/owncloud/web/pull/10417) * Bugfix - Folder replace: [#10515](https://github.com/owncloud/web/issues/10515) * Bugfix - Load thumbnail when postprocessing is finished: [#10517](https://github.com/owncloud/web/pull/10517) * Bugfix - Share sidebar icons: [#10551](https://github.com/owncloud/web/pull/10551) * Bugfix - Hidden right sidebar on small screens: [#10598](https://github.com/owncloud/web/issues/10598) * Bugfix - Scope loss when showing search results: [#10634](https://github.com/owncloud/web/issues/10634) * Bugfix - Theme loading without matching theme: [#10657](https://github.com/owncloud/web/issues/10657) * Change - Remove deprecated code: [#7338](https://github.com/owncloud/web/issues/7338) * Change - Remove skeleton app: [#9892](https://github.com/owncloud/web/issues/9892) * Change - Remove deprecated extension point for adding quick actions: [#10102](https://github.com/owncloud/web/pull/10102) * Change - Remove homeFolder option: [#10122](https://github.com/owncloud/web/pull/10122) * Change - Vuex store removed: [#10210](https://github.com/owncloud/web/issues/10210) * Change - Remove ocs user: [#10240](https://github.com/owncloud/web/pull/10240) * Change - Registering app file editors: [#10330](https://github.com/owncloud/web/pull/10330) * Enhancement - Icon for .dcm files: [#9215](https://github.com/owncloud/web/issues/9215) * Enhancement - Tile sizes: [#10018](https://github.com/owncloud/web/issues/10018) * Enhancement - Enable user preferences in public links: [#10207](https://github.com/owncloud/web/pull/10207) * Enhancement - Move ThemeSwitcher into Account Settings: [#10334](https://github.com/owncloud/web/pull/10334) * Enhancement - Top loading bar increase visibility: [#10383](https://github.com/owncloud/web/issues/10383) * Enhancement - Integrate ToastUI editor in the text editor app: [#10390](https://github.com/owncloud/web/pull/10390) * Enhancement - Epub reader app: [#10448](https://github.com/owncloud/web/pull/10448) * Enhancement - Highlight search term in sharing autosuggest list: [#10485](https://github.com/owncloud/web/pull/10485) * Enhancement - Warn user before closing browser when upload is in progress: [#10519](https://github.com/owncloud/web/pull/10519) * Enhancement - Full text search default: [#10534](https://github.com/owncloud/web/issues/10534) * Enhancement - Show locked and processing next to other status indicators: [#10544](https://github.com/owncloud/web/pull/10544) * Enhancement - Set emoji as space icon: [#10546](https://github.com/owncloud/web/pull/10546) * Enhancement - Add SSE events for locking, renaming, deleting, and restoring: [#10586](https://github.com/owncloud/web/pull/10586) * Enhancement - Remember left nav bar state: [#10611](https://github.com/owncloud/web/pull/10611) * Enhancement - Remember right side bar state: [#10612](https://github.com/owncloud/web/pull/10612) * Enhancement - Add details panel to trash: [#10624](https://github.com/owncloud/web/pull/10624) Details ------- * Bugfix - User data not updated while altering own user: [#10377](https://github.com/owncloud/web/pull/10377) We've fixed a bug, where the user data was not updated when altering the own user via the admin settings app, this effected for example the username and email address in the top bar. https://github.com/owncloud/web/issues/10373 https://github.com/owncloud/web/pull/10377 * Bugfix - Admin settings keyboard navigation: [#10417](https://github.com/owncloud/web/pull/10417) We've fixed a bug where keyboard navigation stopped working after deleting a resource in the admin settings app. We also fixed a bug where initial keyboard navigation didn't work, when no resource was selected. https://github.com/owncloud/web/issues/10186 https://github.com/owncloud/web/pull/10417 * Bugfix - Folder replace: [#10515](https://github.com/owncloud/web/issues/10515) The "Replace" conflict option, which previously didn't work at all when trying to copy/move a folder, has been fixed. https://github.com/owncloud/web/issues/10515 https://github.com/owncloud/web/pull/10597 * Bugfix - Load thumbnail when postprocessing is finished: [#10517](https://github.com/owncloud/web/pull/10517) We've fixed a bug when thumbnails weren't properly refreshed when postprocessing is active on server and the file was updated, e.G text files. https://github.com/owncloud/web/issues/10486 https://github.com/owncloud/web/pull/10517 * Bugfix - Share sidebar icons: [#10551](https://github.com/owncloud/web/pull/10551) We've fixed a bug where the share invite search dropdown didn't have icons in some cases. https://github.com/owncloud/web/pull/10551 * Bugfix - Hidden right sidebar on small screens: [#10598](https://github.com/owncloud/web/issues/10598) The issue causing the right sidebar to not display on screens smaller than 960px has been fixed. https://github.com/owncloud/web/issues/10598 https://github.com/owncloud/web/pull/10643 * Bugfix - Scope loss when showing search results: [#10634](https://github.com/owncloud/web/issues/10634) Clicking "Show n results" in the search preview no longer loses the search scope. https://github.com/owncloud/web/issues/10634 https://github.com/owncloud/web/pull/10653 * Bugfix - Theme loading without matching theme: [#10657](https://github.com/owncloud/web/issues/10657) We've fixed an issue where theme loading would break when there was no matching oC theme found for the user's OS setting. For example, this occurred when a user's OS setting was configured to "dark," but the instance of oC did not offer a dark theme. https://github.com/owncloud/web/issues/10657 https://github.com/owncloud/web/pull/10659 * Change - Remove deprecated code: [#7338](https://github.com/owncloud/web/issues/7338) We have removed the `getToken` getter from our vuex store and support for the deprecated `user-management` name for the `admin-settings` app. See linked "Deprecations" issue for more information. https://github.com/owncloud/web/issues/7338 https://github.com/owncloud/web/pull/9959 * Change - Remove skeleton app: [#9892](https://github.com/owncloud/web/issues/9892) Due to improvements in the extension system in general, we have removed the skeleton app. Documentation regarding the extension API and guides/examples can be found in the dev docs. https://github.com/owncloud/web/issues/9892 https://github.com/owncloud/web/pull/10067 * Change - Remove deprecated extension point for adding quick actions: [#10102](https://github.com/owncloud/web/pull/10102) BREAKING CHANGE for developers: The old way of registering quick actions via the `quickaction` property of an app has been removed. Quick actions should be registered as extension via our extension registry. They need to be of type `action` and have the `files.quick-action` scope. https://github.com/owncloud/web/pull/10102 https://github.com/owncloud/web/pull/10223 * Change - Remove homeFolder option: [#10122](https://github.com/owncloud/web/pull/10122) We have removed the `homeFolder` option as it was originally implemented and used by CERN but isn't needed anymore. https://github.com/owncloud/web/pull/10122 * Change - Vuex store removed: [#10210](https://github.com/owncloud/web/issues/10210) BREAKING CHANGE for developers: The vuex store has been removed in favor of pinia. All store modules have been migrated to a pinia store module. Please see the linked issue down below for a list of all migrated stores and how to use them now. There are a number of things that have been removed and/or moved into pinia composables instead: Globals: - `store` and `$store` variables have been removed. - `ConfigurationManager` has been removed. The config now sits inside the configuration store. App framework: - `announceStore` has been removed. There is no need for apps to announce stores to the runtime. If you need to use a store in your app, simply create a pinia store module and use it. - `announceExtensions` has been removed. The proper way for an app to register file extensions is via the `extensions` property inside the `appInfo` object. - `requestStore` has been removed. There is no need to request specific stores. All stores that `web-pkg` provides can be imported and accessed via their composables. - `enabled` callback as well as the `name` callback of the `AppNavigationItem` no longer have the `capabilities` parameter. - `store` param of the `ClassicApplicationScript` has been removed. Composables: - `useStore` has been removed. Use the pinia for the store you want to use instead. - `useAccessToken` has been removed. It now sits inside the auth store. - `usePublicLinkContext` has been removed. It now sits inside the auth store. - `usePublicLinkPassword` has been removed. It now sits inside the auth store. - `usePublicLinkToken` has been removed. It now sits inside the auth store. - `useUserContext` has been removed. It now sits inside the auth store. - `useConfigurationManager` has been removed. The config now sits inside the configuration store. - `use...Capability` composables have been removed. Capablities now sit inside the capability store. For store specific changes please see the linked issue and PRs down below. https://github.com/owncloud/web/issues/10210 https://github.com/owncloud/web/pull/10212 https://github.com/owncloud/web/pull/10240 https://github.com/owncloud/web/pull/10307 https://github.com/owncloud/web/pull/10309 https://github.com/owncloud/web/pull/10316 https://github.com/owncloud/web/pull/10323 https://github.com/owncloud/web/pull/10326 https://github.com/owncloud/web/pull/10329 https://github.com/owncloud/web/pull/10331 https://github.com/owncloud/web/pull/10336 https://github.com/owncloud/web/pull/10338 https://github.com/owncloud/web/pull/10341 https://github.com/owncloud/web/pull/10346 https://github.com/owncloud/web/pull/10349 https://github.com/owncloud/web/pull/10362 https://github.com/owncloud/web/pull/10363 https://github.com/owncloud/web/pull/10368 https://github.com/owncloud/web/pull/10372 * Change - Remove ocs user: [#10240](https://github.com/owncloud/web/pull/10240) BREAKING CHANGE for developers: The user from the ocs api has been removed in favor of the graph user. That means the user that can be retrieved from the store looks slightly different than the OCS user (though it still holds the same information). For more details please see the linked PR down below. https://github.com/owncloud/web/issues/10210 https://github.com/owncloud/web/pull/10240 * Change - Registering app file editors: [#10330](https://github.com/owncloud/web/pull/10330) BREAKING CHANGE for developers: The `announceExtensions` method inside the app's `ready` hook, which could be used to register file editors, has been removed. Developers should use the `extensions` property inside the `appInfo` object instead. Note that the `handler` property of such an extension has been renamed to `createFileHandler`. https://github.com/owncloud/web/issues/10210 https://github.com/owncloud/web/pull/10330 https://github.com/owncloud/web/pull/10346 https://github.com/owncloud/web/pull/10357 https://github.com/owncloud/web/pull/10361 * Enhancement - Icon for .dcm files: [#9215](https://github.com/owncloud/web/issues/9215) We've added a custom icon for medical images of the file type dcm. https://github.com/owncloud/web/issues/9215 https://github.com/owncloud/web/pull/10172 * Enhancement - Tile sizes: [#10018](https://github.com/owncloud/web/issues/10018) We've adjusted the tile sizes to have a bigger base size and smaller stepping from one tile size to the next. In addition to that the default tile size has been changed to the second stepping, so that initially both space tiles and file/folder tiles have a sufficient size for reading longer names. https://github.com/owncloud/web/issues/10018 https://github.com/owncloud/web/issues/10638 https://github.com/owncloud/web/pull/10558 https://github.com/owncloud/web/pull/10646 * Enhancement - Enable user preferences in public links: [#10207](https://github.com/owncloud/web/pull/10207) We've enabled user preferences in public links, so any user even without an account can open preferences in a public link context and for example change the current language. https://github.com/owncloud/web/pull/10207 * Enhancement - Move ThemeSwitcher into Account Settings: [#10334](https://github.com/owncloud/web/pull/10334) We've moved the ThemeSwitcher to the account settings page. https://github.com/owncloud/web/issues/10181 https://github.com/owncloud/web/pull/10334 https://github.com/owncloud/web/pull/10342 * Enhancement - Top loading bar increase visibility: [#10383](https://github.com/owncloud/web/issues/10383) We've improved the visibility in the top loading bar, the height has been increased along with the color contrast. https://github.com/owncloud/web/issues/10383 * Enhancement - Integrate ToastUI editor in the text editor app: [#10390](https://github.com/owncloud/web/pull/10390) We've integrated the ToastUI editor in our text editor app. This makes writing markdown much easier, since the users will have access to a markdown compatible toolbar. Code syntax highlighting is also supported. https://github.com/owncloud/web/issues/9495 https://github.com/owncloud/web/issues/10385 https://github.com/owncloud/web/pull/10390 https://github.com/owncloud/web/pull/10467 https://github.com/owncloud/web/pull/10465 * Enhancement - Epub reader app: [#10448](https://github.com/owncloud/web/pull/10448) We've added a epub reader app to open ebooks in web. This includes a variety of functionalities such as a comprehensive chapter list, font size adjustment options, and the ability to remember the user's last reading position even after the app is closed. https://github.com/owncloud/web/issues/10464 https://github.com/owncloud/web/pull/10448 https://github.com/owncloud/web/pull/10462 https://github.com/owncloud/web/pull/10468 https://github.com/owncloud/web/pull/10469 https://github.com/owncloud/web/pull/10470 https://github.com/owncloud/web/pull/10503 * Enhancement - Highlight search term in sharing autosuggest list: [#10485](https://github.com/owncloud/web/pull/10485) We've adjusted the sharing autosuggest list, so the entered search term will be highlighted in the respective name and mail of the found users. https://github.com/owncloud/web/issues/10453 https://github.com/owncloud/web/pull/10485 * Enhancement - Warn user before closing browser when upload is in progress: [#10519](https://github.com/owncloud/web/pull/10519) We've added a warning message for the user, if they try to close the browser while upload is in progress. https://github.com/owncloud/web/issues/10500 https://github.com/owncloud/web/pull/10519 * Enhancement - Full text search default: [#10534](https://github.com/owncloud/web/issues/10534) Full text search is now enabled by default when searching for files if the server supports it. https://github.com/owncloud/web/issues/10534 https://github.com/owncloud/web/pull/10626 * Enhancement - Show locked and processing next to other status indicators: [#10544](https://github.com/owncloud/web/pull/10544) We've moved the processing and lock indicators to the status table column so all indicators are easy accessible at the same spot. We also show the respective lock and processing states in the tiles view. https://github.com/owncloud/web/issues/10538 https://github.com/owncloud/web/pull/10544 * Enhancement - Set emoji as space icon: [#10546](https://github.com/owncloud/web/pull/10546) We've added a new feature to set emojis as space icon, to do so, the user needs to click on the 'Set icon' button in the context menu of the respective space and has to select an emoji from the emoji picker. https://github.com/owncloud/web/issues/10471 https://github.com/owncloud/web/pull/10546 * Enhancement - Add SSE events for locking, renaming, deleting, and restoring: [#10586](https://github.com/owncloud/web/pull/10586) We've added Server-Sent Events (SSE) for locking, renaming, deleting, and restoring actions. This enhancement ensures that these actions are instantly propagated to other browsers and devices where the logged in user has access the relevant files and folders. Now, users can experience real-time updates across all their devices. https://github.com/owncloud/web/issues/9849 https://github.com/owncloud/web/issues/9781 https://github.com/owncloud/web/issues/9848 https://github.com/owncloud/web/pull/10586 https://github.com/owncloud/web/pull/10572 https://github.com/owncloud/web/pull/10567 * Enhancement - Remember left nav bar state: [#10611](https://github.com/owncloud/web/pull/10611) We've implemented a feature to remember the state of the left navbar. Now, when the user reopens the web application, the navbar will remain in its last state, either fully open or collapsed, based on the user's previous interaction with it. https://github.com/owncloud/web/issues/9613 https://github.com/owncloud/web/pull/10611 * Enhancement - Remember right side bar state: [#10612](https://github.com/owncloud/web/pull/10612) We've implemented a feature to remember the state of the right side bar. Now, when the user reopens the web application, the right side bar will remain in its last state, either open or closed, based on the user's previous interaction with it. https://github.com/owncloud/web/issues/9613 https://github.com/owncloud/web/pull/10612 * Enhancement - Add details panel to trash: [#10624](https://github.com/owncloud/web/pull/10624) We've added the details panel to the right side bar, when the user selects a resource in the trash. We also added a panel for multi select. https://github.com/owncloud/web/issues/10620 https://github.com/owncloud/web/issues/10616 https://github.com/owncloud/web/pull/10624 Changelog for ownCloud Web [7.1.3] (2023-12-15) ======================================= The following sections list the changes in ownCloud web 7.1.3 relevant to ownCloud admins and users. [7.1.3]: https://github.com/owncloud/web/compare/v7.1.2...v7.1.3 Summary ------- * Bugfix - PDF loading Safari: [#9483](https://github.com/owncloud/web/issues/9483) * Bugfix - Set or remove expiration date on group share not possible: [#9513](https://github.com/owncloud/web/pull/9513) * Bugfix - Internal public link resolving: [#9587](https://github.com/owncloud/web/pull/9587) * Bugfix - Audio- & video-loading on Shared with me page: [#9593](https://github.com/owncloud/web/issues/9593) * Bugfix - Tiles view accessibility: [#9670](https://github.com/owncloud/web/pull/9670) * Bugfix - Zoom in preview app not working with all browsers: [#10137](https://github.com/owncloud/web/pull/10137) * Bugfix - Created file missing extension when file extensions not shown is active: [#10170](https://github.com/owncloud/web/issues/10170) Details ------- * Bugfix - PDF loading Safari: [#9483](https://github.com/owncloud/web/issues/9483) Loading PDF files with Safari has been fixed. https://github.com/owncloud/web/issues/9483 https://github.com/owncloud/web/pull/9565 * Bugfix - Set or remove expiration date on group share not possible: [#9513](https://github.com/owncloud/web/pull/9513) We've fixed a bug where setting or removing an expiration on a group share wasn't possible. https://github.com/owncloud/web/issues/8419 https://github.com/owncloud/web/pull/9513 * Bugfix - Internal public link resolving: [#9587](https://github.com/owncloud/web/pull/9587) An issue where internally resolved public links instantly triggered the default file action has been fixed. https://github.com/owncloud/web/issues/9578 https://github.com/owncloud/web/pull/9587 * Bugfix - Audio- & video-loading on Shared with me page: [#9593](https://github.com/owncloud/web/issues/9593) Loading audio and video on the Shared with me page with the preview app has been fixed. https://github.com/owncloud/web/issues/9593 https://github.com/owncloud/web/pull/9595 * Bugfix - Tiles view accessibility: [#9670](https://github.com/owncloud/web/pull/9670) Navigating via tab and enter in the tiles view has been fixed. https://github.com/owncloud/web/issues/9633 https://github.com/owncloud/web/pull/9670 * Bugfix - Zoom in preview app not working with all browsers: [#10137](https://github.com/owncloud/web/pull/10137) We fixed a bug where zoom in and zoom out not working in preview app with all browsers, for example in Firefox. https://github.com/owncloud/web/pull/10137 * Bugfix - Created file missing extension when file extensions not shown is active: [#10170](https://github.com/owncloud/web/issues/10170) We've fixed a bug where the file extension was missing, when the user set the file extensions not shown configuration option. This affected files that are handled via external applications, for example Microsoft Excel. https://github.com/owncloud/web/issues/10170 https://github.com/owncloud/web/pull/10169 Changelog for ownCloud Web [7.1.2] (2023-11-16) ======================================= The following sections list the changes in ownCloud web 7.1.2 relevant to ownCloud admins and users. [7.1.2]: https://github.com/owncloud/web/compare/v7.1.1...v7.1.2 Summary ------- * Bugfix - Respect "details"-query on private links: [#9868](https://github.com/owncloud/web/issues/9868) * Bugfix - Private link resolving via share jail ID: [#9913](https://github.com/owncloud/web/pull/9913) Details ------- * Bugfix - Respect "details"-query on private links: [#9868](https://github.com/owncloud/web/issues/9868) The "details"-query on private links is now being respected properly when `openLinksWithDefaultApp` is enabled. This fixed an issue where the sidebar would not open despite requesting to do so. https://github.com/owncloud/web/issues/9868 https://github.com/owncloud/web/pull/9947 * Bugfix - Private link resolving via share jail ID: [#9913](https://github.com/owncloud/web/pull/9913) Resolving private links via the share jail ID has been fixed. https://github.com/owncloud/web/issues/9867 https://github.com/owncloud/web/pull/9913 Changelog for ownCloud Web [7.1.1] (2023-10-25) ======================================= The following sections list the changes in ownCloud web 7.1.1 relevant to ownCloud admins and users. [7.1.1]: https://github.com/owncloud/web/compare/v7.1.0...v7.1.1 Summary ------- * Bugfix - Resolving external URLs: [#9804](https://github.com/owncloud/web/issues/9804) Details ------- * Bugfix - Resolving external URLs: [#9804](https://github.com/owncloud/web/issues/9804) Resolving external URLs when only the file ID is given has been fixed. https://github.com/owncloud/web/issues/9804 https://github.com/owncloud/web/pull/9833 Changelog for ownCloud Web [7.1.0] (2023-08-23) ======================================= The following sections list the changes in ownCloud web 7.1.0 relevant to ownCloud admins and users. [7.1.0]: https://github.com/owncloud/web/compare/v7.0.2...v7.1.0 Summary ------- * Bugfix - Favorites list update on removal: [#9078](https://github.com/owncloud/web/pull/9078) * Bugfix - Space creation does not block reoccurring event: [#9213](https://github.com/owncloud/web/pull/9213) * Bugfix - Uploading to folders that contain special characters: [#9247](https://github.com/owncloud/web/issues/9247) * Bugfix - Relative user quota display limited to two decimals: [#9259](https://github.com/owncloud/web/issues/9259) * Bugfix - Remember location after token invalidation: [#9261](https://github.com/owncloud/web/issues/9261) * Bugfix - Authenticated public links breaking uploads: [#9299](https://github.com/owncloud/web/pull/9299) * Bugfix - Switch columns displayed on small screens in "Shared with me" view: [#9315](https://github.com/owncloud/web/issues/9315) * Bugfix - Media controls overflow on mobile screens: [#9351](https://github.com/owncloud/web/pull/9351) * Bugfix - Space editors see empty trashbin and delete actions in space trashbin: [#9389](https://github.com/owncloud/web/pull/9389) * Bugfix - Merging folders: [#9461](https://github.com/owncloud/web/issues/9461) * Enhancement - Add hasPriority property for editors per extension: [#7967](https://github.com/owncloud/web/pull/7967) * Enhancement - Improve extension app topbar: [#8422](https://github.com/owncloud/web/issues/8422) * Enhancement - Open individually shared file in dedicated view: [#8445](https://github.com/owncloud/web/issues/8445) * Enhancement - Shrink table columns: [#8599](https://github.com/owncloud/web/issues/8599) * Enhancement - Add whitespace context-menu: [#8921](https://github.com/owncloud/web/pull/8921) * Enhancement - Deny share access: [#8983](https://github.com/owncloud/web/pull/8983) * Enhancement - Long breadcrumb strategy: [#8984](https://github.com/owncloud/web/pull/8984) * Enhancement - Search tag filter: [#9044](https://github.com/owncloud/web/pull/9044) * Enhancement - Single file link open with default app: [#9046](https://github.com/owncloud/web/pull/9046) * Enhancement - Drag & drop on parent folder: [#9052](https://github.com/owncloud/web/pull/9052) * Enhancement - Respect archiver limits: [#9055](https://github.com/owncloud/web/pull/9055) * Enhancement - Enable download (archive) on spaces: [#9056](https://github.com/owncloud/web/issues/9056) * Enhancement - Search full-text filter: [#9059](https://github.com/owncloud/web/pull/9059) * Enhancement - Advanced search button: [#9077](https://github.com/owncloud/web/pull/9077) * Enhancement - Search breadcrumb: [#9077](https://github.com/owncloud/web/pull/9077) * Enhancement - Use app icons for files: [#9088](https://github.com/owncloud/web/pull/9088) * Enhancement - Upload file on paste: [#9140](https://github.com/owncloud/web/pull/9140) * Enhancement - Cloud import: [#9151](https://github.com/owncloud/web/issues/9151) * Enhancement - Privacy statement in account menu: [#9174](https://github.com/owncloud/web/issues/9174) * Enhancement - Add login button to top bar: [#9178](https://github.com/owncloud/web/pull/9178) * Enhancement - Project spaces list viewmode: [#9195](https://github.com/owncloud/web/pull/9195) * Enhancement - Add pagination options to admin settings: [#9199](https://github.com/owncloud/web/pull/9199) * Enhancement - Add batch actions to search result list: [#9200](https://github.com/owncloud/web/pull/9200) * Enhancement - Restyle possible sharees: [#9216](https://github.com/owncloud/web/issues/9216) * Enhancement - Streamline URL query names: [#9226](https://github.com/owncloud/web/pull/9226) * Enhancement - Access denied page update message: [#9263](https://github.com/owncloud/web/pull/9263) * Enhancement - Hover tooltips in topbar: [#9280](https://github.com/owncloud/web/issues/9280) * Enhancement - Search list add highlighted file content: [#9294](https://github.com/owncloud/web/pull/9294) * Enhancement - Resolve pulic links to their actual location: [#9299](https://github.com/owncloud/web/pull/9299) * Enhancement - Add search location filter: [#9304](https://github.com/owncloud/web/pull/9304) * Enhancement - Ambiguation for URL view mode params: [#9344](https://github.com/owncloud/web/pull/9344) * Enhancement - Batch actions redesign: [#9346](https://github.com/owncloud/web/pull/9346) * Enhancement - Tag comma separation on client side: [#9348](https://github.com/owncloud/web/pull/9348) * Enhancement - User notification for blocked pop-ups and redirects: [#9377](https://github.com/owncloud/web/issues/9377) * Enhancement - Allow local storage for auth token: [#9386](https://github.com/owncloud/web/pull/9386) * Enhancement - Button styling: [#9394](https://github.com/owncloud/web/pull/9394) * Enhancement - Add error log to upload dialog: [#9436](https://github.com/owncloud/web/pull/9436) * Enhancement - Error notifications include x-request-id: [#9482](https://github.com/owncloud/web/pull/9482) Details ------- * Bugfix - Favorites list update on removal: [#9078](https://github.com/owncloud/web/pull/9078) The Favorites list is now updating when a resource is removed from the list in this view https://github.com/owncloud/web/pull/9078 https://github.com/owncloud/web/pull/9237 * Bugfix - Space creation does not block reoccurring event: [#9213](https://github.com/owncloud/web/pull/9213) We've fixed a bug that caused multiple spaces to be created in case of a slow internet connection and if the user clicks confirm multiple times. https://github.com/owncloud/web/issues/9189 https://github.com/owncloud/web/pull/9213 * Bugfix - Uploading to folders that contain special characters: [#9247](https://github.com/owncloud/web/issues/9247) Uploading resources to folders that contain special characters in their names has been fixed. https://github.com/owncloud/web/issues/9247 https://github.com/owncloud/web/pull/9290 * Bugfix - Relative user quota display limited to two decimals: [#9259](https://github.com/owncloud/web/issues/9259) If the relative user quota is being reported too precisely from the backend, there was a chance of small display issue. This has been resolved by limiting the number of decimals that get displayed for the relative quota to two. https://github.com/owncloud/web/issues/9259 https://github.com/owncloud/web/pull/9369 * Bugfix - Remember location after token invalidation: [#9261](https://github.com/owncloud/web/issues/9261) Fixed an issue where token invalidation in the IDP would result in losing the current location. So logging in after token invalidation now correctly redirects to the page the user was before. https://github.com/owncloud/web/issues/9261 https://github.com/owncloud/web/pull/9364 * Bugfix - Authenticated public links breaking uploads: [#9299](https://github.com/owncloud/web/pull/9299) Opening public links in an authenticated context no longer breaks uploading resources. https://github.com/owncloud/web/issues/9298 https://github.com/owncloud/web/pull/9299 * Bugfix - Switch columns displayed on small screens in "Shared with me" view: [#9315](https://github.com/owncloud/web/issues/9315) Visibility of the resource table columns "Shared by" and "Shared with" has been switched for small screen and tablets (screen size <1200px) in the "Shared with me" view. https://github.com/owncloud/web/issues/9315 https://github.com/owncloud/web/pull/9320 * Bugfix - Media controls overflow on mobile screens: [#9351](https://github.com/owncloud/web/pull/9351) Media controls overflowed on smaller 9:16 screens because it is absolutely positioned and centered using transform property, its margin caused the transform operation to not calculate the center properly (the latter also affected desktop but was merely visible). https://github.com/owncloud/web/issues/9318 https://github.com/owncloud/web/pull/9351 * Bugfix - Space editors see empty trashbin and delete actions in space trashbin: [#9389](https://github.com/owncloud/web/pull/9389) We've fixed a bug, where space editors were able to see the empty trashbin and delete buttons in the space's trashbin. This is only allowed for space managers. https://github.com/owncloud/web/issues/9385 https://github.com/owncloud/web/pull/9389 * Bugfix - Merging folders: [#9461](https://github.com/owncloud/web/issues/9461) Merging folders as option to handle name conflicts has been fixed. https://github.com/owncloud/web/issues/9461 https://github.com/owncloud/web/pull/9477 * Enhancement - Add hasPriority property for editors per extension: [#7967](https://github.com/owncloud/web/pull/7967) HasPriority property has been added to replace canBeDefault. The property allows to set priority for opening with editors per extension. https://github.com/owncloud/web/pull/7967 * Enhancement - Improve extension app topbar: [#8422](https://github.com/owncloud/web/issues/8422) We have redesigned the app topbar used in extensions and added more file actions. https://github.com/owncloud/web/issues/8422 https://github.com/owncloud/web/pull/8442 https://github.com/owncloud/web/pull/8447 * Enhancement - Open individually shared file in dedicated view: [#8445](https://github.com/owncloud/web/issues/8445) We have added functionality to open a single, publicly shared file in a different view (instead of showing it in a table). https://github.com/owncloud/web/issues/8445 https://github.com/owncloud/web/pull/8440 https://github.com/owncloud/web/pull/8446 * Enhancement - Shrink table columns: [#8599](https://github.com/owncloud/web/issues/8599) We've decided to shrink most table columns in the file list to their absolute minimum (Shares, Size, Modified/Shared/Delete date, Actions) so that the file name can take up more horizontal space. https://github.com/owncloud/web/issues/8599 https://github.com/owncloud/web/pull/8978 * Enhancement - Add whitespace context-menu: [#8921](https://github.com/owncloud/web/pull/8921) We've added a generic context-menu for right clicking on whitespace. https://github.com/owncloud/web/issues/5861 https://github.com/owncloud/web/pull/8921 * Enhancement - Deny share access: [#8983](https://github.com/owncloud/web/pull/8983) We've added a way to deny the share access in sub folders in a share or space. This allows the share editors to restrict access to certain resources within a share for certain share receivers. https://github.com/owncloud/web/issues/7180 https://github.com/owncloud/web/pull/8983 * Enhancement - Long breadcrumb strategy: [#8984](https://github.com/owncloud/web/pull/8984) We've implemented a new solution to deal with long breadcrumbs even with long folder names. https://github.com/owncloud/web/issues/6731 https://github.com/owncloud/web/pull/8984 * Enhancement - Search tag filter: [#9044](https://github.com/owncloud/web/pull/9044) The search result page now has a tag filter which can be used to filter the displayed search result by tags. https://github.com/owncloud/web/issues/9054 https://github.com/owncloud/web/pull/9044 https://github.com/owncloud/web/pull/9096 * Enhancement - Single file link open with default app: [#9046](https://github.com/owncloud/web/pull/9046) We've added a configurable functionality, that a single shared file via link will be opened in default app, for example text-editor. https://github.com/owncloud/web/issues/9045 https://github.com/owncloud/web/pull/9046 https://github.com/owncloud/web/pull/9307 * Enhancement - Drag & drop on parent folder: [#9052](https://github.com/owncloud/web/pull/9052) We've added the possibility to drag & drop files onto the breadcrumb to move items into parent folders in a fast and intuitive way. https://github.com/owncloud/web/issues/9043 https://github.com/owncloud/web/pull/9052 * Enhancement - Respect archiver limits: [#9055](https://github.com/owncloud/web/pull/9055) The archiver service announces a limit for the accumulated filesize of the currently selected resources. The web UI now respects those limits and shows a disabled download button once the limit has been reached. https://github.com/owncloud/web/issues/8456 https://github.com/owncloud/web/pull/9055 * Enhancement - Enable download (archive) on spaces: [#9056](https://github.com/owncloud/web/issues/9056) We've enabled the download action for spaces, which downloads the space's content as archive. https://github.com/owncloud/web/issues/9056 https://github.com/owncloud/web/pull/9095 * Enhancement - Search full-text filter: [#9059](https://github.com/owncloud/web/pull/9059) The search result page now has a full-text filter which can be used to filter the displayed files by their content. https://github.com/owncloud/web/issues/9058 https://github.com/owncloud/web/pull/9059 https://github.com/owncloud/web/pull/9087 https://github.com/owncloud/web/pull/9096 https://github.com/owncloud/web/pull/9332 * Enhancement - Advanced search button: [#9077](https://github.com/owncloud/web/pull/9077) The search bar now has a button to open the search result page directly to display all available search filters (= advanced search). https://github.com/owncloud/web/issues/9072 https://github.com/owncloud/web/pull/9077 * Enhancement - Search breadcrumb: [#9077](https://github.com/owncloud/web/pull/9077) The search result page now has a breadcrumb item to tell the user where they are. https://github.com/owncloud/web/issues/9072 https://github.com/owncloud/web/pull/9077 * Enhancement - Use app icons for files: [#9088](https://github.com/owncloud/web/pull/9088) Icons of apps are now rendered next to files that can be opened with them. Until now oC Web itself defined icons for file types, with this change an icon can be shown even if oC Web does not know the file type - there just needs to be an app loaded that supports opening the file type. https://github.com/owncloud/web/pull/9088 * Enhancement - Upload file on paste: [#9140](https://github.com/owncloud/web/pull/9140) We've implemented the possibility to upload a single file in the clipboard from anywhere via paste. https://github.com/owncloud/web/issues/9047 https://github.com/owncloud/web/pull/9140 * Enhancement - Cloud import: [#9151](https://github.com/owncloud/web/issues/9151) An action to import files from other external cloud providers has been added. OneDrive is currently the only supported option. https://github.com/owncloud/web/issues/9151 https://github.com/owncloud/web/issues/9445 https://github.com/owncloud/web/issues/9469 https://github.com/owncloud/web/issues/9454 https://github.com/owncloud/web/issues/9486 https://github.com/owncloud/web/pull/9150 https://github.com/owncloud/web/pull/9282 https://github.com/owncloud/web/pull/9291 https://github.com/owncloud/web/pull/9374 https://github.com/owncloud/web/pull/9460 https://github.com/owncloud/web/pull/9471 https://github.com/owncloud/web/pull/9470 https://github.com/owncloud/web/pull/9487 * Enhancement - Privacy statement in account menu: [#9174](https://github.com/owncloud/web/issues/9174) We've added the option to add an imprint and privacy statement via the config. https://github.com/owncloud/web/issues/9174 https://github.com/owncloud/web/pull/9180 * Enhancement - Add login button to top bar: [#9178](https://github.com/owncloud/web/pull/9178) We've added a login button to the top bar, this might be handy if a user receives a public link, and they want to login with their user account. https://github.com/owncloud/web/issues/9177 https://github.com/owncloud/web/pull/9178 https://github.com/owncloud/web/pull/9187 * Enhancement - Project spaces list viewmode: [#9195](https://github.com/owncloud/web/pull/9195) We've added a viewmode switcher to the project spaces overview with an additional list viewmode. https://github.com/owncloud/web/issues/9204 https://github.com/owncloud/web/pull/9195 * Enhancement - Add pagination options to admin settings: [#9199](https://github.com/owncloud/web/pull/9199) We've added pagination options to the admin settings app, furthermore we've added more granular pagination options to the files app. https://github.com/owncloud/web/issues/9188 https://github.com/owncloud/web/pull/9199 * Enhancement - Add batch actions to search result list: [#9200](https://github.com/owncloud/web/pull/9200) We've modified our batch actions so that they now finally work on the search result page as well. https://github.com/owncloud/web/issues/9230 https://github.com/owncloud/web/pull/9200 https://github.com/owncloud/web/pull/9279 * Enhancement - Restyle possible sharees: [#9216](https://github.com/owncloud/web/issues/9216) We've restyled the list of sharee suggestions when sharing files and folders. https://github.com/owncloud/web/issues/9216 https://github.com/owncloud/web/pull/9273 * Enhancement - Streamline URL query names: [#9226](https://github.com/owncloud/web/pull/9226) We've used different URL query names for the pagination in the files app (`items-per-page`) and admin-settings app (`admin-settings-items-per-page`). We've streamlined this to use the same query name in all apps and still keep the possibility to have independent page sizes in different apps. https://github.com/owncloud/web/pull/9226 * Enhancement - Access denied page update message: [#9263](https://github.com/owncloud/web/pull/9263) We've updated the access denied page message to be more specific and give the user a link to a help page. https://github.com/owncloud/web/issues/9051 https://github.com/owncloud/web/pull/9263 * Enhancement - Hover tooltips in topbar: [#9280](https://github.com/owncloud/web/issues/9280) We have added more hoverable tooltips in the topbar to align the behavior. https://github.com/owncloud/web/issues/9280 https://github.com/owncloud/web/pull/9283 * Enhancement - Search list add highlighted file content: [#9294](https://github.com/owncloud/web/pull/9294) We've introduced a feature that shows a highlighted result summary matching the search term in the search list, if there are occurrences in the found files. https://github.com/owncloud/web/issues/9295 https://github.com/owncloud/web/pull/9294 * Enhancement - Resolve pulic links to their actual location: [#9299](https://github.com/owncloud/web/pull/9299) Public links are now being resolved to their actual location if the user has proper access to the resource (either via space or share). https://github.com/owncloud/web/issues/9296 https://github.com/owncloud/web/pull/9299 * Enhancement - Add search location filter: [#9304](https://github.com/owncloud/web/pull/9304) We've added the option to set the search location in the searchbar. https://github.com/owncloud/web/issues/9258 https://github.com/owncloud/web/issues/9428 https://github.com/owncloud/web/issues/9439 https://github.com/owncloud/web/pull/9304 https://github.com/owncloud/web/pull/9432 https://github.com/owncloud/web/pull/9456 * Enhancement - Ambiguation for URL view mode params: [#9344](https://github.com/owncloud/web/pull/9344) Show tiles view in projects spaces per default, changed route+storage params to be different from one another. https://github.com/owncloud/web/issues/9337 https://github.com/owncloud/web/pull/9344 * Enhancement - Batch actions redesign: [#9346](https://github.com/owncloud/web/pull/9346) We've improved the overall look and feel of the top bar batch actions. This includes the new mechanism that the batch actions show up as well when only one item is selected, but also includes design changes. https://github.com/owncloud/web/issues/9340 https://github.com/owncloud/web/issues/9352 https://github.com/owncloud/web/pull/9346 * Enhancement - Tag comma separation on client side: [#9348](https://github.com/owncloud/web/pull/9348) Tags containing commas are now split up into separate tags on client side to match server side processing behaviour. https://github.com/owncloud/web/issues/9224 https://github.com/owncloud/web/pull/9348 * Enhancement - User notification for blocked pop-ups and redirects: [#9377](https://github.com/owncloud/web/issues/9377) We have added some functionality that reminds the user to check their browser settings so that redirects and e.g. opening a resource in a new tab can work properly. https://github.com/owncloud/web/issues/9377 https://github.com/owncloud/web/pull/9383 https://github.com/owncloud/web/pull/9419 * Enhancement - Allow local storage for auth token: [#9386](https://github.com/owncloud/web/pull/9386) We've introduced a new env var WEB_OPTION_TOKEN_STORAGE_LOCAL, when set to true(default), the auth token will be stored in the browser's local storage instead the session storage, this will effect in a persisted login state across multiple browser tabs. https://github.com/owncloud/web/issues/9325 https://github.com/owncloud/web/pull/9386 * Enhancement - Button styling: [#9394](https://github.com/owncloud/web/pull/9394) Button styling (colors and hover colors) has been improved in both light and dark mode to be more consistent among various button styles (colors for filled and outline buttons) https://github.com/owncloud/web/issues/9353 https://github.com/owncloud/web/issues/9354 https://github.com/owncloud/web/pull/9394 https://github.com/owncloud/web/pull/9459 * Enhancement - Add error log to upload dialog: [#9436](https://github.com/owncloud/web/pull/9436) We've added a error log to the upload dialog, so if an upload fails the user can copy the log and might hand it over to their admin. https://github.com/owncloud/web/issues/9430 https://github.com/owncloud/web/pull/9436 https://github.com/owncloud/web/pull/9426 * Enhancement - Error notifications include x-request-id: [#9482](https://github.com/owncloud/web/pull/9482) We've added a details box for the notifications, that pop up if an operation (e.g upload, download, add a share) fails. This box contains the x-request-id and may help to debug the error on the server side. https://github.com/owncloud/web/issues/9449 https://github.com/owncloud/web/pull/9482 https://github.com/owncloud/web/pull/9474 https://github.com/owncloud/web/pull/9466 https://github.com/owncloud/web/pull/9448 https://github.com/owncloud/web/pull/9426 Changelog for ownCloud Web [7.0.2] (2023-06-14) ======================================= The following sections list the changes in ownCloud web 7.0.2 relevant to ownCloud admins and users. [7.0.2]: https://github.com/owncloud/web/compare/v7.0.1...v7.0.2 Summary ------- * Bugfix - Experimental app loading: [#9212](https://github.com/owncloud/web/pull/9212) Details ------- * Bugfix - Experimental app loading: [#9212](https://github.com/owncloud/web/pull/9212) We've made a change to make our helper package "web-pkg" available in our (still experimental) extension system. https://github.com/owncloud/web/pull/9212 Changelog for ownCloud Web [7.0.1] (2023-06-06) ======================================= The following sections list the changes in ownCloud web 7.0.1 relevant to ownCloud admins and users. [7.0.1]: https://github.com/owncloud/web/compare/v7.0.0...v7.0.1 Summary ------- * Bugfix - Reduce space preloading: [#9153](https://github.com/owncloud/web/pull/9153) Details ------- * Bugfix - Reduce space preloading: [#9153](https://github.com/owncloud/web/pull/9153) We've reduced the set of spaces that get preloaded after login / after initial page load. This results in a faster first page rendering and reduces the server load. Loading the remaining spaces will happen on demand. https://github.com/owncloud/web/pull/9153 Changelog for ownCloud Web [7.0.0] (2023-06-02) ======================================= The following sections list the changes in ownCloud web 7.0.0 relevant to ownCloud admins and users. [7.0.0]: https://github.com/owncloud/web/compare/v6.0.0...v7.0.0 Summary ------- * Bugfix - Archiver in protected public links: [#6423](https://github.com/owncloud/web/issues/6423) * Bugfix - Endless lazy loading indicator after sorting file table: [#6434](https://github.com/owncloud/web/issues/6434) * Bugfix - Layout with long breadcrumb: [#6731](https://github.com/owncloud/web/issues/6731) * Bugfix - Pagination after increasing items per page: [#6768](https://github.com/owncloud/web/issues/6768) * Bugfix - Calendar popup position in right sidebar: [#7513](https://github.com/owncloud/web/issues/7513) * Bugfix - Loading shares in deep nested folders: [#7655](https://github.com/owncloud/web/issues/7655) * Bugfix - "Paste"-action without write permissions: [#7925](https://github.com/owncloud/web/pull/7925) * Bugfix - Include spaces in the list info: [#7926](https://github.com/owncloud/web/pull/7926) * Bugfix - Prevent deletion of own account: [#7958](https://github.com/owncloud/web/pull/7958) * Bugfix - UI fixes for sorting and quickactions: [#7966](https://github.com/owncloud/web/pull/7966) * Bugfix - Space quota not displayed after creation: [#7969](https://github.com/owncloud/web/pull/7969) * Bugfix - Text editor appearance: [#8026](https://github.com/owncloud/web/pull/8026) * Bugfix - Reverting versions for read-only shares: [#8040](https://github.com/owncloud/web/pull/8040) * Bugfix - Resolving drives in search: [#8045](https://github.com/owncloud/web/pull/8045) * Bugfix - Search repeating no results message: [#8054](https://github.com/owncloud/web/issues/8054) * Bugfix - Current year selection in the date picker: [#8058](https://github.com/owncloud/web/pull/8058) * Bugfix - Omit "page"-query in breadcrumb navigation: [#8061](https://github.com/owncloud/web/pull/8061) * Bugfix - Left sidebar navigation item text flickers on transition: [#8080](https://github.com/owncloud/web/pull/8080) * Bugfix - Space member disappearing: [#8081](https://github.com/owncloud/web/issues/8081) * Bugfix - Re-using space images: [#8083](https://github.com/owncloud/web/issues/8083) * Bugfix - Show space members despite deleted entries: [#8148](https://github.com/owncloud/web/issues/8148) * Bugfix - Search bar input appearance: [#8158](https://github.com/owncloud/web/issues/8158) * Bugfix - Application menu active display on hover: [#8265](https://github.com/owncloud/web/pull/8265) * Bugfix - Loading additional user data: [#8276](https://github.com/owncloud/web/pull/8276) * Bugfix - Re-loading space members panel: [#8300](https://github.com/owncloud/web/pull/8300) * Bugfix - Editing users who never logged in: [#8326](https://github.com/owncloud/web/pull/8326) * Bugfix - Cancel custom permissions: [#8340](https://github.com/owncloud/web/pull/8340) * Bugfix - Drop menus with limited vertical screen space: [#8411](https://github.com/owncloud/web/issues/8411) * Bugfix - Token renewal in vue router hash mode: [#8420](https://github.com/owncloud/web/issues/8420) * Bugfix - Accessing route in admin-settings with insufficient permissions: [#8434](https://github.com/owncloud/web/issues/8434) * Bugfix - "Show more"-action in shares panel: [#8479](https://github.com/owncloud/web/issues/8479) * Bugfix - Paste action conflict dialog broken: [#8480](https://github.com/owncloud/web/pull/8480) * Bugfix - PDF display issue - Update CSP object-src policy: [#8498](https://github.com/owncloud/web/pull/8498) * Bugfix - Remove fuzzy search results: [#8508](https://github.com/owncloud/web/pull/8508) * Bugfix - Space image upload: [#8523](https://github.com/owncloud/web/issues/8523) * Bugfix - Batch context actions in admin settings: [#8549](https://github.com/owncloud/web/issues/8549) * Bugfix - Height of dropdown no-option: [#8554](https://github.com/owncloud/web/pull/8554) * Bugfix - De-duplicate event handling to prevent errors on Draw-io: [#8576](https://github.com/owncloud/web/pull/8576) * Bugfix - Users without role assignment: [#8585](https://github.com/owncloud/web/issues/8585) * Bugfix - Password enforced check for public links: [#8587](https://github.com/owncloud/web/issues/8587) * Bugfix - Group members sorting: [#8592](https://github.com/owncloud/web/issues/8592) * Bugfix - Broken re-login after logout: [#8694](https://github.com/owncloud/web/pull/8694) * Bugfix - Open files in external app: [#8695](https://github.com/owncloud/web/issues/8695) * Bugfix - Copy link to clipboard text: [#8756](https://github.com/owncloud/web/pull/8756) * Bugfix - Preview controls colors: [#8758](https://github.com/owncloud/web/pull/8758) * Bugfix - Selection reset on action click: [#8776](https://github.com/owncloud/web/issues/8776) * Bugfix - Share recipient container exceed: [#8814](https://github.com/owncloud/web/pull/8814) * Bugfix - Remove drop target in read-only folders: [#8825](https://github.com/owncloud/web/pull/8825) * Bugfix - Opening context menu via keyboard: [#8827](https://github.com/owncloud/web/pull/8827) * Bugfix - Hide upload hint in empty read-only folders: [#8834](https://github.com/owncloud/web/issues/8834) * Bugfix - Public link empty password stays forever: [#8864](https://github.com/owncloud/web/pull/8864) * Bugfix - Sidebar header after deleting resource: [#8880](https://github.com/owncloud/web/issues/8880) * Bugfix - Infinite login redirect: [#8928](https://github.com/owncloud/web/issues/8928) * Bugfix - Limit amount of concurrent tus requests: [#8987](https://github.com/owncloud/web/pull/8987) * Bugfix - Personal space name after language change: [#8992](https://github.com/owncloud/web/pull/8992) * Bugfix - Endless loading when encountering a public link error: [#9004](https://github.com/owncloud/web/issues/9004) * Bugfix - Public link file previews: [#9009](https://github.com/owncloud/web/pull/9009) * Bugfix - Empty file list after deleting resources: [#9014](https://github.com/owncloud/web/issues/9014) * Bugfix - Prevent "virtual" spaces from being displayed in the UI: [#9015](https://github.com/owncloud/web/pull/9015) * Bugfix - Sidebar for spaces on "Shared via link"-page: [#9020](https://github.com/owncloud/web/issues/9020) * Bugfix - Spaces in search results: [#9022](https://github.com/owncloud/web/issues/9022) * Bugfix - Share indicator loading after pasting resources: [#9030](https://github.com/owncloud/web/issues/9030) * Bugfix - Preview app mime type detection: [#9050](https://github.com/owncloud/web/issues/9050) * Bugfix - Resource not found and No content message at the same time: [#9061](https://github.com/owncloud/web/issues/9061) * Bugfix - Incorrect pause state in upload info: [#9080](https://github.com/owncloud/web/issues/9080) * Bugfix - Select all checkbox: [#9131](https://github.com/owncloud/web/pull/9131) * Bugfix - Notifications link overflow: [#9144](https://github.com/owncloud/web/pull/9144) * Change - Streamline new tab handling in extensions: [#6661](https://github.com/owncloud/web/issues/6661) * Change - Update Vue to v3.2: [#7948](https://github.com/owncloud/web/issues/7948) * Change - Remove permission manager: [#8431](https://github.com/owncloud/web/pull/8431) * Change - Configurable extension autosave: [#8455](https://github.com/owncloud/web/pull/8455) * Change - Theme colors: [#8563](https://github.com/owncloud/web/pull/8563) * Enhancement - Global loading indicator: [#6183](https://github.com/owncloud/web/issues/6183) * Enhancement - Add tag support: [#7388](https://github.com/owncloud/web/pull/7388) * Enhancement - Improve performance when loading folders and share indicators: [#7721](https://github.com/owncloud/web/issues/7721) * Enhancement - Warn users when using unsupported browsers: [#7942](https://github.com/owncloud/web/pull/7942) * Enhancement - Optional Contributor role and configurable resharing permissions: [#7965](https://github.com/owncloud/web/pull/7965) * Enhancement - Group and user creation forms submit on enter: [#7968](https://github.com/owncloud/web/pull/7968) * Enhancement - Add switch to enable condensed resource table: [#7976](https://github.com/owncloud/web/pull/7976) * Enhancement - Introduce zoom and rotate to the preview app: [#7977](https://github.com/owncloud/web/pull/7977) * Enhancement - Conflict dialog UX: [#7983](https://github.com/owncloud/web/pull/7983) * Enhancement - Add tiles view for resource display: [#7991](https://github.com/owncloud/web/pull/7991) * Enhancement - Introduce full screen mode to the preview app: [#7994](https://github.com/owncloud/web/pull/7994) * Enhancement - Enable autoplay in the preview app: [#7995](https://github.com/owncloud/web/pull/7995) * Enhancement - Don't open sidebar when copying quicklink: [#8008](https://github.com/owncloud/web/issues/8008) * Enhancement - Access right sidebar panels via URL: [#8021](https://github.com/owncloud/web/pull/8021) * Enhancement - Introduce image preloading to the preview app: [#8051](https://github.com/owncloud/web/pull/8051) * Enhancement - Retry failed uploads on re-upload: [#8055](https://github.com/owncloud/web/pull/8055) * Enhancement - Increase Searchbar height: [#8056](https://github.com/owncloud/web/pull/8056) * Enhancement - Show text file icon for empty text files: [#8057](https://github.com/owncloud/web/pull/8057) * Enhancement - Update libre-graph-api to v1.0: [#8132](https://github.com/owncloud/web/pull/8132) * Enhancement - Make clipboard copy available to more browsers: [#8136](https://github.com/owncloud/web/pull/8136) * Enhancement - Space group members: [#8161](https://github.com/owncloud/web/pull/8161) * Enhancement - Space group shares: [#8161](https://github.com/owncloud/web/pull/8161) * Enhancement - Show upload speed: [#8166](https://github.com/owncloud/web/issues/8166) * Enhancement - Rename "user management" app: [#8175](https://github.com/owncloud/web/pull/8175) * Enhancement - Spaces list in admin settings: [#8178](https://github.com/owncloud/web/pull/8178) * Enhancement - Admin settings users section uses graph api for role assignments: [#8261](https://github.com/owncloud/web/pull/8261) * Enhancement - Move user group select to edit panel: [#8279](https://github.com/owncloud/web/pull/8279) * Enhancement - Add support for multiple clients in `theme.json`: [#8280](https://github.com/owncloud/web/pull/8280) * Enhancement - Move language selection to user account page: [#8294](https://github.com/owncloud/web/pull/8294) * Enhancement - Show selectable groups only: [#8306](https://github.com/owncloud/web/pull/8306) * Enhancement - Add context menu to groups: [#8317](https://github.com/owncloud/web/pull/8317) * Enhancement - Space member expiration: [#8320](https://github.com/owncloud/web/pull/8320) * Enhancement - Update SDK to v3.1.0-alpha.3: [#8320](https://github.com/owncloud/web/pull/8320) * Enhancement - Add context menu to users: [#8324](https://github.com/owncloud/web/pull/8324) * Enhancement - Admin settings users section details improvement: [#8331](https://github.com/owncloud/web/pull/8331) * Enhancement - Add `ItemFilter` component: [#8354](https://github.com/owncloud/web/issues/8354) * Enhancement - Slight improvement of key up/down performance: [#8356](https://github.com/owncloud/web/pull/8356) * Enhancement - Admin settings general section: [#8363](https://github.com/owncloud/web/issues/8363) * Enhancement - Add appearance section in general settings: [#8375](https://github.com/owncloud/web/pull/8375) * Enhancement - User group filter: [#8377](https://github.com/owncloud/web/issues/8377) * Enhancement - Batch edit quota in admin panel: [#8387](https://github.com/owncloud/web/pull/8387) * Enhancement - Use standardized layout for file/space action list: [#8398](https://github.com/owncloud/web/pull/8398) * Enhancement - Add dark ownCloud logo: [#8425](https://github.com/owncloud/web/issues/8425) * Enhancement - Inject customizations: [#8432](https://github.com/owncloud/web/pull/8432) * Enhancement - User settings login field: [#8433](https://github.com/owncloud/web/pull/8433) * Enhancement - Skeleton App: [#8441](https://github.com/owncloud/web/pull/8441) * Enhancement - Configurable top bar: [#8449](https://github.com/owncloud/web/pull/8449) * Enhancement - Rework notification bell: [#8450](https://github.com/owncloud/web/pull/8450) * Enhancement - Autosave content changes in text editor: [#8455](https://github.com/owncloud/web/pull/8455) * Enhancement - Update CERN links: [#8473](https://github.com/owncloud/web/pull/8473) * Enhancement - Respect max quota: [#8489](https://github.com/owncloud/web/pull/8489) * Enhancement - User role filter: [#8492](https://github.com/owncloud/web/pull/8492) * Enhancement - Beautify file version list: [#8503](https://github.com/owncloud/web/issues/8503) * Enhancement - Introduce trashbin overview: [#8515](https://github.com/owncloud/web/pull/8515) * Enhancement - Make notifications work with oCIS: [#8518](https://github.com/owncloud/web/pull/8518) * Enhancement - Public link permission `PublicLink.Write.all`: [#8541](https://github.com/owncloud/web/pull/8541) * Enhancement - Add and remove users from groups batch actions: [#8553](https://github.com/owncloud/web/pull/8553) * Enhancement - Beautify form inputs: [#8554](https://github.com/owncloud/web/pull/8554) * Enhancement - Rework mobile navigation: [#8557](https://github.com/owncloud/web/issues/8557) * Enhancement - QuickActions role configurable: [#8566](https://github.com/owncloud/web/pull/8566) * Enhancement - Add `Accept-Language` header to all outgoing requests: [#8612](https://github.com/owncloud/web/issues/8612) * Enhancement - Add logout url: [#8630](https://github.com/owncloud/web/pull/8630) * Enhancement - Enable guest users: [#8652](https://github.com/owncloud/web/pull/8652) * Enhancement - Remove placeholder, add customizable label: [#8711](https://github.com/owncloud/web/pull/8711) * Enhancement - Context helper read more link configurable: [#8713](https://github.com/owncloud/web/pull/8713) * Enhancement - Enable rename groups: [#8715](https://github.com/owncloud/web/pull/8715) * Enhancement - Create Space from selection: [#8730](https://github.com/owncloud/web/pull/8730) * Enhancement - GDPR export: [#8738](https://github.com/owncloud/web/issues/8738) * Enhancement - Stop bootstrapping application earlier in anonymous contexts: [#8762](https://github.com/owncloud/web/pull/8762) * Enhancement - Add support for read-only groups: [#8766](https://github.com/owncloud/web/pull/8766) * Enhancement - Custom translations: [#8790](https://github.com/owncloud/web/pull/8790) * Enhancement - Font family in theming: [#8797](https://github.com/owncloud/web/pull/8797) * Enhancement - Preview app sorting: [#8806](https://github.com/owncloud/web/pull/8806) * Enhancement - Adjust missing reshare permissions message: [#8820](https://github.com/owncloud/web/pull/8820) * Enhancement - Fix quicklink icon alignment: [#8822](https://github.com/owncloud/web/pull/8822) * Enhancement - Admin settings groups members panel: [#8826](https://github.com/owncloud/web/pull/8826) * Enhancement - Respect user read-only configuration by the server: [#8868](https://github.com/owncloud/web/pull/8868) * Enhancement - Update roles and permissions names, labels, texts and icons: [#8876](https://github.com/owncloud/web/pull/8876) * Enhancement - Layout of Share role and expiration date dropdown: [#8882](https://github.com/owncloud/web/pull/8882) * Enhancement - Webfinger redirect app: [#8883](https://github.com/owncloud/web/issues/8883) * Enhancement - Rename "Quicklink" to "link": [#8898](https://github.com/owncloud/web/pull/8898) * Enhancement - Add notification setting to account page: [#8911](https://github.com/owncloud/web/pull/8911) * Enhancement - Support pagination in admin settings app: [#9048](https://github.com/owncloud/web/issues/9048) * Enhancement - Disable change password capability: [#9070](https://github.com/owncloud/web/pull/9070) * Enhancement - Disable create user and delete user via capabilities: [#9070](https://github.com/owncloud/web/pull/9070) * Enhancement - Show detailed error messages while upload fails: [#9076](https://github.com/owncloud/web/pull/9076) Details ------- * Bugfix - Archiver in protected public links: [#6423](https://github.com/owncloud/web/issues/6423) Downloading multiple resources as archive in protected public links has been fixed. https://github.com/owncloud/web/issues/6423 https://github.com/owncloud/web/pull/8466 * Bugfix - Endless lazy loading indicator after sorting file table: [#6434](https://github.com/owncloud/web/issues/6434) The endless lazy loading indicator when sorting the file table and re-entering it has been fixed. https://github.com/owncloud/web/issues/6434 https://github.com/owncloud/web/pull/8988 * Bugfix - Layout with long breadcrumb: [#6731](https://github.com/owncloud/web/issues/6731) The breadcrumb component with total length longer than the app area was breaking the layout and has been fixed https://github.com/owncloud/web/issues/6731 https://github.com/owncloud/web/pull/8765 * Bugfix - Pagination after increasing items per page: [#6768](https://github.com/owncloud/web/issues/6768) An issue where the file list incorrectly showed no items after paginating and increasing the amount of items per page has been fixed. https://github.com/owncloud/web/issues/6768 https://github.com/owncloud/web/pull/8854 * Bugfix - Calendar popup position in right sidebar: [#7513](https://github.com/owncloud/web/issues/7513) The position of the calendar popup in the right sidebar has been fixed when using small screens. https://github.com/owncloud/web/issues/7513 https://github.com/owncloud/web/pull/8909 * Bugfix - Loading shares in deep nested folders: [#7655](https://github.com/owncloud/web/issues/7655) Loading shares and share indicators on page reloads in deep nested folders was not possible and has been fixed. https://github.com/owncloud/web/issues/7655 https://github.com/owncloud/web/pull/8349 * Bugfix - "Paste"-action without write permissions: [#7925](https://github.com/owncloud/web/pull/7925) The "Paste"-action is now disabled in read-only folders/shares. https://github.com/owncloud/web/issues/7922 https://github.com/owncloud/web/pull/7925 * Bugfix - Include spaces in the list info: [#7926](https://github.com/owncloud/web/pull/7926) Spaces have been included in the list info below file lists that support displaying spaces. https://github.com/owncloud/web/issues/7924 https://github.com/owncloud/web/pull/7926 * Bugfix - Prevent deletion of own account: [#7958](https://github.com/owncloud/web/pull/7958) We've fixed a bug while a user tries to delete their own account in the user management app, a non descriptive error message have popped up. We now show a proper error message. https://github.com/owncloud/web/issues/7955 https://github.com/owncloud/web/pull/7958 * Bugfix - UI fixes for sorting and quickactions: [#7966](https://github.com/owncloud/web/pull/7966) Ensure the sorting of "shared with" in "shared with me" view is correct when they have been shared simultaneously with users and groups. Prevent the context actions to disappear when `hoverableQuickActions` is set to true. https://github.com/owncloud/web/pull/7966 * Bugfix - Space quota not displayed after creation: [#7969](https://github.com/owncloud/web/pull/7969) We've fixed a bug where the quota in the space details was not shown after space creation. https://github.com/owncloud/web/issues/7959 https://github.com/owncloud/web/pull/7969 * Bugfix - Text editor appearance: [#8026](https://github.com/owncloud/web/pull/8026) The text editor now looks normal again after its appearance had changed due to the inclusion of the ODS in the web repository. https://github.com/owncloud/web/pull/8026 * Bugfix - Reverting versions for read-only shares: [#8040](https://github.com/owncloud/web/pull/8040) Reverting versions for read-only shares is no longer possible. https://github.com/owncloud/web/issues/8037 https://github.com/owncloud/web/pull/8040 * Bugfix - Resolving drives in search: [#8045](https://github.com/owncloud/web/pull/8045) We've fixed a bug where folder listing was not reloaded when being in a space/share root and navigating into another space/share root via search. https://github.com/owncloud/web/issues/8034 https://github.com/owncloud/web/pull/8045 * Bugfix - Search repeating no results message: [#8054](https://github.com/owncloud/web/issues/8054) We've fixed a bug that caused to repeat the 'no results' message when searching. https://github.com/owncloud/web/issues/8054 https://github.com/owncloud/web/pull/8062 * Bugfix - Current year selection in the date picker: [#8058](https://github.com/owncloud/web/pull/8058) We applied a hotpatch to fix the selection of the current year in December in the date picker. https://github.com/owncloud/web/issues/8042 https://github.com/owncloud/web/pull/8058 * Bugfix - Omit "page"-query in breadcrumb navigation: [#8061](https://github.com/owncloud/web/pull/8061) We've omitted the "page"-query when navigating via breadcrumb. This solves an issue were the file list would be empty after navigating via breadcrumb from a paginated folder. https://github.com/owncloud/web/issues/8060 https://github.com/owncloud/web/pull/8061 * Bugfix - Left sidebar navigation item text flickers on transition: [#8080](https://github.com/owncloud/web/pull/8080) We've fixed a bug that caused the left sidebar navigation items text to flicker in light mode. https://github.com/owncloud/web/pull/8080 * Bugfix - Space member disappearing: [#8081](https://github.com/owncloud/web/issues/8081) We've fixed a bug where adding links to a space would remove newly added members in the UI. https://github.com/owncloud/web/issues/8081 https://github.com/owncloud/web/pull/8082 * Bugfix - Re-using space images: [#8083](https://github.com/owncloud/web/issues/8083) We've fixed a bug where re-using a previously used space image via "Set as space image" would cause errors. https://github.com/owncloud/web/issues/8083 https://github.com/owncloud/web/pull/8084 * Bugfix - Show space members despite deleted entries: [#8148](https://github.com/owncloud/web/issues/8148) The space members panel in the right sidebar was not showing any members anymore if one of the members was deleted. This has been fixed and now shows the remaining members. https://github.com/owncloud/web/issues/8148 https://github.com/owncloud/web/pull/8336 * Bugfix - Search bar input appearance: [#8158](https://github.com/owncloud/web/issues/8158) The broken appearance of the search bar input field has been fixed. https://github.com/owncloud/web/issues/8158 https://github.com/owncloud/web/pull/8203 * Bugfix - Application menu active display on hover: [#8265](https://github.com/owncloud/web/pull/8265) The text color of the active application menu item on hover as been fixed. https://github.com/owncloud/web/pull/8265 * Bugfix - Loading additional user data: [#8276](https://github.com/owncloud/web/pull/8276) Loading additional user data in the admin settings when opening the sidebar via select-toggle has been fixed. https://github.com/owncloud/web/issues/8275 https://github.com/owncloud/web/pull/8276 * Bugfix - Re-loading space members panel: [#8300](https://github.com/owncloud/web/pull/8300) We've fixed a bug where re-loading the members panel for a space would remove recently added members in the UI. https://github.com/owncloud/web/issues/8298 https://github.com/owncloud/web/pull/8300 * Bugfix - Editing users who never logged in: [#8326](https://github.com/owncloud/web/pull/8326) We've fixed a bug where the Edit panel for users who never logged in failed to load (happened due to a recent backend change). https://github.com/owncloud/web/pull/8326 * Bugfix - Cancel custom permissions: [#8340](https://github.com/owncloud/web/pull/8340) We've fixed a bug where cancelling the custom permissions on a share would remove all permissions. https://github.com/owncloud/web/issues/8335 https://github.com/owncloud/web/pull/8340 * Bugfix - Drop menus with limited vertical screen space: [#8411](https://github.com/owncloud/web/issues/8411) We've changed the way how drop menus are positioned when only limited vertical screen space is available. They now fully utilize the available vertical screen space. https://github.com/owncloud/web/issues/8411 https://github.com/owncloud/web/issues/8412 https://github.com/owncloud/web/pull/8453 https://github.com/owncloud/web/pull/8584 * Bugfix - Token renewal in vue router hash mode: [#8420](https://github.com/owncloud/web/issues/8420) We've fixed a bug where the silent token renewal (= in iframe) with the vue router hash mode had a URL format that could not be parsed by the oidc-client-ts lib. https://github.com/owncloud/web/issues/8420 https://github.com/owncloud/web/pull/8762 * Bugfix - Accessing route in admin-settings with insufficient permissions: [#8434](https://github.com/owncloud/web/issues/8434) Each route in the admin-settings app now has a dedicated permission check. This fixes an issue where accessing such route with insufficient permissions would break the page. https://github.com/owncloud/web/issues/8434 https://github.com/owncloud/web/pull/8672 * Bugfix - "Show more"-action in shares panel: [#8479](https://github.com/owncloud/web/issues/8479) We've fixed a bug where the "Show more"-action would show in the shares panel of the sidebar without having any effect. https://github.com/owncloud/web/issues/8479 https://github.com/owncloud/web/pull/8482 * Bugfix - Paste action conflict dialog broken: [#8480](https://github.com/owncloud/web/pull/8480) We've fixed a bug that resulted in the paste action not doing anything in cases of a conflict https://github.com/owncloud/web/issues/8462 https://github.com/owncloud/web/pull/8480 * Bugfix - PDF display issue - Update CSP object-src policy: [#8498](https://github.com/owncloud/web/pull/8498) PDF display is associated with object-src / frame-src policy with blob values. We allow those for only : 'self' blob:; https://github.com/owncloud/web/pull/8498 * Bugfix - Remove fuzzy search results: [#8508](https://github.com/owncloud/web/pull/8508) We've had a bug that caused some search results to show up that didn't align with the search term. https://github.com/owncloud/web/issues/8493 https://github.com/owncloud/web/issues/8860 https://github.com/owncloud/web/pull/8508 https://github.com/owncloud/web/pull/8863 * Bugfix - Space image upload: [#8523](https://github.com/owncloud/web/issues/8523) We've fixed a bug where uploading images on the spaces overview page would not work. https://github.com/owncloud/web/issues/8523 https://github.com/owncloud/web/pull/8526 * Bugfix - Batch context actions in admin settings: [#8549](https://github.com/owncloud/web/issues/8549) Several issues when triggering batch actions via the context menu for users/groups/spaces in the admin-settings have been fixed. Some actions were showing wrongly ("edit"), some actions were resetting the current selection ("show details"). https://github.com/owncloud/web/issues/8549 https://github.com/owncloud/web/pull/8785 * Bugfix - Height of dropdown no-option: [#8554](https://github.com/owncloud/web/pull/8554) We fixed the height of the select dropdown field if no select option is available. https://github.com/owncloud/web/pull/8554 * Bugfix - De-duplicate event handling to prevent errors on Draw-io: [#8576](https://github.com/owncloud/web/pull/8576) If users navigated out of Draw-io and returned afterwards, old event handlers were kept, which failed trying to look for iframes that no longer existed. This fix removes the handlers when exiting, preventing these user visible errors. https://github.com/owncloud/web/pull/8576 * Bugfix - Users without role assignment: [#8585](https://github.com/owncloud/web/issues/8585) Listing and editing users without a role assignment in the admin settings has been fixed. https://github.com/owncloud/web/issues/8585 https://github.com/owncloud/web/pull/8590 * Bugfix - Password enforced check for public links: [#8587](https://github.com/owncloud/web/issues/8587) We've fixed a bug where we ignored the selected role in the password enforcement check. The web ui was sending the request to update a link instead of showing a modal with a password input prompt. https://github.com/owncloud/web/issues/8587 https://github.com/owncloud/web/pull/8623 https://github.com/owncloud/web/pull/8745 * Bugfix - Group members sorting: [#8592](https://github.com/owncloud/web/issues/8592) Sorting groups by their member count has been fixed. https://github.com/owncloud/web/issues/8592 https://github.com/owncloud/web/pull/8600 * Bugfix - Broken re-login after logout: [#8694](https://github.com/owncloud/web/pull/8694) After a user logged out, it was no longer possible to login without reloading the ocis root domain, this has now been fixed and only allowed query-params are taken into account. https://github.com/owncloud/web/pull/8694 * Bugfix - Open files in external app: [#8695](https://github.com/owncloud/web/issues/8695) We've fixed bugs that caused office documents not to be opened in app provider editors anymore. https://github.com/owncloud/web/issues/8695 https://github.com/owncloud/web/issues/8773 https://github.com/owncloud/web/pull/8705 https://github.com/owncloud/web/pull/8782 * Bugfix - Copy link to clipboard text: [#8756](https://github.com/owncloud/web/pull/8756) We've fixed an issue that caused the link message to display the wrong text https://github.com/owncloud/web/issues/8725 https://github.com/owncloud/web/pull/8756 * Bugfix - Preview controls colors: [#8758](https://github.com/owncloud/web/pull/8758) We've fixed a bug where the controls of the "preview" app were appearing black-on-grey in the dark theme. https://github.com/owncloud/web/pull/8758 * Bugfix - Selection reset on action click: [#8776](https://github.com/owncloud/web/issues/8776) Clicking a file action from the context menu doesn't reset the selection anymore. https://github.com/owncloud/web/issues/8776 https://github.com/owncloud/web/pull/8777 * Bugfix - Share recipient container exceed: [#8814](https://github.com/owncloud/web/pull/8814) The share recipient container now shows a vertical scroll bar when the users would exceed the container height. https://github.com/owncloud/web/issues/8811 https://github.com/owncloud/web/pull/8814 * Bugfix - Remove drop target in read-only folders: [#8825](https://github.com/owncloud/web/pull/8825) The drop target in read-only folders has been removed. https://github.com/owncloud/web/issues/8277 https://github.com/owncloud/web/pull/8825 * Bugfix - Opening context menu via keyboard: [#8827](https://github.com/owncloud/web/pull/8827) The position of the context menu when opened via keyboard has been fixed. https://github.com/owncloud/web/issues/8232 https://github.com/owncloud/web/pull/8827 * Bugfix - Hide upload hint in empty read-only folders: [#8834](https://github.com/owncloud/web/issues/8834) Empty read-only folders now don't show the upload hint to the user. https://github.com/owncloud/web/issues/8834 https://github.com/owncloud/web/pull/8846 * Bugfix - Public link empty password stays forever: [#8864](https://github.com/owncloud/web/pull/8864) We've fixed a bug that caused the error message for the public link password to stay forever. https://github.com/owncloud/web/issues/8521 https://github.com/owncloud/web/pull/8864 * Bugfix - Sidebar header after deleting resource: [#8880](https://github.com/owncloud/web/issues/8880) The sidebar header will now be removed correctly when you delete the currently selected resource. https://github.com/owncloud/web/issues/8880 https://github.com/owncloud/web/pull/8886 * Bugfix - Infinite login redirect: [#8928](https://github.com/owncloud/web/issues/8928) We've fixed a bug where a user would fall into an infinite redirect between login and accessDenied page if a) the user had valid IdP credentials but was not permitted in ocis, b) the user has authenticated successfully but then got deleted in the meantime. https://github.com/owncloud/web/issues/8928 https://github.com/owncloud/web/issues/7354 https://github.com/owncloud/web/issues/4677 https://github.com/owncloud/web/pull/8947 * Bugfix - Limit amount of concurrent tus requests: [#8987](https://github.com/owncloud/web/pull/8987) The amount of concurrent tus requests when uploading has been reduced to 5. This fixes an issue where the access token renewal failed during an ongoing upload because of the sheer amount of pending requests. https://github.com/owncloud/web/issues/8977 https://github.com/owncloud/web/pull/8987 * Bugfix - Personal space name after language change: [#8992](https://github.com/owncloud/web/pull/8992) The name of the personal space is now being updated properly after a language change. https://github.com/owncloud/web/issues/8968 https://github.com/owncloud/web/pull/8992 * Bugfix - Endless loading when encountering a public link error: [#9004](https://github.com/owncloud/web/issues/9004) An endless loading state that occurred when encountering an error when loading a public link has been fixed. https://github.com/owncloud/web/issues/9004 https://github.com/owncloud/web/pull/9006 * Bugfix - Public link file previews: [#9009](https://github.com/owncloud/web/pull/9009) We've fixed a bug with file previews not being loaded in the right sidebar `Details` panel and in the single file view for public links. https://github.com/owncloud/web/pull/9009 * Bugfix - Empty file list after deleting resources: [#9014](https://github.com/owncloud/web/issues/9014) Deleting all resources on the last page lead to an empty file list although the other pages still contained resources. This has been fixed by resetting the pagination in such scenario. https://github.com/owncloud/web/issues/9014 https://github.com/owncloud/web/pull/9017 * Bugfix - Prevent "virtual" spaces from being displayed in the UI: [#9015](https://github.com/owncloud/web/pull/9015) While ownCloud Web is capable of displaying any type of spaces we found out that it is not valid to display so called "virtual" spaces. In such a case users now get redirected to their default location (personal space for users, project spaces overview for guests). https://github.com/owncloud/web/pull/9015 * Bugfix - Sidebar for spaces on "Shared via link"-page: [#9020](https://github.com/owncloud/web/issues/9020) The sidebar for spaces on the "Shared via link"-page has been fixed which acted like the space was a folder resource before. https://github.com/owncloud/web/issues/9020 https://github.com/owncloud/web/pull/9023 * Bugfix - Spaces in search results: [#9022](https://github.com/owncloud/web/issues/9022) Spaces in search results are no longer being displayed as folder resources, fixing wrong icons, parent folders and sidebar panels. https://github.com/owncloud/web/issues/9022 https://github.com/owncloud/web/pull/9026 * Bugfix - Share indicator loading after pasting resources: [#9030](https://github.com/owncloud/web/issues/9030) Share indicators are now being displayed correctly after pasting resources into shared folders. https://github.com/owncloud/web/issues/9030 https://github.com/owncloud/web/pull/9110 * Bugfix - Preview app mime type detection: [#9050](https://github.com/owncloud/web/issues/9050) A bug where the preview app would not detect all supported mime types has been fixed (e.g. `image/x-ms-bmp`). https://github.com/owncloud/web/issues/9050 https://github.com/owncloud/web/pull/9092 * Bugfix - Resource not found and No content message at the same time: [#9061](https://github.com/owncloud/web/issues/9061) We've fixed a bug where the "Resource not found" and "Empty folder" messages were shown at the same time. https://github.com/owncloud/web/issues/9061 https://github.com/owncloud/web/pull/9062 * Bugfix - Incorrect pause state in upload info: [#9080](https://github.com/owncloud/web/issues/9080) An incorrect pause state in the upload info modal has been fixed. https://github.com/owncloud/web/issues/9080 https://github.com/owncloud/web/pull/9141 * Bugfix - Select all checkbox: [#9131](https://github.com/owncloud/web/pull/9131) We've fixed a bug in the shared-with-me page which caused unrelated checkboxes to be checked. https://github.com/owncloud/web/issues/9122 https://github.com/owncloud/web/pull/9131 * Bugfix - Notifications link overflow: [#9144](https://github.com/owncloud/web/pull/9144) We've fixed a bug that caused long links in notifications to overflow. https://github.com/owncloud/web/issues/9053 https://github.com/owncloud/web/pull/9144 * Change - Streamline new tab handling in extensions: [#6661](https://github.com/owncloud/web/issues/6661) We have added a global configuration for opening extensions in new tabs. This will now be configured by the administrator and applies for all extensions in the same way. https://github.com/owncloud/web/issues/6661 https://github.com/owncloud/web/pull/8458 * Change - Update Vue to v3.2: [#7948](https://github.com/owncloud/web/issues/7948) Vue has been updated to v3.2. More detailed information can be found in the referenced issues and PRs down below. BREAKING CHANGE for developers: The `vue/composition-api` plugin is not available anymore as the composition-api now comes with Vue. https://github.com/owncloud/web/issues/7948 https://github.com/owncloud/web/issues/5269 https://github.com/owncloud/web/issues/8283 https://github.com/owncloud/web/issues/8307 https://github.com/owncloud/web/issues/8295 https://github.com/owncloud/web/pull/8128 https://github.com/owncloud/web/pull/7877 https://github.com/owncloud/web/pull/8207 https://github.com/owncloud/web/pull/8201 https://github.com/owncloud/web/pull/8202 https://github.com/owncloud/web/pull/8198 https://github.com/owncloud/web/pull/8213 https://github.com/owncloud/web/pull/8214 https://github.com/owncloud/web/pull/8221 https://github.com/owncloud/web/pull/8256 https://github.com/owncloud/web/pull/8257 https://github.com/owncloud/web/pull/8258 https://github.com/owncloud/web/pull/8282 https://github.com/owncloud/web/pull/8289 https://github.com/owncloud/web/pull/8287 https://github.com/owncloud/web/pull/8285 https://github.com/owncloud/web/pull/8288 https://github.com/owncloud/web/pull/8308 https://github.com/owncloud/web/pull/8311 https://github.com/owncloud/web/pull/8567 * Change - Remove permission manager: [#8431](https://github.com/owncloud/web/pull/8431) BREAKING CHANGE for developers: The `PermissionManager` has been removed. Permission management is now being handled by `CASL`. For more details on how it works please see the linked PR down below. https://github.com/owncloud/web/pull/8431 https://github.com/owncloud/web/pull/8488 https://github.com/owncloud/web/pull/8509 * Change - Configurable extension autosave: [#8455](https://github.com/owncloud/web/pull/8455) We have added a global setting in the configuration to enable autosave (and the corresponding timeout) for bundled and external extensions, instead of having a per-extension configuration which was limited to external extensions. Handling of the provided autosave needs to be taken care of by the extension itself. https://github.com/owncloud/web/pull/8455 https://github.com/owncloud/web/pull/8457 https://github.com/owncloud/web/pull/8474 * Change - Theme colors: [#8563](https://github.com/owncloud/web/pull/8563) We've introduced `contrast` color variables for all the color swatches in the design system. As a result the `contrast` color variable needs to be added to all existing web themes. BREAKING CHANGE for non-default themes in existing deployments: You need to add the `contrast` color variable to all swatches in your theme. A good default is the `color-text-inverse` value. You can find an example here: https://owncloud.dev/clients/web/theming/#example-theme https://github.com/owncloud/web/pull/8563 * Enhancement - Global loading indicator: [#6183](https://github.com/owncloud/web/issues/6183) A global loading indicator for long running actions has been added to the top of the page. https://github.com/owncloud/web/issues/6183 https://github.com/owncloud/web/issues/2134 https://github.com/owncloud/web/pull/8611 * Enhancement - Add tag support: [#7388](https://github.com/owncloud/web/pull/7388) Web now supports tags on resources to enhance the way of organizing and working. Tags are visible in the files list and can also be searched to quickly filter tagged files. https://github.com/owncloud/web/issues/7134 https://github.com/owncloud/web/issues/8149 https://github.com/owncloud/web/issues/8220 https://github.com/owncloud/web/issues/8253 https://github.com/owncloud/web/issues/8254 https://github.com/owncloud/web/issues/8390 https://github.com/owncloud/web/issues/8645 https://github.com/owncloud/web/pull/7388 https://github.com/owncloud/web/pull/7385 https://github.com/owncloud/web/pull/7442 https://github.com/owncloud/web/pull/7754 https://github.com/owncloud/web/pull/8067 https://github.com/owncloud/web/pull/8157 https://github.com/owncloud/web/pull/8309 https://github.com/owncloud/web/pull/8405 https://github.com/owncloud/web/pull/8502 https://github.com/owncloud/web/pull/8794 * Enhancement - Improve performance when loading folders and share indicators: [#7721](https://github.com/owncloud/web/issues/7721) The performance when loading folders and share indicators has been improved by optimizing the way how shares are being loaded. https://github.com/owncloud/web/issues/7721 https://github.com/owncloud/web/pull/8349 https://github.com/owncloud/web/pull/8482 https://github.com/owncloud/web/pull/8667 https://github.com/owncloud/web/pull/8915 * Enhancement - Warn users when using unsupported browsers: [#7942](https://github.com/owncloud/web/pull/7942) We've added a warning message if the browser is older than our supported configuration, instead of just failing and showing blue/white screens or generic errors. Users still have the option to proceed and open the page if they want to. By proceeding to the page, the setting is set for 30 days, afterwards the warning is shown again. When building web, it's possible to pass a documentation url for users to know more about this issue, by setting the env variable DOCUMENTATION_URL. https://github.com/owncloud/web/pull/7942 * Enhancement - Optional Contributor role and configurable resharing permissions: [#7965](https://github.com/owncloud/web/pull/7965) We've added 2 new capabilities that modify the sharing Roles: - `files_sharing.resharing_default` (default true): wether the resharing bit should be added to the normal roles (viewer, editor, etc) by default when re-sharing is enabled systemwise. If default is set false, users can still set resharing in the custom permissions role. - `files_sharing.public.can_contribute` (default true): enables or disables the Contributor role for public links https://github.com/owncloud/web/pull/7965 * Enhancement - Group and user creation forms submit on enter: [#7968](https://github.com/owncloud/web/pull/7968) Group and User creation forms can now be submitted by pressing enter. https://github.com/owncloud/web/issues/7937 https://github.com/owncloud/web/pull/7968 * Enhancement - Add switch to enable condensed resource table: [#7976](https://github.com/owncloud/web/pull/7976) We've added a switch to have a more condensed resource table. The change gets saved to the url and persisted across folder navigation in all files, spaces and favorites views. https://github.com/owncloud/web/issues/6380 https://github.com/owncloud/web/pull/7976 https://github.com/owncloud/web/pull/8105 * Enhancement - Introduce zoom and rotate to the preview app: [#7977](https://github.com/owncloud/web/pull/7977) https://github.com/owncloud/web/issues/7160 https://github.com/owncloud/web/pull/7977 * Enhancement - Conflict dialog UX: [#7983](https://github.com/owncloud/web/pull/7983) The UX of the conflict dialog has been improved slightly: * The name of the conflicting resource is now written in quotes * The title of the dialog now tells the difference between files and folders * The "Skip"-dialog now tells the difference between files and folders https://github.com/owncloud/web/issues/7682 https://github.com/owncloud/web/pull/7983 * Enhancement - Add tiles view for resource display: [#7991](https://github.com/owncloud/web/pull/7991) We've added a switch to change from the known resource table to a tiles view. The change gets saved to the url and persisted across resource navigation. Tiles can be dynamically resized on screens bigger than mobile, using the "display customization options" dropdown. https://github.com/owncloud/web/issues/6378 https://github.com/owncloud/web/issues/6379 https://github.com/owncloud/web/issues/6380 https://github.com/owncloud/web/issues/8367 https://github.com/owncloud/web/issues/8368 https://github.com/owncloud/web/issues/8365 https://github.com/owncloud/web/issues/8370 https://github.com/owncloud/web/issues/8369 https://github.com/owncloud/web/issues/8439 https://github.com/owncloud/web/pull/7991 https://github.com/owncloud/web/pull/8372 https://github.com/owncloud/web/pull/8392 https://github.com/owncloud/web/pull/8404 https://github.com/owncloud/web/pull/8410 https://github.com/owncloud/web/pull/8460 https://github.com/owncloud/web/pull/8483 https://github.com/owncloud/web/pull/8505 https://github.com/owncloud/web/pull/8675 * Enhancement - Introduce full screen mode to the preview app: [#7994](https://github.com/owncloud/web/pull/7994) https://github.com/owncloud/web/issues/6700 https://github.com/owncloud/web/pull/7994 * Enhancement - Enable autoplay in the preview app: [#7995](https://github.com/owncloud/web/pull/7995) https://github.com/owncloud/web/issues/7908 https://github.com/owncloud/web/pull/7995 * Enhancement - Don't open sidebar when copying quicklink: [#8008](https://github.com/owncloud/web/issues/8008) Following user feedback, we don't open the sharing sidebar anymore after copying/creating a quicklink. https://github.com/owncloud/web/issues/8008 https://github.com/owncloud/web/pull/8036 * Enhancement - Access right sidebar panels via URL: [#8021](https://github.com/owncloud/web/pull/8021) Opening the right sidebar (including its panels) is now possible via URL param. For private or internal links it only requires the new `details` param in the URL. For other URLs (e.g. personal space, project space) the `scrollTo` param including the resource id is needed as well. The following values can be used for the `details` param: * `details` - sidebar open, no specific panel * `actions` - actions panel * `sharing` - share panel * `versions` - versions panel * `space-share` - members panel (project space only) https://github.com/owncloud/web/issues/7927 https://github.com/owncloud/web/pull/8021 * Enhancement - Introduce image preloading to the preview app: [#8051](https://github.com/owncloud/web/pull/8051) https://github.com/owncloud/web/issues/2052 https://github.com/owncloud/web/pull/8051 https://github.com/owncloud/web/pull/8108 * Enhancement - Retry failed uploads on re-upload: [#8055](https://github.com/owncloud/web/pull/8055) When re-uploading a file that failed uploading before, the upload is now being retried instead of being started from scratch again. This fixes some issues with the overlay and preserves the upload progress. https://github.com/owncloud/web/issues/7944 https://github.com/owncloud/web/pull/8055 * Enhancement - Increase Searchbar height: [#8056](https://github.com/owncloud/web/pull/8056) We've increased the height of the Searchbar to better fit the design. https://github.com/owncloud/web/pull/8056 * Enhancement - Show text file icon for empty text files: [#8057](https://github.com/owncloud/web/pull/8057) We've changed the thumbnail of almost empty text files to the regular text icon. https://github.com/owncloud/web/pull/8057 * Enhancement - Update libre-graph-api to v1.0: [#8132](https://github.com/owncloud/web/pull/8132) Libre-graph-api has been updated to v1.0 https://github.com/owncloud/web/pull/8132 https://github.com/owncloud/web/pull/8171 https://github.com/owncloud/web/pull/8250 https://github.com/owncloud/web/pull/8741 * Enhancement - Make clipboard copy available to more browsers: [#8136](https://github.com/owncloud/web/pull/8136) We have added more functionality for copying (e.g. links) to the user's clipboard. By switching libraries we now use the standard browser API (if available) with a fallback and only offer copy-to-clipboard buttons if the browser supports it. https://github.com/owncloud/web/issues/8134 https://github.com/owncloud/web/pull/8136 https://github.com/owncloud/web/pull/8173 * Enhancement - Space group members: [#8161](https://github.com/owncloud/web/pull/8161) We've added the option to manage and work with space group members. In detail it contains: * Permission management for space group members * Inherit space group permissions to child resources * Groups appear in the autocomplete list when inviting space members * Selected groups appear in to be invited list * Selected groups are part of the share creation request payload * All group type members of a space are listed in the members section of the space * All users / groups with the "listGrants" permission can see groups which are invited to a space * All users / groups who only have access on a share level inside a sub-resource of a space can not see all groups which are regular members of the space https://github.com/owncloud/web/issues/8160 https://github.com/owncloud/web/issues/8177 https://github.com/owncloud/web/issues/8299 https://github.com/owncloud/web/pull/8161 https://github.com/owncloud/web/pull/8300 * Enhancement - Space group shares: [#8161](https://github.com/owncloud/web/pull/8161) We've added the possibility to share a space with a group. https://github.com/owncloud/web/issues/8160 https://github.com/owncloud/web/pull/8161 https://github.com/owncloud/web/pull/8185 https://github.com/owncloud/web/pull/8248 * Enhancement - Show upload speed: [#8166](https://github.com/owncloud/web/issues/8166) We have added a tooltip that shows the current upload speed and absolute vs processed filesize for the current upload. https://github.com/owncloud/web/issues/8166 https://github.com/owncloud/ocis/issues/5511 https://github.com/owncloud/web/pull/8187 * Enhancement - Rename "user management" app: [#8175](https://github.com/owncloud/web/pull/8175) The "user management" app has been renamed to "admin settings" because the app will contain a variety of general settings in the future. https://github.com/owncloud/web/pull/8175 * Enhancement - Spaces list in admin settings: [#8178](https://github.com/owncloud/web/pull/8178) The admin settings now have a view to list all spaces for the current instance. This makes it possible for space admins to manage all spaces in one place. https://github.com/owncloud/web/issues/8219 https://github.com/owncloud/web/issues/8267 https://github.com/owncloud/web/pull/8178 https://github.com/owncloud/web/pull/8195 https://github.com/owncloud/web/pull/8190 https://github.com/owncloud/web/pull/8192 https://github.com/owncloud/web/pull/8199 https://github.com/owncloud/web/pull/8224 https://github.com/owncloud/web/pull/8228 https://github.com/owncloud/web/pull/8229 https://github.com/owncloud/web/pull/8231 https://github.com/owncloud/web/pull/8236 https://github.com/owncloud/web/pull/8238 https://github.com/owncloud/web/pull/8234 https://github.com/owncloud/web/pull/8249 https://github.com/owncloud/web/pull/8230 https://github.com/owncloud/web/pull/8262 https://github.com/owncloud/web/pull/8247 https://github.com/owncloud/web/pull/8273 https://github.com/owncloud/web/pull/8268 https://github.com/owncloud/web/pull/8233 https://github.com/owncloud/web/pull/8333 https://github.com/owncloud/web/pull/8334 https://github.com/owncloud/web/pull/8477 * Enhancement - Admin settings users section uses graph api for role assignments: [#8261](https://github.com/owncloud/web/pull/8261) We've switched over to utilizing user role assignments data from the graph api instead of the custom settings api. Especially for the list view this leads to improved performance. https://github.com/owncloud/web/pull/8261 https://github.com/owncloud/web/pull/8330 https://github.com/owncloud/web/pull/8418 * Enhancement - Move user group select to edit panel: [#8279](https://github.com/owncloud/web/pull/8279) The user group select input has been moved to the user edit panel for better editing. https://github.com/owncloud/web/issues/8278 https://github.com/owncloud/web/pull/8279 * Enhancement - Add support for multiple clients in `theme.json`: [#8280](https://github.com/owncloud/web/pull/8280) The `theme.json` file now supports multiple clients which are defined via the top-level property. Therefore both web themes have been moved down one level into the new property "web". The change is backwards compatible though, meaning it still works when the web themes are defined top-level in `theme.json`. https://github.com/owncloud/enterprise/issues/5502 https://github.com/owncloud/web/pull/8280 * Enhancement - Move language selection to user account page: [#8294](https://github.com/owncloud/web/pull/8294) The language selection has been moved from the settings app to the personal account page. The settings app has been removed from the default configs because we don't need it currently. https://github.com/owncloud/web/pull/8294 * Enhancement - Show selectable groups only: [#8306](https://github.com/owncloud/web/pull/8306) When managing user group assignments, we now show selectable groups only, meaning groups that have been selected already will not show up as available options. https://github.com/owncloud/web/issues/8305 https://github.com/owncloud/web/pull/8306 * Enhancement - Add context menu to groups: [#8317](https://github.com/owncloud/web/pull/8317) A context menu has been added to the groups management page in the admin settings. It can be toggled via right-click and quick-action. https://github.com/owncloud/web/issues/8316 https://github.com/owncloud/web/pull/8317 * Enhancement - Space member expiration: [#8320](https://github.com/owncloud/web/pull/8320) Space member shares now support expiration. https://github.com/owncloud/web/issues/8328 https://github.com/owncloud/web/pull/8320 https://github.com/owncloud/web/pull/8482 * Enhancement - Update SDK to v3.1.0-alpha.3: [#8320](https://github.com/owncloud/web/pull/8320) We updated the ownCloud SDK to version v3.1.0-alpha.3. Please refer to the full changelog in the SDK release (linked) for more details. Summary: * Bugfix - Allow removing expiration dates from space shares: [owncloud/owncloud-sdk#1204](https://github.com/owncloud/owncloud-sdk/pull/1204) * Enhancement - Resource processing: [owncloud/owncloud-sdk#1109](https://github.com/owncloud/owncloud-sdk/pull/1109) * Enhancement - Share space with group: [owncloud/owncloud-sdk#1207](https://github.com/owncloud/owncloud-sdk/pull/1207) https://github.com/owncloud/web/pull/8320 https://github.com/owncloud/web/pull/8248 https://github.com/owncloud/owncloud-sdk/releases/tag/v3.1.0-alpha.3 * Enhancement - Add context menu to users: [#8324](https://github.com/owncloud/web/pull/8324) A context menu has been added to the users management page in the admin settings. It can be toggled via right-click and quick-action. https://github.com/owncloud/web/issues/8323 https://github.com/owncloud/web/pull/8324 * Enhancement - Admin settings users section details improvement: [#8331](https://github.com/owncloud/web/pull/8331) We've improved the details panel in the user's section to show the assigned groups and total quota https://github.com/owncloud/web/pull/8331 https://github.com/owncloud/web/pull/8342 * Enhancement - Add `ItemFilter` component: [#8354](https://github.com/owncloud/web/issues/8354) The `ItemFilter` component has been introduced to filter data. It fills the dropdown of `OcFilterChip` with content and can be fed with items, which then can be selected and filtered. The component also supports multi-selection and persists the current selection as route query. https://github.com/owncloud/web/issues/8354 https://github.com/owncloud/web/pull/8355 * Enhancement - Slight improvement of key up/down performance: [#8356](https://github.com/owncloud/web/pull/8356) The render performance of the key up/down events in file lists has been improved slightly. https://github.com/owncloud/web/pull/8356 * Enhancement - Admin settings general section: [#8363](https://github.com/owncloud/web/issues/8363) We've introduced the general section in the admin settings app, which displays information about the running front- and backend. https://github.com/owncloud/web/issues/8363 https://github.com/owncloud/web/pull/8360 * Enhancement - Add appearance section in general settings: [#8375](https://github.com/owncloud/web/pull/8375) We've added a appearance section in general settings, which includes uploading a logo selected by the admin for the web ui. https://github.com/owncloud/web/pull/8375 * Enhancement - User group filter: [#8377](https://github.com/owncloud/web/issues/8377) Users in the users list can now be filtered by their group assignments. https://github.com/owncloud/web/issues/8377 https://github.com/owncloud/web/pull/8378 https://github.com/owncloud/web/pull/8495 https://github.com/owncloud/web/pull/8525 * Enhancement - Batch edit quota in admin panel: [#8387](https://github.com/owncloud/web/pull/8387) We've added the batch edit quota functionality to the admin panel for users personal space and in the spaces list https://github.com/owncloud/web/issues/8417 https://github.com/owncloud/web/pull/8387 https://github.com/owncloud/web/pull/8430 https://github.com/owncloud/web/pull/8438 https://github.com/owncloud/web/pull/8555 https://github.com/owncloud/web/pull/8603 * Enhancement - Use standardized layout for file/space action list: [#8398](https://github.com/owncloud/web/pull/8398) We've applied the styles for action lists to the fileinfo/space action lists. https://github.com/owncloud/web/pull/8398 * Enhancement - Add dark ownCloud logo: [#8425](https://github.com/owncloud/web/issues/8425) We've added a dark version of the ownCloud logo https://github.com/owncloud/web/issues/8425 https://github.com/owncloud/web/pull/8522 * Enhancement - Inject customizations: [#8432](https://github.com/owncloud/web/pull/8432) We have added the possibility to include own header scripts and styles. This function is currently still experimental and there is a possibility that the api will change. For the reasons mentioned, the functionality is not yet documented in the official documentation, but can be used as follows: * to inject custom css add the following property to your `config.json`, `"styles": [{ "href": "css/custom.css", }]`. * to inject custom scripts add the following property to your `config.json`, `"scripts": [{ "src": "js/custom.js", "async": true, }]`. https://github.com/owncloud/web/issues/4735 https://github.com/owncloud/web/pull/8432 https://github.com/owncloud/web/pull/7689 * Enhancement - User settings login field: [#8433](https://github.com/owncloud/web/pull/8433) We've introduced the new login field in the user settings, where the admin can allow or disallow the login for the respective user. https://github.com/owncloud/web/issues/8484 https://github.com/owncloud/web/issues/8467 https://github.com/owncloud/web/issues/8798 https://github.com/owncloud/web/pull/8433 https://github.com/owncloud/web/pull/8799 * Enhancement - Skeleton App: [#8441](https://github.com/owncloud/web/pull/8441) The skeleton app has been part of the project for a long time, but with the conversion to vite it has since been ignored and no longer transpiled. Due to the change, the app is now taken into account again, but must be explicitly enabled. For this please see the associated APP README. Also new is a search example that is now included and uses GitHub to show how a custom search provider can be developed. https://github.com/owncloud/web/pull/8441 * Enhancement - Configurable top bar: [#8449](https://github.com/owncloud/web/pull/8449) We've added a portal `app.runtime.header.right` that allows extensions to render themselves on the top right icons bar. https://github.com/owncloud/web/pull/8449 * Enhancement - Rework notification bell: [#8450](https://github.com/owncloud/web/pull/8450) We're now showing the notification bell based on whether the server supports notifications. Previously it was hidden when there were no notifications. We've added a badge that displays the amount of new notifications. https://github.com/owncloud/web/issues/8452 https://github.com/owncloud/web/pull/8450 https://github.com/owncloud/web/pull/8454 * Enhancement - Autosave content changes in text editor: [#8455](https://github.com/owncloud/web/pull/8455) We have added the configurable functionality to autosave content changes in text editor. https://github.com/owncloud/web/pull/8455 * Enhancement - Update CERN links: [#8473](https://github.com/owncloud/web/pull/8473) We've updated the links displayed in the sidebar for CERN's deployment. https://github.com/owncloud/web/pull/8473 * Enhancement - Respect max quota: [#8489](https://github.com/owncloud/web/pull/8489) We've updated the quota-select component, so that values higher than max quota set on the server side won't be shown. https://github.com/owncloud/web/issues/8490 https://github.com/owncloud/web/issues/8536 https://github.com/owncloud/web/pull/8489 https://github.com/owncloud/web/pull/8571 * Enhancement - User role filter: [#8492](https://github.com/owncloud/web/pull/8492) Users in the users list can now be filtered by their role assignments. https://github.com/owncloud/web/pull/8492 https://github.com/owncloud/web/pull/8495 https://github.com/owncloud/web/pull/8525 * Enhancement - Beautify file version list: [#8503](https://github.com/owncloud/web/issues/8503) We added css changes to the file versions list to make it look more clean and to use standardized layouts like action buttons, download icons etc. https://github.com/owncloud/web/issues/8503 https://github.com/owncloud/web/pull/8504 * Enhancement - Introduce trashbin overview: [#8515](https://github.com/owncloud/web/pull/8515) We've added a trashbin overview page, where the user can see their personal trashbins but also the trashbin of the spaces they are a member of. https://github.com/owncloud/web/issues/8517 https://github.com/owncloud/web/pull/8515 * Enhancement - Make notifications work with oCIS: [#8518](https://github.com/owncloud/web/pull/8518) Notifications now work when running oCIS as backend. https://github.com/owncloud/web/issues/8519 https://github.com/owncloud/web/issues/8520 https://github.com/owncloud/web/issues/8593 https://github.com/owncloud/web/pull/8518 https://github.com/owncloud/web/pull/8582 https://github.com/owncloud/web/pull/8595 https://github.com/owncloud/web/pull/8703 * Enhancement - Public link permission `PublicLink.Write.all`: [#8541](https://github.com/owncloud/web/pull/8541) Support for the public link permission `PublicLink.Write.all` has been added. Users without this permission won't be able to create public links (except for oC10 instances where this permission is being set implicitly). https://github.com/owncloud/web/issues/8540 https://github.com/owncloud/web/pull/8541 https://github.com/owncloud/web/pull/8796 * Enhancement - Add and remove users from groups batch actions: [#8553](https://github.com/owncloud/web/pull/8553) We've introduced add and remove users from groups batch actions to the admin-settings app. https://github.com/owncloud/web/issues/8559 https://github.com/owncloud/web/issues/8558 https://github.com/owncloud/web/issues/8472 https://github.com/owncloud/web/pull/8553 * Enhancement - Beautify form inputs: [#8554](https://github.com/owncloud/web/pull/8554) We've updated the styling of text inputs. https://github.com/owncloud/web/pull/8554 * Enhancement - Rework mobile navigation: [#8557](https://github.com/owncloud/web/issues/8557) The navigation for mobile devices <640px has been reworked. https://github.com/owncloud/web/issues/8557 https://github.com/owncloud/web/issues/7253 https://github.com/owncloud/web/issues/3774 https://github.com/owncloud/web/issues/9073 https://github.com/owncloud/web/pull/8757 https://github.com/owncloud/web/pull/9074 * Enhancement - QuickActions role configurable: [#8566](https://github.com/owncloud/web/pull/8566) We've added the option to change the default quickactions role via capabilities. https://github.com/owncloud/web/issues/8547 https://github.com/owncloud/web/pull/8566 * Enhancement - Add `Accept-Language` header to all outgoing requests: [#8612](https://github.com/owncloud/web/issues/8612) All outgoing requests now have the `Accept-Language` header which includes the current user's language. It falls back to the browser language. https://github.com/owncloud/web/issues/8612 https://github.com/owncloud/web/pull/8621 https://github.com/owncloud/web/pull/8660 * Enhancement - Add logout url: [#8630](https://github.com/owncloud/web/pull/8630) We've added "Logout from active devices" in the account settings https://github.com/owncloud/web/issues/8609 https://github.com/owncloud/web/pull/8630 * Enhancement - Enable guest users: [#8652](https://github.com/owncloud/web/pull/8652) We've added a way to allow guest users without a personal drive to use the web ui. https://github.com/owncloud/web/issues/8663 https://github.com/owncloud/web/pull/8652 * Enhancement - Remove placeholder, add customizable label: [#8711](https://github.com/owncloud/web/pull/8711) The formerly fixed placeholder for the text input on item filter component got removed. Also, we added a customizable label. https://github.com/owncloud/web/pull/8711 * Enhancement - Context helper read more link configurable: [#8713](https://github.com/owncloud/web/pull/8713) We've added a configuration variable to disable the read more link in the contextual helper. https://github.com/owncloud/web/issues/8570 https://github.com/owncloud/web/pull/8713 https://github.com/owncloud/web/pull/8719 * Enhancement - Enable rename groups: [#8715](https://github.com/owncloud/web/pull/8715) Groups can now be renamed via the admin-settings. https://github.com/owncloud/web/issues/8714 https://github.com/owncloud/web/pull/8715 * Enhancement - Create Space from selection: [#8730](https://github.com/owncloud/web/pull/8730) We've added a new action 'Create Space from selection' to the users personal home so they can create a Space with the copied content of their selected files and folders. https://github.com/owncloud/web/issues/8735 https://github.com/owncloud/web/pull/8730 * Enhancement - GDPR export: [#8738](https://github.com/owncloud/web/issues/8738) Users can now request a GDPR export on their account page. Note that this is only supported when running oCIS as backend. https://github.com/owncloud/web/issues/8738 https://github.com/owncloud/web/pull/8741 * Enhancement - Stop bootstrapping application earlier in anonymous contexts: [#8762](https://github.com/owncloud/web/pull/8762) We've optimized the silent token refresh to make less application bootstrapping requests. https://github.com/owncloud/web/pull/8762 * Enhancement - Add support for read-only groups: [#8766](https://github.com/owncloud/web/pull/8766) Read-only groups are now supported. Such groups can't be edited or assigned to/removed from users. They are indicated via a lock icon in the group list and all affected inputs. https://github.com/owncloud/web/issues/8729 https://github.com/owncloud/web/pull/8766 * Enhancement - Custom translations: [#8790](https://github.com/owncloud/web/pull/8790) We have added the possibility to include own translations to override existing translations. To inject custom translations add the following property to your `config.json`, `"customTranslations": [{ "url": "https://localhost:9200/translations.json" }]`. https://github.com/owncloud/web/issues/8791 https://github.com/owncloud/web/pull/8790 * Enhancement - Font family in theming: [#8797](https://github.com/owncloud/web/pull/8797) We've added support for modifying the font family via theming. Please note that the chosen font needs to be made available as `font-face` via additional CSS. https://github.com/owncloud/web/pull/8797 * Enhancement - Preview app sorting: [#8806](https://github.com/owncloud/web/pull/8806) The preview app now respects the sorting from the file list. https://github.com/owncloud/web/issues/7978 https://github.com/owncloud/web/pull/8806 * Enhancement - Adjust missing reshare permissions message: [#8820](https://github.com/owncloud/web/pull/8820) We've changed the missing reshare permission message to be more clear. https://github.com/owncloud/web/issues/8701 https://github.com/owncloud/web/pull/8820 * Enhancement - Fix quicklink icon alignment: [#8822](https://github.com/owncloud/web/pull/8822) We've fixed the alignment of the quicklink icons. https://github.com/owncloud/web/issues/8606 https://github.com/owncloud/web/pull/8822 * Enhancement - Admin settings groups members panel: [#8826](https://github.com/owncloud/web/pull/8826) We've added the members panel to the groups page in admin settings. https://github.com/owncloud/web/issues/8596 https://github.com/owncloud/web/pull/8826 * Enhancement - Respect user read-only configuration by the server: [#8868](https://github.com/owncloud/web/pull/8868) The user edit dialog in the user management will respect the server's FRONTEND_READONLY_USER_ATTRIBUTES configuration, recent fields will be disabled and will have a lock icon to visualize, that those fields are read-only. https://github.com/owncloud/web/issues/8840 https://github.com/owncloud/web/pull/8868 * Enhancement - Update roles and permissions names, labels, texts and icons: [#8876](https://github.com/owncloud/web/pull/8876) We changed the names of roles and permissions in sharing dialogs to verb-based terms. Also we changed other permission related labels, texts and icons. https://github.com/owncloud/web/pull/8876 * Enhancement - Layout of Share role and expiration date dropdown: [#8882](https://github.com/owncloud/web/pull/8882) We changed the layout of the share role/permsission dropdown and expiration date select button to make them more visible and distinctive https://github.com/owncloud/web/pull/8882 * Enhancement - Webfinger redirect app: [#8883](https://github.com/owncloud/web/issues/8883) We've added an app with the name `webfinger` which queries the oCIS webfinger service for the url of the oCIS instance of the user and performs a redirect. This app is not meant to be used in a standard deployment in its current state. It only uses web and its extension system as a platform. In the future this will become a multi tenancy select. https://github.com/owncloud/web/issues/8883 https://github.com/owncloud/web/pull/8884 https://github.com/owncloud/web/pull/8950 https://github.com/owncloud/web/pull/8952 * Enhancement - Rename "Quicklink" to "link": [#8898](https://github.com/owncloud/web/pull/8898) We've renamed "Quicklink" to "link" in the UI https://github.com/owncloud/web/issues/7891 https://github.com/owncloud/web/pull/8898 * Enhancement - Add notification setting to account page: [#8911](https://github.com/owncloud/web/pull/8911) We've added notification setting to the account page, where the user can turn on or off receiving emails for notifications. https://github.com/owncloud/web/issues/8904 https://github.com/owncloud/web/pull/8911 https://github.com/owncloud/web/pull/8972 * Enhancement - Support pagination in admin settings app: [#9048](https://github.com/owncloud/web/issues/9048) We've added pagination to various lists in the admin settings app. So there will be a page selection at the end of the list if more than 50 items are present. https://github.com/owncloud/web/issues/9048 https://github.com/owncloud/web/pull/9119 https://github.com/owncloud/web/pull/9136 * Enhancement - Disable change password capability: [#9070](https://github.com/owncloud/web/pull/9070) We've added the functionality to disable the change password button in the account page via capability, this can be set via env variable FRONTEND_LDAP_SERVER_WRITE_ENABLED. https://github.com/owncloud/web/issues/9060 https://github.com/owncloud/web/pull/9070 * Enhancement - Disable create user and delete user via capabilities: [#9070](https://github.com/owncloud/web/pull/9070) We've added the functionality to disable create user and delete user in the admin-settings-app via capabilities, those can be set via env variable FRONTEND_LDAP_SERVER_WRITE_ENABLED. https://github.com/owncloud/web/issues/9060 https://github.com/owncloud/web/pull/9070 * Enhancement - Show detailed error messages while upload fails: [#9076](https://github.com/owncloud/web/pull/9076) We now show detailed error messages while upload fails and the server provides the error cause. https://github.com/owncloud/web/pull/9076 Changelog for ownCloud Web [6.0.0] (2022-11-29) ======================================= The following sections list the changes in ownCloud web 6.0.0 relevant to ownCloud admins and users. [6.0.0]: https://github.com/owncloud/web/compare/v5.7.0...v6.0.0 Summary ------- * Bugfix - Add language param opening external app: [#7419](https://github.com/owncloud/web/issues/7419) * Bugfix - Resolve upload existing folder: [#7504](https://github.com/owncloud/web/pull/7504) * Bugfix - Shares loading: [#7506](https://github.com/owncloud/web/issues/7506) * Bugfix - Spaces reactivity on update: [#7521](https://github.com/owncloud/web/issues/7521) * Bugfix - Hide search bar in public link context: [#7603](https://github.com/owncloud/web/issues/7603) * Bugfix - Upload modify time: [#7630](https://github.com/owncloud/web/pull/7630) * Bugfix - Sidebar toggle icon: [#7632](https://github.com/owncloud/web/pull/7632) * Bugfix - "Private link"-button alignment: [#7640](https://github.com/owncloud/web/pull/7640) * Bugfix - Spaces on "Shared via link"-page: [#7651](https://github.com/owncloud/web/pull/7651) * Bugfix - Disable copy/move overwrite on self: [#7652](https://github.com/owncloud/web/pull/7652) * Bugfix - Inhibit move files between spaces: [#7652](https://github.com/owncloud/web/pull/7652) * Bugfix - Share permissions for re-shares: [#7657](https://github.com/owncloud/web/issues/7657) * Bugfix - Sidebar for received shares in search file list: [#7662](https://github.com/owncloud/web/pull/7662) * Bugfix - Search bar on small screens: [#7675](https://github.com/owncloud/web/pull/7675) * Bugfix - Link indicator on "Shared with me"-page: [#7697](https://github.com/owncloud/web/issues/7697) * Bugfix - Remove the "close sidebar"-calls on delete: [#7699](https://github.com/owncloud/web/issues/7699) * Bugfix - Folder conflict dialog: [#7724](https://github.com/owncloud/web/pull/7724) * Bugfix - "Copy Quicklink"-translations: [#7731](https://github.com/owncloud/web/pull/7731) * Bugfix - File name reactivity: [#7734](https://github.com/owncloud/web/pull/7734) * Bugfix - Disable shares loading on public and trash locations: [#7739](https://github.com/owncloud/web/pull/7739) * Bugfix - Disappearing quicklink in sidebar: [#7740](https://github.com/owncloud/web/pull/7740) * Bugfix - Reload file list after last share removal: [#7748](https://github.com/owncloud/web/pull/7748) * Bugfix - Try to obtain refresh token before the error case: [#7756](https://github.com/owncloud/web/pull/7756) * Bugfix - Hide actions in space trash bins: [#7768](https://github.com/owncloud/web/pull/7768) * Bugfix - Routing for re-shares: [#7771](https://github.com/owncloud/web/pull/7771) * Bugfix - Trash bin sidebar: [#7778](https://github.com/owncloud/web/issues/7778) * Bugfix - Sidebar without highlighted resource: [#7781](https://github.com/owncloud/web/issues/7781) * Bugfix - Do not load files from cache in public links: [#7811](https://github.com/owncloud/web/pull/7811) * Bugfix - Edit new created user in user management: [#7820](https://github.com/owncloud/web/pull/7820) * Bugfix - "Cut" and "Copy" actions for current folder: [#7830](https://github.com/owncloud/web/pull/7830) * Bugfix - Handle non 2xx external app responses: [#7861](https://github.com/owncloud/web/pull/7861) * Bugfix - Share editing after selecting a space: [#7873](https://github.com/owncloud/web/pull/7873) * Bugfix - Hide share indicators on public page: [#7889](https://github.com/owncloud/web/pull/7889) * Bugfix - "Keep both"-conflict option: [#7903](https://github.com/owncloud/web/issues/7903) * Bugfix - Prefer alias links over private links: [#7916](https://github.com/owncloud/web/pull/7916) * Bugfix - Editing text files on public pages: [#7936](https://github.com/owncloud/web/pull/7936) * Bugfix - Add origin check to Draw.io events: [#7941](https://github.com/owncloud/web/pull/7941) * Bugfix - Prevent shares from disappearing after sharing with groups: [#7946](https://github.com/owncloud/web/issues/7946) * Bugfix - Introduce "upload finalizing"-state in upload overlay: [#7956](https://github.com/owncloud/web/issues/7956) * Bugfix - Display error messages in text editor: [#7960](https://github.com/owncloud/web/issues/7960) * Bugfix - Quota check when replacing files: [#7962](https://github.com/owncloud/web/issues/7962) * Bugfix - Prevent file upload when folder creation failed: [#7975](https://github.com/owncloud/web/pull/7975) * Bugfix - Prevent retrying uploads with status code 5xx: [#7985](https://github.com/owncloud/web/pull/7985) * Bugfix - Versions on the "Shared with me"-page: [#7989](https://github.com/owncloud/web/pull/7989) * Bugfix - Public link loading on role change: [#8006](https://github.com/owncloud/web/pull/8006) * Bugfix - Missing password form on public drop page: [#8007](https://github.com/owncloud/web/pull/8007) * Bugfix - Prevent unnecessary request when saving a user: [#8011](https://github.com/owncloud/web/issues/8011) * Bugfix - Saving a file multiple times with the text editor: [#8030](https://github.com/owncloud/web/pull/8030) * Change - Drive aliases in URLs: [#6648](https://github.com/owncloud/web/issues/6648) * Change - Remove mediaSource and v-image-source: [#7935](https://github.com/owncloud/web/pull/7935) * Enhancement - Add `X-Request-ID` header to all outgoing requests: [#4675](https://github.com/owncloud/web/issues/4675) * Enhancement - Id based routing: [#6247](https://github.com/owncloud/web/issues/6247) * Enhancement - Deny subfolders inside share: [#7190](https://github.com/owncloud/web/pull/7190) * Enhancement - Auth context in route meta props: [#7234](https://github.com/owncloud/web/issues/7234) * Enhancement - Resolve internal links: [#7304](https://github.com/owncloud/web/issues/7304) * Enhancement - Align dark mode colors with given design: [#7373](https://github.com/owncloud/web/issues/7373) * Enhancement - Webdav support in web-client package: [#7430](https://github.com/owncloud/web/pull/7430) * Enhancement - Make keybindings global: [#7569](https://github.com/owncloud/web/pull/7569) * Enhancement - Add restore conflict dialog: [#7635](https://github.com/owncloud/web/pull/7635) * Enhancement - Design polishing: [#7684](https://github.com/owncloud/web/pull/7684) * Enhancement - Resolve private links: [#7707](https://github.com/owncloud/web/issues/7707) * Enhancement - Edit custom permissions wording: [#7709](https://github.com/owncloud/web/pull/7709) * Enhancement - Enable renaming on received shares: [#7725](https://github.com/owncloud/web/pull/7725) * Enhancement - Friendlier logout screen: [#7747](https://github.com/owncloud/web/pull/7747) * Enhancement - Make search results sortable: [#7801](https://github.com/owncloud/web/pull/7801) * Enhancement - Internal link on unaccepted share: [#7803](https://github.com/owncloud/web/issues/7803) * Enhancement - Improve search experience: [#7821](https://github.com/owncloud/web/pull/7821) * Enhancement - Disable share renaming: [#7865](https://github.com/owncloud/web/pull/7865) * Enhancement - Validate space names: [#7890](https://github.com/owncloud/web/pull/7890) * Enhancement - Respect the new sharing denials capability (experimental): [#7892](https://github.com/owncloud/web/pull/7892) * Enhancement - Optimize email validation in the user management app: [#7894](https://github.com/owncloud/web/pull/7894) * Enhancement - XHR upload timeout: [#7900](https://github.com/owncloud/web/issues/7900) * Enhancement - Add search field for space members: [#7901](https://github.com/owncloud/web/pull/7901) * Enhancement - Batch actions for two or more items only: [#7904](https://github.com/owncloud/web/pull/7904) * Enhancement - Update ODS to v14.0.1: [#8028](https://github.com/owncloud/web/pull/8028) Details ------- * Bugfix - Add language param opening external app: [#7419](https://github.com/owncloud/web/issues/7419) We've added the language param when opening an external app https://github.com/owncloud/web/issues/7419 https://github.com/owncloud/web/pull/7631 * Bugfix - Resolve upload existing folder: [#7504](https://github.com/owncloud/web/pull/7504) We've added a conflict dialog which handles name clashes when uploading files and folders. https://github.com/owncloud/web/issues/6996 https://github.com/owncloud/web/pull/7504 * Bugfix - Shares loading: [#7506](https://github.com/owncloud/web/issues/7506) We've improved the loading of shares: * Share loading now happens more globally in the sidebar component instead of in each sidebar panel. * Shares won't be loaded for resources without a path anymore, which massively increases performance. * Several issues with (re-)share permissions have been fixed. * `loadCurrentFileOutgoingShares` and `loadIncomingShares` mutations have been removed. Instead, incoming and outgoing shares are now being loaded via `loadSharesTree()`. This avoids `getShare()` requests from being executed multiple times. * Space member loading has been decoupled from shares loading in store. This reduces fetching of space members to a minimum and improves the structure of the code. * Reactive loading of share indicators in sidebar details panel has been fixed. * Reactive loading of space member count in the spaces overview has been fixed. * Loading of indirect shares within spaces has been fixed. https://github.com/owncloud/web/issues/7506 https://github.com/owncloud/web/issues/7593 https://github.com/owncloud/web/issues/7592 https://github.com/owncloud/web/pull/7580 https://github.com/owncloud/web/pull/7638 https://github.com/owncloud/web/pull/7656 https://github.com/owncloud/web/pull/7668 * Bugfix - Spaces reactivity on update: [#7521](https://github.com/owncloud/web/issues/7521) We've fixed a bug where updated data for a space would not show up in the UI before reloading. https://github.com/owncloud/web/issues/7521 https://github.com/owncloud/web/issues/7782 https://github.com/owncloud/web/pull/7546 https://github.com/owncloud/web/pull/7818 * Bugfix - Hide search bar in public link context: [#7603](https://github.com/owncloud/web/issues/7603) The search bar in a public link context has been hidden because it requires authentication. https://github.com/owncloud/web/issues/7603 https://github.com/owncloud/web/pull/7849 * Bugfix - Upload modify time: [#7630](https://github.com/owncloud/web/pull/7630) We've included the `x-oc-mtime` header in upload requests to tell the backend the proper modify date of uploaded resources. https://github.com/owncloud/web/issues/7628 https://github.com/owncloud/web/pull/7630 https://github.com/owncloud/web/pull/7641 * Bugfix - Sidebar toggle icon: [#7632](https://github.com/owncloud/web/pull/7632) We've fixed a bug where the sidebar toggle icon would not detect the "open"-state of the sidebar. https://github.com/owncloud/web/pull/7632 * Bugfix - "Private link"-button alignment: [#7640](https://github.com/owncloud/web/pull/7640) We've fixed the alignment of the "Private link"-button in the sidebar. https://github.com/owncloud/web/issues/7618 https://github.com/owncloud/web/pull/7640 * Bugfix - Spaces on "Shared via link"-page: [#7651](https://github.com/owncloud/web/pull/7651) Spaces on the "Shared via link"-page are now being displayed correctly. Also, the sidebar for those has been fixed. https://github.com/owncloud/web/issues/7103 https://github.com/owncloud/web/issues/7741 https://github.com/owncloud/web/issues/7869 https://github.com/owncloud/web/pull/7651 https://github.com/owncloud/web/pull/7742 https://github.com/owncloud/web/pull/7870 * Bugfix - Disable copy/move overwrite on self: [#7652](https://github.com/owncloud/web/pull/7652) We've disabled copy/move if the file is moved/copied in the exact same location as before and the user selects overwrite. Previously this caused an network error. https://github.com/owncloud/web/issues/6892 https://github.com/owncloud/web/pull/7652 * Bugfix - Inhibit move files between spaces: [#7652](https://github.com/owncloud/web/pull/7652) We've inhibited moving files between spaces and will offer the user to copy instead. https://github.com/owncloud/web/issues/6892 https://github.com/owncloud/web/pull/7652 https://github.com/owncloud/web/pull/7735 * Bugfix - Share permissions for re-shares: [#7657](https://github.com/owncloud/web/issues/7657) We've fixed a bug where the selectable roles on a re-share could exceed the parent share's permissions in certain scenarios. https://github.com/owncloud/web/issues/7657 https://github.com/owncloud/web/pull/7844 * Bugfix - Sidebar for received shares in search file list: [#7662](https://github.com/owncloud/web/pull/7662) We've fixed a bug where the sidebar for received shares in the search file list was broken. https://github.com/owncloud/web/issues/7661 https://github.com/owncloud/web/pull/7662 * Bugfix - Search bar on small screens: [#7675](https://github.com/owncloud/web/pull/7675) We've fixed the display of the search bar on small screens. https://github.com/owncloud/web/issues/7617 https://github.com/owncloud/web/pull/7675 * Bugfix - Link indicator on "Shared with me"-page: [#7697](https://github.com/owncloud/web/issues/7697) Link indicators in the sidebar on the "Shared with me"-page will now be displayed correctly. https://github.com/owncloud/web/issues/7697 https://github.com/owncloud/web/pull/7853 * Bugfix - Remove the "close sidebar"-calls on delete: [#7699](https://github.com/owncloud/web/issues/7699) We've removed the "close sidebar"-calls when deleting a resource as the mutations are not available as well as not needed anymore. https://github.com/owncloud/web/issues/7699 https://github.com/owncloud/web/pull/7733 * Bugfix - Folder conflict dialog: [#7724](https://github.com/owncloud/web/pull/7724) * Fixed "Keep both" and "Skip" options in Firefox * Fixed "Keep both" and "Skip" options when uploading via the "Upload"-menu * Fixed broken "Upload"-menu after skipping all files (= no files uploaded) * Fixed issues when uploading a folder into another folder which has or starts with the same name https://github.com/owncloud/web/issues/7680 https://github.com/owncloud/web/pull/7724 * Bugfix - "Copy Quicklink"-translations: [#7731](https://github.com/owncloud/web/pull/7731) We've fixed a bug where the translation for the "Copy Quicklink"-notification was not working. https://github.com/owncloud/web/issues/7720 https://github.com/owncloud/web/pull/7731 * Bugfix - File name reactivity: [#7734](https://github.com/owncloud/web/pull/7734) We've fixed a bug where the file name would not update reactively in the sidebar after changing it. https://github.com/owncloud/web/issues/7713 https://github.com/owncloud/web/pull/7734 * Bugfix - Disable shares loading on public and trash locations: [#7739](https://github.com/owncloud/web/pull/7739) We've disabled shares loading on public and trash locations as it's not needed. https://github.com/owncloud/web/issues/7667 https://github.com/owncloud/web/pull/7739 * Bugfix - Disappearing quicklink in sidebar: [#7740](https://github.com/owncloud/web/pull/7740) We've fixed a bug where existing quicklinks would disappear when performing the "Create quicklink"-action. https://github.com/owncloud/web/issues/7736 https://github.com/owncloud/web/pull/7740 * Bugfix - Reload file list after last share removal: [#7748](https://github.com/owncloud/web/pull/7748) We've fixed a bug where the file list would not update after removing the last share or link. Also, we now prevent the shares tree from being loaded again if the removed share was not the last one. https://github.com/owncloud/web/pull/7748 * Bugfix - Try to obtain refresh token before the error case: [#7756](https://github.com/owncloud/web/pull/7756) We've added a fallback strategy to try to revive the refresh token one more last time. This is for the rare case where the application is running in the background and the browsers throttles the token refresh mechanism. https://github.com/owncloud/web/pull/7756 * Bugfix - Hide actions in space trash bins: [#7768](https://github.com/owncloud/web/pull/7768) Actions in space trash bins are now hidden if the current user has insufficient permissions. https://github.com/owncloud/web/issues/7702 https://github.com/owncloud/web/pull/7768 * Bugfix - Routing for re-shares: [#7771](https://github.com/owncloud/web/pull/7771) We've fixed a bug where routing into re-shares and their parent folders from the "Shared with others/via link" page was broken. https://github.com/owncloud/web/issues/7347 https://github.com/owncloud/web/pull/7771 https://github.com/owncloud/web/pull/7790 * Bugfix - Trash bin sidebar: [#7778](https://github.com/owncloud/web/issues/7778) We've fixed the sidebar in the trash bin which was throwing errors and not showing the right content. https://github.com/owncloud/web/issues/7778 https://github.com/owncloud/web/pull/7787 * Bugfix - Sidebar without highlighted resource: [#7781](https://github.com/owncloud/web/issues/7781) Sidebar panels that require a resource now won't be loaded without such. This fixes a bug where navigating with an open sidebar would break it. https://github.com/owncloud/web/issues/7781 https://github.com/owncloud/web/pull/7826 * Bugfix - Do not load files from cache in public links: [#7811](https://github.com/owncloud/web/pull/7811) When apps (i.e Drawio) try to load a file, the browser caches the request. If the file was modified somewhere else, this causes inconsistent results which prevent saving any changes until the cache is properly cleared. This had previously been fixed for normal files, but not yet for public links - which we took care of now. https://github.com/owncloud/web/pull/7811 https://github.com/owncloud/web/pull/7075 * Bugfix - Edit new created user in user management: [#7820](https://github.com/owncloud/web/pull/7820) We've fixed a bug, where editing a user after creating in the user management was only possible after page refresh. https://github.com/owncloud/web/issues/7761 https://github.com/owncloud/web/pull/7820 * Bugfix - "Cut" and "Copy" actions for current folder: [#7830](https://github.com/owncloud/web/pull/7830) The "Cut" and "Copy" actions for the current folder have been fixed. https://github.com/owncloud/web/issues/7784 https://github.com/owncloud/web/pull/7830 * Bugfix - Handle non 2xx external app responses: [#7861](https://github.com/owncloud/web/pull/7861) Axios no longer skips on non 200 status responses in app-external. If the status is not 2xx, the application now displays a proper error message. https://github.com/owncloud/web/pull/7861 * Bugfix - Share editing after selecting a space: [#7873](https://github.com/owncloud/web/pull/7873) We've fixed a bug where editing or deleting shares in the personal space was not possible if a project space was selected previously. https://github.com/owncloud/web/issues/7872 https://github.com/owncloud/web/pull/7873 * Bugfix - Hide share indicators on public page: [#7889](https://github.com/owncloud/web/pull/7889) Share indicators are now being hidden on public link pages. https://github.com/owncloud/web/issues/7888 https://github.com/owncloud/web/pull/7889 * Bugfix - "Keep both"-conflict option: [#7903](https://github.com/owncloud/web/issues/7903) We've fixed an issue with the "Keep both"-conflict option where uploaded folders would get mixed up. https://github.com/owncloud/web/issues/7903 https://github.com/owncloud/web/pull/7905 * Bugfix - Prefer alias links over private links: [#7916](https://github.com/owncloud/web/pull/7916) The private link capability has recently been enabled in oCIS to announce to clients that private links are available. However, if alias links are available the web ui is supposed to only show alias links. Thus the "copy private link" button has been disabled when alias links are available. https://github.com/owncloud/web/pull/7916 * Bugfix - Editing text files on public pages: [#7936](https://github.com/owncloud/web/pull/7936) We've fixed a bug where editing text files on public pages was not possible with the oC10 backend. https://github.com/owncloud/web/issues/7932 https://github.com/owncloud/web/pull/7936 * Bugfix - Add origin check to Draw.io events: [#7941](https://github.com/owncloud/web/pull/7941) Origin checks have been added to all Draw.io events due to security reasons. https://github.com/owncloud/web/issues/7933 https://github.com/owncloud/web/pull/7941 * Bugfix - Prevent shares from disappearing after sharing with groups: [#7946](https://github.com/owncloud/web/issues/7946) The disappearing of shares after sharing with groups on the "Shared with me"-page has been fixed. https://github.com/owncloud/web/issues/7946 https://github.com/owncloud/web/pull/8009 * Bugfix - Introduce "upload finalizing"-state in upload overlay: [#7956](https://github.com/owncloud/web/issues/7956) The "upload finalizing"-state has been introduced to the upload overlay. This state is relevant during the time window when all data has been transferred to the server (= progress bar is at 100%), but the server still needs to write all data to the storage. The "cancel"- and "pause"-actions are disabled during the "upload finalizing"-state as the data transfer is technically finished. Previously, when pausing and resuming when being in this state, the upload would be marked as successful instantly, despite the server still writing to the storage. https://github.com/owncloud/web/issues/7956 https://github.com/owncloud/web/pull/7974 https://github.com/owncloud/web/pull/7999 * Bugfix - Display error messages in text editor: [#7960](https://github.com/owncloud/web/issues/7960) Error messages in and when leaving the text editor are now being displayed properly. https://github.com/owncloud/web/issues/7960 https://github.com/owncloud/web/pull/8001 * Bugfix - Quota check when replacing files: [#7962](https://github.com/owncloud/web/issues/7962) An issue with the quota check when replacing an existing file while having enough quota has been fixed. https://github.com/owncloud/web/issues/7962 https://github.com/owncloud/web/pull/8015 * Bugfix - Prevent file upload when folder creation failed: [#7975](https://github.com/owncloud/web/pull/7975) We've fixed a bug where files would try to be uploaded if the creation of their respective folder failed beforehand. https://github.com/owncloud/web/issues/7957 https://github.com/owncloud/web/pull/7975 https://github.com/owncloud/web/pull/7999 * Bugfix - Prevent retrying uploads with status code 5xx: [#7985](https://github.com/owncloud/web/pull/7985) Uploads with status code 5xx can't be retried on the server side, hence the automatic retry has been disabled in such cases. https://github.com/owncloud/web/issues/7971 https://github.com/owncloud/web/pull/7985 * Bugfix - Versions on the "Shared with me"-page: [#7989](https://github.com/owncloud/web/pull/7989) Downloading and reverting versions on the "Shared with me"-page has been fixed. https://github.com/owncloud/web/issues/7980 https://github.com/owncloud/web/pull/7989 * Bugfix - Public link loading on role change: [#8006](https://github.com/owncloud/web/pull/8006) The loading and resolving of public links when their respective roles have changed has been fixed. https://github.com/owncloud/web/issues/8003 https://github.com/owncloud/web/pull/8006 * Bugfix - Missing password form on public drop page: [#8007](https://github.com/owncloud/web/pull/8007) We've fixed a bug where the password form on a public drop page would not show after setting a required password. https://github.com/owncloud/web/issues/7670 https://github.com/owncloud/web/pull/8007 * Bugfix - Prevent unnecessary request when saving a user: [#8011](https://github.com/owncloud/web/issues/8011) We've fixed a bug where changing the role of a user without changing any other data would cause an unnecessary request. https://github.com/owncloud/web/issues/8011 https://github.com/owncloud/web/pull/8013 * Bugfix - Saving a file multiple times with the text editor: [#8030](https://github.com/owncloud/web/pull/8030) An issue with saving a file multiple times via text editor has been fixed. https://github.com/owncloud/web/issues/8029 https://github.com/owncloud/web/pull/8030 * Change - Drive aliases in URLs: [#6648](https://github.com/owncloud/web/issues/6648) We changed the URL format to not use storageIds in the URL path anymore to identify spaces, but instead use drive aliases of spaces in the URL path. BREAKING CHANGE for users: this breaks existing bookmarks - they won't resolve anymore. BREAKING CHANGE for developers: the appDefaults composables from web-pkg now work with drive aliases, concatenated with relative item paths, instead of webdav paths. If you use the appDefaults composables in your application it's likely that your code needs to be adapted. https://github.com/owncloud/web/issues/6648 https://github.com/owncloud/web/pull/7430 https://github.com/owncloud/web/pull/7791 * Change - Remove mediaSource and v-image-source: [#7935](https://github.com/owncloud/web/pull/7935) We have removed the deprecated `mediaSource` helper function and the `v-image-source` directive. BREAKING CHANGE for developers: `mediaSource` and `v-image-source` are not available anymore, `loadPreview` should be used once web-pkg is published. https://github.com/owncloud/web/issues/7338 https://github.com/owncloud/web/pull/7935 https://github.com/owncloud/web/pull/7072 https://github.com/owncloud/web/pull/7350 * Enhancement - Add `X-Request-ID` header to all outgoing requests: [#4675](https://github.com/owncloud/web/issues/4675) `X-Request-ID` headers have been added to all outgoing requests to make the tracing of requests easier. https://github.com/owncloud/web/issues/4675 https://github.com/owncloud/web/pull/7800 * Enhancement - Id based routing: [#6247](https://github.com/owncloud/web/issues/6247) We now include fileIds in the URL query to be able to - resolve files and spaces correctly and - resolve the correct relative path of a file if it was changed (this might be the case for bookmarks) The fileIds in the URL can be disabled by setting `options.routing.idBased` to `false` in the `config.json`. Note: It's recommended to keep the default of fileIds being used in routing. Otherwise it's not possible to resolve spaces with name clashes correctly. https://github.com/owncloud/web/issues/6247 https://github.com/owncloud/web/issues/7714 https://github.com/owncloud/web/issues/7715 https://github.com/owncloud/web/pull/7725 https://github.com/owncloud/web/pull/7797 * Enhancement - Deny subfolders inside share: [#7190](https://github.com/owncloud/web/pull/7190) Sub-folders within user- and group-shares can now be denied for certain share receivers if the backend is capable of negative ACLs. Please note that the state of this feature is experimental and needs to be enabled in the backend. https://github.com/owncloud/web/issues/7180 https://github.com/owncloud/web/pull/7190 * Enhancement - Auth context in route meta props: [#7234](https://github.com/owncloud/web/issues/7234) The route meta prop has been extended by a new "meta.authContext" property (can be one out of "anonymous", "user", "publicLink" or "hybrid"). With this, app developers can now define anonymous routes, which was hardcoded to a few well known route names before. Anonymous routes are rendered in the application layout, i.e. with the top bar, as the ownCloud Web Chrome should always be visible to the user (except for a few handpicked exceptions in the web runtime, which are still rendered in the plain layout). https://github.com/owncloud/web/issues/7234 https://github.com/owncloud/web/issues/7863 https://github.com/owncloud/web/pull/7874 * Enhancement - Resolve internal links: [#7304](https://github.com/owncloud/web/issues/7304) Public links with the role "internal" can now be resolved. https://github.com/owncloud/web/issues/7304 https://github.com/owncloud/web/issues/6844 https://github.com/owncloud/web/pull/7405 https://github.com/owncloud/web/pull/7769 * Enhancement - Align dark mode colors with given design: [#7373](https://github.com/owncloud/web/issues/7373) The colors in the dark mode have been aligned with the given design. This improves the overall look and readability. https://github.com/owncloud/web/issues/7373 https://github.com/owncloud/web/issues/7353 https://github.com/owncloud/web/issues/7738 https://github.com/owncloud/web/pull/7862 * Enhancement - Webdav support in web-client package: [#7430](https://github.com/owncloud/web/pull/7430) Only relevant for developers: We've added webdav support to the `web-client` package. This wraps the existing webdav requests from ownCloud SDK but handles the differentiation of public link and user-specific webdav requests internally. https://github.com/owncloud/web/pull/7430 https://github.com/owncloud/web/pull/7880 * Enhancement - Make keybindings global: [#7569](https://github.com/owncloud/web/pull/7569) We've made keybindings global and introduced a data-attribute to mark elements that need custom keybindings https://github.com/owncloud/web/pull/7569 https://github.com/owncloud/web/pull/7648 https://github.com/owncloud/web/pull/7735 * Enhancement - Add restore conflict dialog: [#7635](https://github.com/owncloud/web/pull/7635) We've added conflict handling for restoring files from the trashbin https://github.com/owncloud/web/issues/1753 https://github.com/owncloud/web/pull/7635 * Enhancement - Design polishing: [#7684](https://github.com/owncloud/web/pull/7684) We've polished the overall design, especially spacings and the spaces-views. https://github.com/owncloud/web/issues/6705 https://github.com/owncloud/web/issues/7676 https://github.com/owncloud/web/issues/7525 https://github.com/owncloud/web/issues/7693 https://github.com/owncloud/web/issues/7694 https://github.com/owncloud/web/issues/7685 https://github.com/owncloud/web/issues/7693 https://github.com/owncloud/web/issues/7773 https://github.com/owncloud/web/pull/7684 * Enhancement - Resolve private links: [#7707](https://github.com/owncloud/web/issues/7707) Private links can now be resolved. https://github.com/owncloud/web/issues/7707 https://github.com/owncloud/web/pull/7405 https://github.com/owncloud/web/pull/7769 * Enhancement - Edit custom permissions wording: [#7709](https://github.com/owncloud/web/pull/7709) We've changed the custom permission wording from 'update' to 'edit' https://github.com/owncloud/web/issues/7703 https://github.com/owncloud/web/pull/7709 * Enhancement - Enable renaming on received shares: [#7725](https://github.com/owncloud/web/pull/7725) As a receiver the user can rename a share which will only take effect for the respective user but won't change the name for the sharee or other share receivers. https://github.com/owncloud/web/issues/6247 https://github.com/owncloud/web/pull/7725 * Enhancement - Friendlier logout screen: [#7747](https://github.com/owncloud/web/pull/7747) We have updated the message and layout of the logout screen to make it a more pleasant user experience. https://github.com/owncloud/web/issues/7744 https://github.com/owncloud/web/pull/7747 * Enhancement - Make search results sortable: [#7801](https://github.com/owncloud/web/pull/7801) The files table on the search-result-page is now sortable. https://github.com/owncloud/web/issues/7798 https://github.com/owncloud/web/pull/7801 * Enhancement - Internal link on unaccepted share: [#7803](https://github.com/owncloud/web/issues/7803) The error message when resolving an internal link to an unaccepted share has been improved for a better UX. https://github.com/owncloud/web/issues/7803 https://github.com/owncloud/web/pull/7814 * Enhancement - Improve search experience: [#7821](https://github.com/owncloud/web/pull/7821) We've improved the overall search experience with following points: * increase search typing debounce to 500ms * send search requests only once on reloads * update search preview results on activation https://github.com/owncloud/web/pull/7821 * Enhancement - Disable share renaming: [#7865](https://github.com/owncloud/web/pull/7865) Renaming of shares has been disabled temporarily until it works as expected. https://github.com/owncloud/web/pull/7865 * Enhancement - Validate space names: [#7890](https://github.com/owncloud/web/pull/7890) Spaces names are now being validated when creating or renaming spaces. The following special characters are not allowed: / \ . : ? * " > < | https://github.com/owncloud/web/pull/7890 * Enhancement - Respect the new sharing denials capability (experimental): [#7892](https://github.com/owncloud/web/pull/7892) The oCIS backend has added a new capability, files_sharing.enable_denials, which announces to clients if the experimental "No access" sharing role is supposed to be available. This capability is now respected by web, so that users only see the experimental "No access" role if the backend allows it. https://github.com/owncloud/web/pull/7892 https://github.com/owncloud/ocis/pull/4903 * Enhancement - Optimize email validation in the user management app: [#7894](https://github.com/owncloud/web/pull/7894) We've optimized the email validation process while creating users in the user management app to provide a better user experience. https://github.com/owncloud/web/issues/7806 https://github.com/owncloud/web/pull/7894 * Enhancement - XHR upload timeout: [#7900](https://github.com/owncloud/web/issues/7900) The default timeout for XHR uploads has been increased from 30 to 60 seconds. Also, it can now be configured via the `config.json` file (in ms). https://github.com/owncloud/web/issues/7900 https://github.com/owncloud/web/pull/7912 * Enhancement - Add search field for space members: [#7901](https://github.com/owncloud/web/pull/7901) We've added a search field for space members, so the user can easily filter for existing space members. https://github.com/owncloud/web/issues/7746 https://github.com/owncloud/web/pull/7901 * Enhancement - Batch actions for two or more items only: [#7904](https://github.com/owncloud/web/pull/7904) Batch actions are now only being displayed if two or more items are selected. https://github.com/owncloud/web/pull/7904 * Enhancement - Update ODS to v14.0.1: [#8028](https://github.com/owncloud/web/pull/8028) We updated the ownCloud Design System to version 14.0.1. Please refer to the full changelog in the ODS release (linked) for more details. Summary: * Bugfix - Omit special characters in user avatar initials: [#2070](https://github.com/owncloud/owncloud-design-system/issues/2070) * Bugfix - Avatar link icon: [#2269](https://github.com/owncloud/owncloud-design-system/pull/2269) * Bugfix - Firefox drag & drop move of folders not possible: [#7495](https://github.com/owncloud/web/issues/7495) * Bugfix - Lazy loading render performance: [#2260](https://github.com/owncloud/owncloud-design-system/pull/2260) * Bugfix - Remove width shrinking of the ocAvatarItem: [#2241](https://github.com/owncloud/owncloud-design-system/issues/2241) * Bugfix - Remove click event on OcIcon: [#2216](https://github.com/owncloud/owncloud-design-system/pull/2216) * Bugfix - Modal input message overlays with buttons: [#2343](https://github.com/owncloud/owncloud-design-system/pull/2343) * Change - Redesign contextual helper: [#2271](https://github.com/owncloud/owncloud-design-system/pull/2271) * Change - Remove OcAlert component: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Change - Remove transition animations: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Change - Revamp animations: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Change - OcTable emit event data on row click: [#2218](https://github.com/owncloud/owncloud-design-system/pull/2218) * Enhancement - Add nestedd drop functionality: [#2238](https://github.com/owncloud/owncloud-design-system/issues/2238) * Enhancement - Add OcInfoDrop: [#2286](https://github.com/owncloud/owncloud-design-system/pull/2286) * Enhancement - Add rounded prop to OcTag: [#2284](https://github.com/owncloud/owncloud-design-system/pull/2284) * Enhancement - Adjust avatar font weight from bold to normal: [#2275](https://github.com/owncloud/owncloud-design-system/pull/2275) * Enhancement - Align breadcrumb context menu with regular context menu: [#2296](https://github.com/owncloud/owncloud-design-system/pull/2296) * Enhancement - OcCheckbox add outline: [#2218](https://github.com/owncloud/owncloud-design-system/pull/2218) * Enhancement - Add offset property to the drop component: [#7335](https://github.com/owncloud/web/issues/7335) * Enhancement - Make UI smaller: [#2270](https://github.com/owncloud/owncloud-design-system/pull/2270) * Enhancement - Oc-card style: [#2306](https://github.com/owncloud/owncloud-design-system/pull/2306) * Enhancement - OcSelect dark mode improvements: [#2262](https://github.com/owncloud/owncloud-design-system/pull/2262) * Enhancement - Progress bar indeterminate state: [#2200](https://github.com/owncloud/owncloud-design-system/pull/2200) * Enhancement - Redesign notifications: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Enhancement - Use Inter font: [#2270](https://github.com/owncloud/owncloud-design-system/pull/2270) * Enhancement - Button text align left: [#2323](https://github.com/owncloud/owncloud-design-system/pull/2323) * Enhancement - "Cancel"-button and -handler in OcSearchBar: [#2328](https://github.com/owncloud/owncloud-design-system/pull/2328) * Enhancement - Adjust breadcrumb spacing: [#2329](https://github.com/owncloud/owncloud-design-system/pull/2329) * Enhancement - Remove border on buttons: [#2345](https://github.com/owncloud/owncloud-design-system/pull/2345) * Enhancement - Input background color: [#2352](https://github.com/owncloud/owncloud-design-system/pull/2352) https://github.com/owncloud/web/pull/8028 https://github.com/owncloud/owncloud-design-system/releases/tag/v14.0.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v14.0.1 Changelog for ownCloud Web [5.7.0] (2022-09-09) ======================================= The following sections list the changes in ownCloud web 5.7.0 relevant to ownCloud admins and users. [5.7.0]: https://github.com/owncloud/web/compare/v5.6.1...v5.7.0 Summary ------- * Bugfix - Don't leak oidc callback url into browser history: [#3071](https://github.com/owncloud/web/issues/3071) * Bugfix - Logout deleted user on page reload: [#4677](https://github.com/owncloud/web/issues/4677) * Bugfix - Space sidebar sharing indicators: [#6921](https://github.com/owncloud/web/pull/6921) * Bugfix - Access token renewal: [#7030](https://github.com/owncloud/web/issues/7030) * Bugfix - File list render performance: [#7038](https://github.com/owncloud/web/issues/7038) * Bugfix - Add Droparea again: [#7080](https://github.com/owncloud/web/issues/7080) * Bugfix - External apps fixes: [#7166](https://github.com/owncloud/web/pull/7166) * Bugfix - Re-introduce dynamic app name in document title: [#7173](https://github.com/owncloud/web/pull/7173) * Bugfix - Create space and access user management permission: [#7197](https://github.com/owncloud/web/pull/7197) * Bugfix - Repair navigation highlighter: [#7210](https://github.com/owncloud/web/pull/7210) * Bugfix - Prevent error when pasting with empty clipboard: [#7214](https://github.com/owncloud/web/pull/7214) * Bugfix - Filename hovers over the image in the preview app: [#7216](https://github.com/owncloud/web/pull/7216) * Bugfix - Shared with others page apps not working with oc10 as backend: [#7228](https://github.com/owncloud/web/pull/7228) * Bugfix - Context menu misplaced when triggered by keyboard navigation: [#7230](https://github.com/owncloud/web/pull/7230) * Bugfix - Access token renewal during upload: [#7240](https://github.com/owncloud/web/issues/7240) * Bugfix - Hide empty trash bin modal on error: [#7248](https://github.com/owncloud/web/pull/7248) * Bugfix - Personal shares leaked into project space: [#7268](https://github.com/owncloud/web/issues/7268) * Bugfix - Print backend version: [#7272](https://github.com/owncloud/web/issues/7272) * Bugfix - Upload overlay progress bar spacing: [#7297](https://github.com/owncloud/web/pull/7297) * Bugfix - "Shared with others" and "Shared via Link" resource links not working: [#7308](https://github.com/owncloud/web/pull/7308) * Bugfix - SidebarNavItem icon flickering: [#7309](https://github.com/owncloud/web/pull/7309) * Bugfix - Versions of shared files not visible: [#7313](https://github.com/owncloud/web/pull/7313) * Bugfix - Missing scroll bar in user management app: [#7321](https://github.com/owncloud/web/pull/7321) * Bugfix - Files pagination scroll to top: [#7322](https://github.com/owncloud/web/pull/7322) * Bugfix - Loading state in views: [#7325](https://github.com/owncloud/web/pull/7325) * Bugfix - Users list not loading if user has no role: [#7332](https://github.com/owncloud/web/pull/7332) * Bugfix - No redirect after disabling space: [#7334](https://github.com/owncloud/web/pull/7334) * Bugfix - Missing file icon in details panel: [#7344](https://github.com/owncloud/web/pull/7344) * Bugfix - Left sidebar active navigation item has wrong cursor: [#7348](https://github.com/owncloud/web/pull/7348) * Bugfix - Missing quick actions in spaces file list: [#7349](https://github.com/owncloud/web/pull/7349) * Bugfix - Link indicator on "Shared via link"-page: [#7355](https://github.com/owncloud/web/pull/7355) * Bugfix - Batch deleting multiple files: [#7357](https://github.com/owncloud/web/pull/7357) * Bugfix - Fix infinite loading spinner on invalid preview links: [#7359](https://github.com/owncloud/web/pull/7359) * Bugfix - Tooltips not shown on disabled create and upload button: [#7376](https://github.com/owncloud/web/pull/7376) * Bugfix - Decline share not possible: [#7379](https://github.com/owncloud/web/pull/7379) * Bugfix - Open file on shared space resource not possible: [#7379](https://github.com/owncloud/web/pull/7379) * Bugfix - Rename shared space resource not possible: [#7379](https://github.com/owncloud/web/pull/7379) * Bugfix - Selected item bottom glue: [#7393](https://github.com/owncloud/web/pull/7393) * Bugfix - Suppress active panel error log: [#7394](https://github.com/owncloud/web/pull/7394) * Bugfix - Add storage ID when navigating to a shared parent directory: [#7396](https://github.com/owncloud/web/pull/7396) * Bugfix - Respect space quota permission: [#7400](https://github.com/owncloud/web/issues/7400) * Bugfix - Re-fetch quota: [#7415](https://github.com/owncloud/web/pull/7415) * Bugfix - Quicklinks not shown: [#7424](https://github.com/owncloud/web/pull/7424) * Bugfix - Open Folder in project space context menu: [#7425](https://github.com/owncloud/web/pull/7425) * Bugfix - Hide share actions for space viewers/editors: [#7436](https://github.com/owncloud/web/issues/7436) * Bugfix - Default to user context: [#7437](https://github.com/owncloud/web/pull/7437) * Bugfix - Datetime formatting: [#7443](https://github.com/owncloud/web/pull/7443) * Bugfix - File size formatting: [#7443](https://github.com/owncloud/web/pull/7443) * Bugfix - User management app close side bar throws error: [#7445](https://github.com/owncloud/web/pull/7445) * Bugfix - Stuck After Session Expired: [#7453](https://github.com/owncloud/web/issues/7453) * Bugfix - Improve keyboard shortcuts copy/cut files: [#7455](https://github.com/owncloud/web/issues/7455) * Bugfix - File size not updated while restoring file version: [#7469](https://github.com/owncloud/web/pull/7469) * Bugfix - Dragging a file causes no selection: [#7473](https://github.com/owncloud/web/pull/7473) * Bugfix - Load only supported thumbnails (configurable): [#7474](https://github.com/owncloud/web/pull/7474) * Bugfix - "Shared via"-indicator for links: [#7478](https://github.com/owncloud/web/issues/7478) * Bugfix - Missing space image in sidebar: [#7480](https://github.com/owncloud/web/issues/7480) * Bugfix - Prevent unnecessary PROPFIND request during upload: [#7486](https://github.com/owncloud/web/issues/7486) * Bugfix - Fix right sidebar content on small screens: [#7498](https://github.com/owncloud/web/issues/7498) * Bugfix - Paste action (keyboard) not working in project spaces: [#7510](https://github.com/owncloud/web/issues/7510) * Bugfix - File name in text editor: [#7516](https://github.com/owncloud/web/pull/7516) * Bugfix - Sidebar for current folder: [#7519](https://github.com/owncloud/web/issues/7519) * Bugfix - Allow uploads outside of user's home despite quota being exceeded: [#7522](https://github.com/owncloud/web/pull/7522) * Bugfix - Left sidebar when switching apps: [#7526](https://github.com/owncloud/web/issues/7526) * Bugfix - Redirect after removing self from space members: [#7534](https://github.com/owncloud/web/issues/7534) * Bugfix - Search share representation: [#7560](https://github.com/owncloud/web/pull/7560) * Bugfix - Merge share with group and group member into one: [#7582](https://github.com/owncloud/web/issues/7582) * Bugfix - Typo when reading public links capabilities: [#7595](https://github.com/owncloud/web/pull/7595) * Bugfix - Expiration date picker with long language codes: [#7622](https://github.com/owncloud/web/issues/7622) * Enhancement - Remember the UI that was last selected via the application switcher: [#6173](https://github.com/owncloud/web/pull/6173) * Enhancement - Option to block file extensions from text-editor app: [#6661](https://github.com/owncloud/web/issues/6661) * Enhancement - Loading context blocks application bootstrap: [#7030](https://github.com/owncloud/web/issues/7030) * Enhancement - Resolve bookmarked public links with password protection: [#7030](https://github.com/owncloud/web/issues/7030) * Enhancement - Reduce pagination options: [#7038](https://github.com/owncloud/web/issues/7038) * Enhancement - Improve performance of share indicators: [#7038](https://github.com/owncloud/web/issues/7038) * Enhancement - Re-sharing for ocis: [#7086](https://github.com/owncloud/web/pull/7086) * Enhancement - Permissionless (internal) link shares: [#7133](https://github.com/owncloud/web/pull/7133) * Enhancement - Reposition notifications: [#7139](https://github.com/owncloud/web/pull/7139) * Enhancement - Add Keyboard navigation/selection: [#7153](https://github.com/owncloud/web/pull/7153) * Enhancement - Introduce group assignments: [#7176](https://github.com/owncloud/web/pull/7176) * Enhancement - Update Uppy to v3.0.1: [#7177](https://github.com/owncloud/web/issues/7177) * Enhancement - User management app edit quota: [#7182](https://github.com/owncloud/web/pull/7182) * Enhancement - Added a toolbar to pdf-viewer app: [#7201](https://github.com/owncloud/web/pull/7201) * Enhancement - Add change own password dialog to the account info page: [#7206](https://github.com/owncloud/web/pull/7206) * Enhancement - Add app top bar component: [#7217](https://github.com/owncloud/web/pull/7217) * Enhancement - Redesign shared with list: [#7252](https://github.com/owncloud/web/pull/7252) * Enhancement - Search all files announce limit: [#7267](https://github.com/owncloud/web/pull/7267) * Enhancement - Keyboard shortcut indicators in ContextMenu: [#7309](https://github.com/owncloud/web/pull/7309) * Enhancement - Lowlight cut resources: [#7309](https://github.com/owncloud/web/pull/7309) * Enhancement - Replace locationpicker with clipboard actions: [#7309](https://github.com/owncloud/web/pull/7309) * Enhancement - Change file loading mechanism in `preview` app: [#7350](https://github.com/owncloud/web/pull/7350) * Enhancement - Declined shares are now easily accessible: [#7356](https://github.com/owncloud/web/pull/7356) * Enhancement - Streamline UI sizings: [#7363](https://github.com/owncloud/web/pull/7363) * Enhancement - Sharing panel show label instead of description for links: [#7364](https://github.com/owncloud/web/pull/7364) * Enhancement - Drop menu styling in right sidebar: [#7365](https://github.com/owncloud/web/pull/7365) * Enhancement - Use fixed width for the right sidebar: [#7371](https://github.com/owncloud/web/pull/7371) * Enhancement - User management app saved dialog: [#7375](https://github.com/owncloud/web/pull/7375) * Enhancement - Adjust helper texts: [#7404](https://github.com/owncloud/web/pull/7404) * Enhancement - Users table on small screen: [#7476](https://github.com/owncloud/web/pull/7476) * Enhancement - Add resource name to the WebDAV properties: [#7485](https://github.com/owncloud/web/pull/7485) * Enhancement - Left sidebar hover effect: [#7540](https://github.com/owncloud/web/issues/7540) * Enhancement - Propose unique file name while creating a new file: [#7555](https://github.com/owncloud/web/pull/7555) * Enhancement - Don't open right sidebar from private links: [#7559](https://github.com/owncloud/web/pull/7559) * Enhancement - Adjust spacing of the files list options menu: [#7570](https://github.com/owncloud/web/pull/7570) * Enhancement - Remove clickOutside directive: [#7584](https://github.com/owncloud/web/pull/7584) * Enhancement - Search improvements: [#7586](https://github.com/owncloud/web/pull/7586) * Enhancement - Simplify mime type checking: [#7605](https://github.com/owncloud/web/pull/7605) * Enhancement - Update ODS to v14.0.0-alpha.18: [#7626](https://github.com/owncloud/web/pull/7626) Details ------- * Bugfix - Don't leak oidc callback url into browser history: [#3071](https://github.com/owncloud/web/issues/3071) We've made sure that the oidc callback url does not appear in the browser history after the user has been redirected back from the IdP to ownCloud Web. https://github.com/owncloud/web/issues/3071 https://github.com/owncloud/web/pull/7293 * Bugfix - Logout deleted user on page reload: [#4677](https://github.com/owncloud/web/issues/4677) A user that gets disabled or deleted in the backend now sees an authentication error page upon page reload. From there they can now properly reach the login page to log in again via a different user (or leave the page entirely). https://github.com/owncloud/web/issues/4677 https://github.com/owncloud/web/issues/4564 https://github.com/owncloud/web/issues/4795 https://github.com/owncloud/web/pull/7072 * Bugfix - Space sidebar sharing indicators: [#6921](https://github.com/owncloud/web/pull/6921) We have fixed the way the sharing indicators for space members and link shares were displayed in the details panel of the sidebar as well as the click behavior for accessing the shares panel through the sharing information. https://github.com/owncloud/web/issues/6917 https://github.com/owncloud/web/pull/6921 * Bugfix - Access token renewal: [#7030](https://github.com/owncloud/web/issues/7030) Access token renewals had some flaws which have been fixed as follows: - OAuth2: access token renewal was not working at all, fixed by switching to authorization code flow with PKCE extension and by migrating from the unmaintained `oidc-client` library to `oidc-client-ts`. - OpenID Connect: when `offline_access` scope was not requested each token renewal caused a redirect to `/`, which was due to a faulty token update implementation and is fixed. WARNING: With a setup of ownCloud 10.x.x + oauth2-app older than v0.5.3 this bugfix is a breaking change. There was a bug in the oauth2-app that required to add the `clientSecret` in the `auth` section of the `config.json` file (although code flow with PKCE doesn't need it). To mitigate this, please add the `clientSecret` for your `clientId` to the `config.json` file. If the oauth2-app v0.5.3 or newer is used that's not needed. https://github.com/owncloud/web/issues/7030 https://github.com/owncloud/web/pull/7072 * Bugfix - File list render performance: [#7038](https://github.com/owncloud/web/issues/7038) We've drastically increased the initial render performance of the files list by removing the lazy loading delay and by moving the loading visualization from the OcTd to the OcTr component. For the selection of files there also has been a slight improvement in render speed. https://github.com/owncloud/web/issues/7038 https://github.com/owncloud/web/pull/7298 https://github.com/owncloud/web/pull/7312 https://github.com/owncloud/web/pull/7367 * Bugfix - Add Droparea again: [#7080](https://github.com/owncloud/web/issues/7080) We've added the visual droparea again to indicate drag and drop upload https://github.com/owncloud/web/issues/7080 https://github.com/owncloud/web/pull/7251 * Bugfix - External apps fixes: [#7166](https://github.com/owncloud/web/pull/7166) Bug introduced in #6870. A method used to communicate with the backend was not properly added to the extension after being moved to a different location. https://github.com/owncloud/web/pull/7166 https://github.com/owncloud/web/pull/7173 * Bugfix - Re-introduce dynamic app name in document title: [#7173](https://github.com/owncloud/web/pull/7173) The `external` app was missing the dynamic app name after some recent refactoring. It has been reintroduced. https://github.com/owncloud/web/pull/7173 * Bugfix - Create space and access user management permission: [#7197](https://github.com/owncloud/web/pull/7197) We've fixed a bug, where users with insufficient permissions could access the user management and were able to see the "New Space" button in the space overview. https://github.com/owncloud/web/issues/7181 https://github.com/owncloud/web/issues/7079 https://github.com/owncloud/web/pull/7197 * Bugfix - Repair navigation highlighter: [#7210](https://github.com/owncloud/web/pull/7210) We've refactored the navigation highlighter to fix several small glitches. https://github.com/owncloud/web/pull/7210 https://github.com/owncloud/web/pull/7270 https://github.com/owncloud/web/pull/7324 * Bugfix - Prevent error when pasting with empty clipboard: [#7214](https://github.com/owncloud/web/pull/7214) We've fixed a bug where an error was thrown when pasting with empty clipboard https://github.com/owncloud/web/issues/7146 https://github.com/owncloud/web/pull/7214 * Bugfix - Filename hovers over the image in the preview app: [#7216](https://github.com/owncloud/web/pull/7216) We've fixed a bug where the filename hovers over the image content in the preview app and the bottom toolbar is not accurate centered. Therefore we have introduced a new top bar, where the filename will be shown and the download and the close button will be displayed. https://github.com/owncloud/web/issues/6300 https://github.com/owncloud/web/pull/7216 https://github.com/owncloud/web/pull/7359 * Bugfix - Shared with others page apps not working with oc10 as backend: [#7228](https://github.com/owncloud/web/pull/7228) We've fixed a bug where apps like preview, pdf-viewer or text-editor weren't working while browsing the shared with others page with oc10 as backend. https://github.com/owncloud/web/issues/7049 https://github.com/owncloud/web/pull/7228 * Bugfix - Context menu misplaced when triggered by keyboard navigation: [#7230](https://github.com/owncloud/web/pull/7230) We've fixed a bug where triggering the context menu by keyboard navigation misplaced the menu and made it inaccessible. https://github.com/owncloud/web/issues/7187 https://github.com/owncloud/web/pull/7230 https://github.com/owncloud/web/pull/7314 https://github.com/owncloud/web/pull/7386 * Bugfix - Access token renewal during upload: [#7240](https://github.com/owncloud/web/issues/7240) We've fixed the access token renewal during ongoing uploads. https://github.com/owncloud/web/issues/7240 https://github.com/owncloud/web/pull/7296 * Bugfix - Hide empty trash bin modal on error: [#7248](https://github.com/owncloud/web/pull/7248) We've fixed a bug where the empty trash bin modal was shown if an error occurred. https://github.com/owncloud/web/issues/7129 https://github.com/owncloud/web/pull/7248 * Bugfix - Personal shares leaked into project space: [#7268](https://github.com/owncloud/web/issues/7268) Due to a bug in how we handle spaces as resources internally we loaded personal shares when listing project space shares. https://github.com/owncloud/web/issues/7268 https://github.com/owncloud/web/pull/7294 * Bugfix - Print backend version: [#7272](https://github.com/owncloud/web/issues/7272) We fixed a regression with printing version information to the browser console (the backend version was not showing up anymore). Since loading the public link / user context is blocking the boot process of applications after a [recent PR](https://github.com/owncloud/web/pull/7072) has been merged, we are now able to reliably print the backend version on the first page load after login as well (was not possible before). https://github.com/owncloud/web/issues/7272 https://github.com/owncloud/web/pull/7284 * Bugfix - Upload overlay progress bar spacing: [#7297](https://github.com/owncloud/web/pull/7297) We've fixed spacing issues with the upload overlay progress bar. https://github.com/owncloud/web/pull/7297 * Bugfix - "Shared with others" and "Shared via Link" resource links not working: [#7308](https://github.com/owncloud/web/pull/7308) We've fixed a bug where resource links in "Shared with others" and "Shared via Link" page stopped working. https://github.com/owncloud/web/issues/7303 https://github.com/owncloud/web/pull/7308 * Bugfix - SidebarNavItem icon flickering: [#7309](https://github.com/owncloud/web/pull/7309) We've fixed a bug which caused the icons on the SidebarNav to flicker when transitioning in lightmode https://github.com/owncloud/web/pull/7309 * Bugfix - Versions of shared files not visible: [#7313](https://github.com/owncloud/web/pull/7313) We've fixed a bug where the versions of shared files where not visible for the share receivers. https://github.com/owncloud/web/issues/7159 https://github.com/owncloud/web/pull/7313 * Bugfix - Missing scroll bar in user management app: [#7321](https://github.com/owncloud/web/pull/7321) We've fixed a bug in the user management app where no scroll bar was displayed in the users or groups list if it exceeds the screen size. https://github.com/owncloud/web/issues/7266 https://github.com/owncloud/web/pull/7321 * Bugfix - Files pagination scroll to top: [#7322](https://github.com/owncloud/web/pull/7322) We've fixed a bug where changing the page in a file list (pagination) doesn't scroll to top. https://github.com/owncloud/web/issues/7138 https://github.com/owncloud/web/pull/7322 * Bugfix - Loading state in views: [#7325](https://github.com/owncloud/web/pull/7325) We fixed a small glitch in views of the files app, where the view would show a state like "Resource not found" in the brief moment before the resource loading started. Now the views correctly start in a loading state. https://github.com/owncloud/web/pull/7325 https://github.com/owncloud/web/pull/7366 * Bugfix - Users list not loading if user has no role: [#7332](https://github.com/owncloud/web/pull/7332) We've fixed a bug where the users list in the user management app was not loading if a user has no assigned role. https://github.com/owncloud/web/issues/7326 https://github.com/owncloud/web/pull/7332 * Bugfix - No redirect after disabling space: [#7334](https://github.com/owncloud/web/pull/7334) We've fixed a bug where the user was not redirected to the spaces overview after disabling the space inside the space view. https://github.com/owncloud/web/issues/7291 https://github.com/owncloud/web/pull/7334 * Bugfix - Missing file icon in details panel: [#7344](https://github.com/owncloud/web/pull/7344) We've fixed a bug where the file icon in the details panel was not shown, if no preview was available. https://github.com/owncloud/web/issues/7337 https://github.com/owncloud/web/pull/7344 * Bugfix - Left sidebar active navigation item has wrong cursor: [#7348](https://github.com/owncloud/web/pull/7348) We've fixed a bug where the active navigation item in the left sidebar had the wrong cursor and pretended to be not clickable. https://github.com/owncloud/web/issues/7343 https://github.com/owncloud/web/pull/7348 * Bugfix - Missing quick actions in spaces file list: [#7349](https://github.com/owncloud/web/pull/7349) We've fixed a bug where the quick actions 'Add people' and 'Copy quicklink' were missing in the spaces file list. https://github.com/owncloud/web/issues/7339 https://github.com/owncloud/web/pull/7349 * Bugfix - Link indicator on "Shared via link"-page: [#7355](https://github.com/owncloud/web/pull/7355) We've fixed the icon and the sidebar for the link indicator on the "Shared via link"-page. https://github.com/owncloud/web/issues/7345 https://github.com/owncloud/web/pull/7355 * Bugfix - Batch deleting multiple files: [#7357](https://github.com/owncloud/web/pull/7357) We've fixed a bug where deleting many files in a batch action would fail. https://github.com/owncloud/web/issues/7329 https://github.com/owncloud/web/pull/7357 * Bugfix - Fix infinite loading spinner on invalid preview links: [#7359](https://github.com/owncloud/web/pull/7359) The `preview` app now shows an error, when a file does not exist (for example when opening a bookmark to a file that does not exist anymore). Before it showed a loading spinner infinitely. https://github.com/owncloud/web/pull/7359 * Bugfix - Tooltips not shown on disabled create and upload button: [#7376](https://github.com/owncloud/web/pull/7376) We've fixed a bug where tooltips that contain important information for example quota exceeded message weren't shown on hovering over the create or upload button. https://github.com/owncloud/web/issues/5937 https://github.com/owncloud/web/pull/7376 * Bugfix - Decline share not possible: [#7379](https://github.com/owncloud/web/pull/7379) We've fixed a bug where declining an accepted share in the dropdown next to the breadcrumb was not possible. https://github.com/owncloud/web/issues/6899 https://github.com/owncloud/web/pull/7379 * Bugfix - Open file on shared space resource not possible: [#7379](https://github.com/owncloud/web/pull/7379) We've fixed a bug where opening a file of a shared space resource for example in the pdf viewer app wasn't possible. https://github.com/owncloud/web/issues/6899 https://github.com/owncloud/web/pull/7379 * Bugfix - Rename shared space resource not possible: [#7379](https://github.com/owncloud/web/pull/7379) We've fixed a bug where renaming a file or a folder of a shared space wasn't possible. https://github.com/owncloud/web/issues/6899 https://github.com/owncloud/web/pull/7379 * Bugfix - Selected item bottom glue: [#7393](https://github.com/owncloud/web/pull/7393) We've fixed a bug where the selected item would be glued to the bottom when scrolling up via keyboard navigation. Also, the scrollTo param has been fixed and is now working again. https://github.com/owncloud/web/issues/7318 https://github.com/owncloud/web/pull/7393 * Bugfix - Suppress active panel error log: [#7394](https://github.com/owncloud/web/pull/7394) We now suppress error logs which occurred when opening the sidebar without an active panel. https://github.com/owncloud/web/pull/7394 * Bugfix - Add storage ID when navigating to a shared parent directory: [#7396](https://github.com/owncloud/web/pull/7396) We've added the missing storage ID when navigating to a shared parent directory. https://github.com/owncloud/web/pull/7396 * Bugfix - Respect space quota permission: [#7400](https://github.com/owncloud/web/issues/7400) By taking the space quota permission into account, we've fixed a bug where a regular space member could see the "Edit space quota" action. https://github.com/owncloud/web/issues/7400 https://github.com/owncloud/web/pull/7401 * Bugfix - Re-fetch quota: [#7415](https://github.com/owncloud/web/pull/7415) We've fixed a bug where uploading, deleting or restoring resources doesn't always re-fetch the quota and therefore was falsy displayed. https://github.com/owncloud/web/issues/6930 https://github.com/owncloud/web/issues/7389 https://github.com/owncloud/web/pull/7415 * Bugfix - Quicklinks not shown: [#7424](https://github.com/owncloud/web/pull/7424) We've fixed a bug where existing quicklinks were not shown when the user had no rights to create them. https://github.com/owncloud/web/issues/7406 https://github.com/owncloud/web/pull/7424 * Bugfix - Open Folder in project space context menu: [#7425](https://github.com/owncloud/web/pull/7425) We've fixed a bug that broke opening a folder in a project space from the context menu via "Open Folder" (simply clicking it wasn't affected). https://github.com/owncloud/web/pull/7425 * Bugfix - Hide share actions for space viewers/editors: [#7436](https://github.com/owncloud/web/issues/7436) We've fixed a bug where viewers and editors of a space could see the actions to edit and remove shares. We've also improved the error handling when something goes wrong while editing/removing shares. https://github.com/owncloud/web/issues/7436 https://github.com/owncloud/web/pull/7470 * Bugfix - Default to user context: [#7437](https://github.com/owncloud/web/pull/7437) We've fixed a bug where routes without explicit `auth` requirement (i.e. user context) and without any context route in the URL were recognized as neither user-context nor public-link-context. In such situations we now expect that the session requires a user and redirect to the login page. https://github.com/owncloud/web/pull/7437 * Bugfix - Datetime formatting: [#7443](https://github.com/owncloud/web/pull/7443) We've adjusted date time formatting to show a less verbose format (e.g. hiding the time zone and using month abbreviations). https://github.com/owncloud/web/issues/7336 https://github.com/owncloud/web/pull/7443 * Bugfix - File size formatting: [#7443](https://github.com/owncloud/web/pull/7443) We've fixed file size formatting to respect the language setting of the user. https://github.com/owncloud/web/pull/7443 * Bugfix - User management app close side bar throws error: [#7445](https://github.com/owncloud/web/pull/7445) We've fixed a bug, where closing the side bar in the user management app threw an error, when a group or user was selected. https://github.com/owncloud/web/pull/7445 https://github.com/owncloud/web/pull/7461 * Bugfix - Stuck After Session Expired: [#7453](https://github.com/owncloud/web/issues/7453) We've fixed exit link to redirect to login once session expires We've removed the logout click handler and created a new logout component https://github.com/owncloud/web/issues/7453 https://github.com/owncloud/web/pull/7491 * Bugfix - Improve keyboard shortcuts copy/cut files: [#7455](https://github.com/owncloud/web/issues/7455) We've changed the Ctrl+X message to 'Cut to Clipboard' from 'Copied to Clipboard' https://github.com/owncloud/web/issues/7455 https://github.com/owncloud/web/pull/7492 * Bugfix - File size not updated while restoring file version: [#7469](https://github.com/owncloud/web/pull/7469) We've fixed a bug where the file size was not updated in the files table or side bar while restoring a file version. https://github.com/owncloud/web/issues/7438 https://github.com/owncloud/web/pull/7469 * Bugfix - Dragging a file causes no selection: [#7473](https://github.com/owncloud/web/pull/7473) We've fixed a bug that caused no selection when dragging a file. https://github.com/owncloud/web/pull/7473 * Bugfix - Load only supported thumbnails (configurable): [#7474](https://github.com/owncloud/web/pull/7474) We've fixed a bug where web was trying to load thumbnails for files that are not supported. Due to configurable values, we avoid unnecessary requests. https://github.com/owncloud/web/pull/7474 * Bugfix - "Shared via"-indicator for links: [#7478](https://github.com/owncloud/web/issues/7478) We've fixed a bug where the "Shared via"-indicator would be empty or not be displayed at all for public links. https://github.com/owncloud/web/issues/7478 https://github.com/owncloud/web/pull/7479 * Bugfix - Missing space image in sidebar: [#7480](https://github.com/owncloud/web/issues/7480) We've fixed a bug where the image of a space was not showing in the sidebar. https://github.com/owncloud/web/issues/7480 https://github.com/owncloud/web/pull/7481 * Bugfix - Prevent unnecessary PROPFIND request during upload: [#7486](https://github.com/owncloud/web/issues/7486) We've removed the unnecessary PROPFIND request at the start of each upload, increasing upload performance especially in larger folders. https://github.com/owncloud/web/issues/7486 https://github.com/owncloud/web/pull/7488 * Bugfix - Fix right sidebar content on small screens: [#7498](https://github.com/owncloud/web/issues/7498) We've fixed the right sidebar content on small screens because some screen sizes caused the content to flow out of the screen. Things that have been done to achieve this: * Selection info has been removed. * Labels of the batch actions will hide on screens <1280px if the sidebar is open. https://github.com/owncloud/web/issues/7498 https://github.com/owncloud/web/pull/7508 * Bugfix - Paste action (keyboard) not working in project spaces: [#7510](https://github.com/owncloud/web/issues/7510) We've fixed a bug which caused the user to be unable to paste in project spaces. https://github.com/owncloud/web/issues/7510 https://github.com/owncloud/web/pull/7514 * Bugfix - File name in text editor: [#7516](https://github.com/owncloud/web/pull/7516) We've fixed a bug in the text editor where the UUID of a shared resource was being displayed instead of the file name. https://github.com/owncloud/web/issues/7292 https://github.com/owncloud/web/pull/7516 https://github.com/owncloud/web/pull/7518 * Bugfix - Sidebar for current folder: [#7519](https://github.com/owncloud/web/issues/7519) We've fixed a bug where the right sidebar for the current folder could not be opened when another resource was selected. https://github.com/owncloud/web/issues/7519 https://github.com/owncloud/web/pull/7527 * Bugfix - Allow uploads outside of user's home despite quota being exceeded: [#7522](https://github.com/owncloud/web/pull/7522) We've fixed a bug where a user was not able to upload a file in a share or space when the personal home quota was exceeded. We also show a message in the upload details if an upload to a share fails because the share owner's quota is exceeded. https://github.com/owncloud/web/issues/6318 https://github.com/owncloud/web/issues/5817 https://github.com/owncloud/web/pull/7522 * Bugfix - Left sidebar when switching apps: [#7526](https://github.com/owncloud/web/issues/7526) We've fixed a bug where the active state of the left sidebar would glitch visually when switching apps. https://github.com/owncloud/web/issues/7526 https://github.com/owncloud/web/pull/7529 * Bugfix - Redirect after removing self from space members: [#7534](https://github.com/owncloud/web/issues/7534) When a user removes themselves from the members of a project space we now properly redirect to the project spaces overviewe page instead of showing an error message. https://github.com/owncloud/web/issues/7534 https://github.com/owncloud/web/pull/7576 * Bugfix - Search share representation: [#7560](https://github.com/owncloud/web/pull/7560) We've fixed a bug, where shares in the search were not displayed correctly and clicking on the respective item did not open the default action or redirect to the correct share route. https://github.com/owncloud/web/issues/7043 https://github.com/owncloud/web/pull/7560 * Bugfix - Merge share with group and group member into one: [#7582](https://github.com/owncloud/web/issues/7582) We've fixed a bug that the share with a group and share of the same resource with a member of this group was shown as 2 shares in "Shared with me" view. https://github.com/owncloud/web/issues/7582 https://github.com/owncloud/web/pull/7598 * Bugfix - Typo when reading public links capabilities: [#7595](https://github.com/owncloud/web/pull/7595) https://github.com/owncloud/web/pull/7595 * Bugfix - Expiration date picker with long language codes: [#7622](https://github.com/owncloud/web/issues/7622) We've fixed a bug where the expiration date picker in the sharing sidebar wouldn't open if the user selected a language with long language code, e.g. de_DE. https://github.com/owncloud/web/issues/7622 https://github.com/owncloud/web/pull/7623 * Enhancement - Remember the UI that was last selected via the application switcher: [#6173](https://github.com/owncloud/web/pull/6173) With this change, ownCloud will remember the UI that was last selected via the application switcher. This only works when using ownCloud 10 as backend. https://github.com/owncloud/enterprise/issues/4694 https://github.com/owncloud/web/pull/6173 * Enhancement - Option to block file extensions from text-editor app: [#6661](https://github.com/owncloud/web/issues/6661) We've added support to block certain file extensions from the text-editor app with additional config. See https://owncloud.dev/clients/web/deployments/oc10-app/#additional-configuration-for-certain-core-apps https://github.com/owncloud/web/issues/6661 https://github.com/owncloud/web/pull/7174 * Enhancement - Loading context blocks application bootstrap: [#7030](https://github.com/owncloud/web/issues/7030) The bootstrap architecture has been improved to ensure that the respective context (user or public link) is fully resolved before applications can finalize their boot process and switch over to rendering their content. This means that application developers can rely on user data / public link data being loaded (including e.g. capabilities) when the web runtime triggers the boot processes and rendering of applications. https://github.com/owncloud/web/issues/7030 https://github.com/owncloud/web/pull/7072 * Enhancement - Resolve bookmarked public links with password protection: [#7030](https://github.com/owncloud/web/issues/7030) Bookmarks to a public link (e.g. when user navigated into a subfolder and then created a bookmark) or to an app that was opened from a public link (e.g. photo opened in preview app) now properly resolve the public link context before loading the bookmarked content. This includes a roundtrip to the password input prompt for password protected public link, e.g. when a password was set in the first place, has been changed in the meantime, etc. https://github.com/owncloud/web/issues/7030 https://github.com/owncloud/web/pull/7072 * Enhancement - Reduce pagination options: [#7038](https://github.com/owncloud/web/issues/7038) We've reduced the pagination options by removing the options to display 1000 and all files. These may be added again later after further improving the files table performance. https://github.com/owncloud/web/issues/7038 https://github.com/owncloud/web/pull/7597 * Enhancement - Improve performance of share indicators: [#7038](https://github.com/owncloud/web/issues/7038) We've improved the performance of share indicators when loading resource tables as well as when adding or removing shares. https://github.com/owncloud/web/issues/7038 https://github.com/owncloud/web/pull/7188 * Enhancement - Re-sharing for ocis: [#7086](https://github.com/owncloud/web/pull/7086) We've enhanced web to be able to re-share resources when using an ownCloud infinite scale backend. It now works for project and personal spaces as well as the sharing jail. Besides that we also send roles, space-ref and path as separate values to the sharing api which simplifies the usage of it. https://github.com/owncloud/web/issues/6894 https://github.com/owncloud/web/issues/7225 https://github.com/owncloud/web/issues/7223 https://github.com/owncloud/web/issues/7397 https://github.com/owncloud/web/pull/7086 https://github.com/owncloud/web/pull/7247 https://github.com/owncloud/web/pull/7243 https://github.com/owncloud/web/pull/7317 https://github.com/owncloud/web/pull/7319 https://github.com/owncloud/web/pull/7398 * Enhancement - Permissionless (internal) link shares: [#7133](https://github.com/owncloud/web/pull/7133) We have added the possibility to create alias link shares for internal usage when the backend is capable of handling them. https://github.com/owncloud/web/issues/6844 https://github.com/owncloud/web/pull/7133 https://github.com/owncloud/web/pull/7505 * Enhancement - Reposition notifications: [#7139](https://github.com/owncloud/web/pull/7139) We've repositioned the notifications to no longer block the searchbar - they are now in the bottom right corner, above the (possibly visible) upload information. It has also been redesigned to better fit the overall design. https://github.com/owncloud/web/issues/7082 https://github.com/owncloud/web/pull/7139 * Enhancement - Add Keyboard navigation/selection: [#7153](https://github.com/owncloud/web/pull/7153) We've added the possibility to navigate and select via keyboard. - Navigation: - via keyboard arrows up/down for moving up and down through the rows of the file list - Selection - via keyboard space bar: select / deselect the currently highlighted row - via keyboard shift + arrows up/down: add a series of rows - via keyboard cmd/ctrl + a: select all rows - via keyboard esc: deselect all rows - via mouse holding cmd/ctrl + left click on a row: add/remove the clicked item to/from the current selection model - via mouse holding shift + left click on a row: add the clicked row and the series of rows towards the most recently clicked row to the current selection model. https://github.com/owncloud/web/issues/6029 https://github.com/owncloud/web/pull/7153 https://github.com/owncloud/web/pull/7280 https://github.com/owncloud/web/pull/7283 * Enhancement - Introduce group assignments: [#7176](https://github.com/owncloud/web/pull/7176) We have added a new quick action in the user management where the user can be assigned to groups. https://github.com/owncloud/web/issues/6678 https://github.com/owncloud/web/pull/7176 * Enhancement - Update Uppy to v3.0.1: [#7177](https://github.com/owncloud/web/issues/7177) We've updated Uppy to v3.0.1. This allows us to enable the `creation-with-upload` extension, which saves up one request per file during upload. https://github.com/owncloud/web/issues/7177 https://github.com/owncloud/web/pull/7515 * Enhancement - User management app edit quota: [#7182](https://github.com/owncloud/web/pull/7182) We've added the possibility to change user's quota in the user management app. https://github.com/owncloud/web/issues/7059 https://github.com/owncloud/web/pull/7182 https://github.com/owncloud/web/pull/7530 https://github.com/owncloud/web/pull/7538 * Enhancement - Added a toolbar to pdf-viewer app: [#7201](https://github.com/owncloud/web/pull/7201) We've added a toolbar to the pdf-viewer app, where the user can see the name of the opened pdf file and also close the app. https://github.com/owncloud/web/issues/7198 https://github.com/owncloud/web/issues/7205 https://github.com/owncloud/web/pull/7201 https://github.com/owncloud/web/pull/7207 * Enhancement - Add change own password dialog to the account info page: [#7206](https://github.com/owncloud/web/pull/7206) We have added a new change own password dialog to the account info page, so the user has the possibility to change their own password. https://github.com/owncloud/web/issues/7183 https://github.com/owncloud/web/pull/7206 * Enhancement - Add app top bar component: [#7217](https://github.com/owncloud/web/pull/7217) We've added a app top bar component for consistency, which will be used by the apps: preview, text-editor and pdf-viewer. https://github.com/owncloud/web/pull/7217 https://github.com/owncloud/web/pull/7362 * Enhancement - Redesign shared with list: [#7252](https://github.com/owncloud/web/pull/7252) We've redesigned the shared with list, to achieve more spacing and a better user experience. We've also fixed a bug, where the role in a child of a share wasn't shown. https://github.com/owncloud/web/issues/7110 https://github.com/owncloud/web/issues/7340 https://github.com/owncloud/web/pull/7252 https://github.com/owncloud/web/pull/7310 https://github.com/owncloud/web/pull/7315 https://github.com/owncloud/web/pull/7372 https://github.com/owncloud/web/pull/7402 https://github.com/owncloud/web/pull/7475 * Enhancement - Search all files announce limit: [#7267](https://github.com/owncloud/web/pull/7267) If the search results of a backend search exceed the limit of 200 items we now announce that additional items exist. https://github.com/owncloud/web/issues/7192 https://github.com/owncloud/web/pull/7267 https://github.com/owncloud/web/pull/7306 * Enhancement - Keyboard shortcut indicators in ContextMenu: [#7309](https://github.com/owncloud/web/pull/7309) We've added the option to display relevant keyboard shortcuts in the contextmenu to give notice to the user which shortcuts are available https://github.com/owncloud/web/issues/6892 https://github.com/owncloud/web/pull/7309 * Enhancement - Lowlight cut resources: [#7309](https://github.com/owncloud/web/pull/7309) We've added a visual indication to show which resources are being cut https://github.com/owncloud/web/pull/7309 * Enhancement - Replace locationpicker with clipboard actions: [#7309](https://github.com/owncloud/web/pull/7309) We've replaced the locationpicker in batchactions and contextmenu with the new cut/copy/paste clipboard actions. https://github.com/owncloud/web/issues/6892 https://github.com/owncloud/web/pull/7309 https://github.com/owncloud/web/pull/7503 * Enhancement - Change file loading mechanism in `preview` app: [#7350](https://github.com/owncloud/web/pull/7350) Make preview loading mechanism from the `files` app available for all apps and use it in `preview` app. *DEPRECATION*: This deprecates `v-image-source` directive and the `mediaSource` method mixed into all components. It will be removed in 6.0.0. https://github.com/owncloud/web/issues/7233 https://github.com/owncloud/web/pull/7350 * Enhancement - Declined shares are now easily accessible: [#7356](https://github.com/owncloud/web/pull/7356) We've redesigned the 'Shared with me' page, so the 'Declined shares' section is now displayed under the 'Accepted shares' section. There is no need to click the toggle button anymore which makes the 'Declined shares' easily accessible. https://github.com/owncloud/web/issues/7342 https://github.com/owncloud/web/pull/7356 * Enhancement - Streamline UI sizings: [#7363](https://github.com/owncloud/web/pull/7363) We've streamlined the font sizes and some other size related options to let the web UI appear a bit more condensed. In addition to that we've chosen a new font family for the UI ("Inter") which is embedded into the ownCloud Design System by default now. https://github.com/owncloud/web/issues/7333 https://github.com/owncloud/web/pull/7363 https://github.com/owncloud/owncloud-design-system/pull/2270 * Enhancement - Sharing panel show label instead of description for links: [#7364](https://github.com/owncloud/web/pull/7364) https://github.com/owncloud/web/issues/7358 https://github.com/owncloud/web/pull/7364 * Enhancement - Drop menu styling in right sidebar: [#7365](https://github.com/owncloud/web/pull/7365) We've styled and aligned all the drop menus in the right sidebar to match with the other drop menus. https://github.com/owncloud/web/issues/7335 https://github.com/owncloud/web/pull/7365 * Enhancement - Use fixed width for the right sidebar: [#7371](https://github.com/owncloud/web/pull/7371) We've set a fixed width of 440px to the right sidebar to have better control of its styling and alignment. https://github.com/owncloud/web/pull/7371 https://github.com/owncloud/web/pull/7384 * Enhancement - User management app saved dialog: [#7375](https://github.com/owncloud/web/pull/7375) We've replaced the pop up message when the user gets saved by a message which will be shown next to the save button. https://github.com/owncloud/web/issues/7351 https://github.com/owncloud/web/pull/7375 https://github.com/owncloud/web/pull/7377 * Enhancement - Adjust helper texts: [#7404](https://github.com/owncloud/web/pull/7404) https://github.com/owncloud/web/issues/7331 https://github.com/owncloud/web/pull/7404 * Enhancement - Users table on small screen: [#7476](https://github.com/owncloud/web/pull/7476) We've improved the layout of the users table on small screens. https://github.com/owncloud/web/issues/7439 https://github.com/owncloud/web/pull/7476 * Enhancement - Add resource name to the WebDAV properties: [#7485](https://github.com/owncloud/web/pull/7485) We've added the resource name to the WebDAV properties. https://github.com/owncloud/web/pull/7485 * Enhancement - Left sidebar hover effect: [#7540](https://github.com/owncloud/web/issues/7540) We've added a hover effect to the left sidebar items. https://github.com/owncloud/web/issues/7540 https://github.com/owncloud/web/pull/7567 https://github.com/owncloud/web/pull/7575 * Enhancement - Propose unique file name while creating a new file: [#7555](https://github.com/owncloud/web/pull/7555) We're proposing unique file names when creating a new file or folder via the 'New' file menu. https://github.com/owncloud/web/issues/7539 https://github.com/owncloud/web/pull/7555 * Enhancement - Don't open right sidebar from private links: [#7559](https://github.com/owncloud/web/pull/7559) We've changed the behaviour of the web ui to not open the right sidebar anymore when the URL contains a "scrollTo" option. We still select the file and scroll it into the view, but opening the right sidebar felt very invasive, so we now leave that choice to the user. https://github.com/owncloud/web/pull/7559 * Enhancement - Adjust spacing of the files list options menu: [#7570](https://github.com/owncloud/web/pull/7570) We've adjusted the spacing of the files list options menu to visually match with the other menus. https://github.com/owncloud/web/issues/7541 https://github.com/owncloud/web/pull/7570 * Enhancement - Remove clickOutside directive: [#7584](https://github.com/owncloud/web/pull/7584) We've removed the clickOutside directive because it isn't used anymore https://github.com/owncloud/web/issues/7572 https://github.com/owncloud/web/pull/7584 * Enhancement - Search improvements: [#7586](https://github.com/owncloud/web/pull/7586) We've improved the search, it will show now if no results according to term was found or if the results exceeds the search limit. We've also navigate to the last page while clicking the x in the search input field. https://github.com/owncloud/web/issues/5644 https://github.com/owncloud/web/issues/7587 https://github.com/owncloud/web/pull/7586 * Enhancement - Simplify mime type checking: [#7605](https://github.com/owncloud/web/pull/7605) We've removed the dependency to GuzzleHttp from our oc10 app package. It was used for mime type checking only. Instead we now rely on a mime type checker that is already bundled with oc10 core. IMPORTANT: this enhancement is needed to reach compatibility with oc10.11 and maintain backwards compatibility with oc prior to oc10.11. This would not be easily doable when still relying on GuzzleHttp because its major version was updated from 5 to 7 in oc10.11. https://github.com/owncloud/web/pull/7605 https://github.com/owncloud/web/pull/5933 * Enhancement - Update ODS to v14.0.0-alpha.18: [#7626](https://github.com/owncloud/web/pull/7626) We updated the ownCloud Design System to version 14.0.0-alpha.18. Please refer to the full changelog in the ODS release (linked) for more details. Summary: * Bugfix - Omit special characters in user avatar initials: [#2070](https://github.com/owncloud/owncloud-design-system/issues/2070) * Bugfix - Avatar link icon: [#2269](https://github.com/owncloud/owncloud-design-system/pull/2269) * Bugfix - Firefox drag & drop move of folders not possible: [#7495](https://github.com/owncloud/web/issues/7495) * Bugfix - Lazy loading render performance: [#2260](https://github.com/owncloud/owncloud-design-system/pull/2260) * Bugfix - Remove width shrinking of the ocAvatarItem: [#2241](https://github.com/owncloud/owncloud-design-system/issues/2241) * Bugfix - Remove click event on OcIcon: [#2216](https://github.com/owncloud/owncloud-design-system/pull/2216) * Change - Redesign contextual helper: [#2271](https://github.com/owncloud/owncloud-design-system/pull/2271) * Change - Remove OcAlert component: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Change - Remove transition animations: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Change - Revamp animations: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Change - OcTable emit event data on row click: [#2218](https://github.com/owncloud/owncloud-design-system/pull/2218) * Enhancement - Add nestedd drop functionality: [#2238](https://github.com/owncloud/owncloud-design-system/issues/2238) * Enhancement - Add OcInfoDrop: [#2286](https://github.com/owncloud/owncloud-design-system/pull/2286) * Enhancement - Add rounded prop to OcTag: [#2284](https://github.com/owncloud/owncloud-design-system/pull/2284) * Enhancement - Adjust avatar font weight from bold to normal: [#2275](https://github.com/owncloud/owncloud-design-system/pull/2275) * Enhancement - Align breadcrumb context menu with regular context menu: [#2296](https://github.com/owncloud/owncloud-design-system/pull/2296) * Enhancement - OcCheckbox add outline: [#2218](https://github.com/owncloud/owncloud-design-system/pull/2218) * Enhancement - Add offset property to the drop component: [#7335](https://github.com/owncloud/web/issues/7335) * Enhancement - Make UI smaller: [#2270](https://github.com/owncloud/owncloud-design-system/pull/2270) * Enhancement - Oc-card style: [#2306](https://github.com/owncloud/owncloud-design-system/pull/2306) * Enhancement - OcSelect dark mode improvements: [#2262](https://github.com/owncloud/owncloud-design-system/pull/2262) * Enhancement - Progress bar indeterminate state: [#2200](https://github.com/owncloud/owncloud-design-system/pull/2200) * Enhancement - Redesign notifications: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Enhancement - Use Inter font: [#2270](https://github.com/owncloud/owncloud-design-system/pull/2270) https://github.com/owncloud/web/pull/7626 https://github.com/owncloud/owncloud-design-system/releases/tag/v14.0.0-alpha.18 Changelog for ownCloud Web [5.6.1] (2022-06-22) ======================================= The following sections list the changes in ownCloud web 5.6.1 relevant to ownCloud admins and users. [5.6.1]: https://github.com/owncloud/web/compare/v5.6.0...v5.6.1 Summary ------- * Bugfix - Map unknown mime types to image rendering in Preview app: [#7161](https://github.com/owncloud/web/pull/7161) Details ------- * Bugfix - Map unknown mime types to image rendering in Preview app: [#7161](https://github.com/owncloud/web/pull/7161) Mime types that don't start with `video/`, `audio/` or `image/` were not rendered by the preview app. Files with unknown mime type category are now being rendered as images. https://github.com/owncloud/web/pull/7161 Changelog for ownCloud Web [5.6.0] (2022-06-21) ======================================= The following sections list the changes in ownCloud web 5.6.0 relevant to ownCloud admins and users. [5.6.0]: https://github.com/owncloud/web/compare/v5.5.0...v5.6.0 Summary ------- * Bugfix - Folder link targets: [#7156](https://github.com/owncloud/web/pull/7156) * Enhancement - Separate direct and indirect link shares in sidebar: [#7140](https://github.com/owncloud/web/pull/7140) Details ------- * Bugfix - Folder link targets: [#7156](https://github.com/owncloud/web/pull/7156) Some views were missing parameters of their default target locations, e.g. the Favorites view and the search result page didn't link to the correct folders anymore. This has been fixed by always setting the personal view with the id of the current user as default. https://github.com/owncloud/web/pull/7156 * Enhancement - Separate direct and indirect link shares in sidebar: [#7140](https://github.com/owncloud/web/pull/7140) We have split the list of link shares into two lists, one with direct (and editable) and another one with read-only indirect link shares of parent folders for better structure in the sidebar. https://github.com/owncloud/web/issues/7132 https://github.com/owncloud/web/pull/7140 Changelog for ownCloud Web [5.5.0] (2022-06-20) ======================================= The following sections list the changes in ownCloud web 5.5.0 relevant to ownCloud admins and users. [5.5.0]: https://github.com/owncloud/web/compare/v5.4.0...v5.5.0 Summary ------- * Bugfix - Share downloads: [#3760](https://github.com/owncloud/ocis/issues/3760) * Bugfix - Share hint with disabled federated sharing: [#5261](https://github.com/owncloud/web/issues/5261) * Bugfix - Password enforcement for public links: [#6323](https://github.com/owncloud/web/issues/6323) * Bugfix - Do not load files from cache: [#6447](https://github.com/owncloud/web/pull/6447) * Bugfix - Resetting store on logout: [#6694](https://github.com/owncloud/web/pull/6694) * Bugfix - Apply text selection range for new files: [#6756](https://github.com/owncloud/web/issues/6756) * Bugfix - Rename is clickable on mobile: [#6767](https://github.com/owncloud/web/issues/6767) * Bugfix - Rename a file in favorites list with same name but in different folder: [#6804](https://github.com/owncloud/web/pull/6804) * Bugfix - Indicate guest shares: [#6813](https://github.com/owncloud/web/pull/6813) * Bugfix - Spaces Contextmenu trigger id isn't valid: [#6845](https://github.com/owncloud/web/issues/6845) * Bugfix - Breadcrumb auto focus: [#6846](https://github.com/owncloud/web/pull/6846) * Bugfix - Upload meta data serialization: [#6846](https://github.com/owncloud/web/pull/6846) * Bugfix - Upload overlay links: [#6846](https://github.com/owncloud/web/pull/6846) * Bugfix - Decrease build time and fix faulty oc10 docker dev env: [#6855](https://github.com/owncloud/web/pull/6855) * Bugfix - Edit public links with expiration: [#6858](https://github.com/owncloud/web/issues/6858) * Bugfix - Space image not shown if file name contains blanks: [#6881](https://github.com/owncloud/web/pull/6881) * Bugfix - Enable optional chaining on configuration options access: [#6891](https://github.com/owncloud/web/pull/6891) * Bugfix - Setting image and readme for spaces: [#6898](https://github.com/owncloud/web/pull/6898) * Bugfix - "Create Space"-button with open sidebar: [#6919](https://github.com/owncloud/web/pull/6919) * Bugfix - Space image showing without setting it: [#6920](https://github.com/owncloud/web/issues/6920) * Bugfix - Respect quota definition of none/unlimited: [#6923](https://github.com/owncloud/web/pull/6923) * Bugfix - Not logged out if backend is ownCloud 10: [#6939](https://github.com/owncloud/web/pull/6939) * Bugfix - Reload file list after accepting a remote share: [#6942](https://github.com/owncloud/web/pull/6942) * Bugfix - Use OC-ETag instead of ETag in text editor app: [#6952](https://github.com/owncloud/web/pull/6952) * Bugfix - The selected app item has a bad text color contrast in light mode: [#6954](https://github.com/owncloud/web/pull/6954) * Bugfix - Remove private links from share notifications: [#6955](https://github.com/owncloud/web/pull/6955) * Bugfix - Indirect links should not be editable: [#6964](https://github.com/owncloud/web/issues/6964) * Bugfix - We added the shares item to the breadcrumbs at the shared with me page: [#6965](https://github.com/owncloud/web/pull/6965) * Bugfix - Require quick link password if enforced in ownCloud 10: [#6967](https://github.com/owncloud/web/pull/6967) * Bugfix - Share with people items overflows on long names: [#6984](https://github.com/owncloud/web/pull/6984) * Bugfix - Changing link permissions to role requiring password: [#6989](https://github.com/owncloud/web/pull/6989) * Bugfix - Spaces breadcrumbs not working correctly: [#6993](https://github.com/owncloud/web/pull/6993) * Bugfix - Search mess up spaces overview: [#7014](https://github.com/owncloud/web/pull/7014) * Bugfix - Inheritance of share permissions: [#7015](https://github.com/owncloud/web/pull/7015) * Bugfix - Cover image and readme in spaces: [#7017](https://github.com/owncloud/web/pull/7017) * Bugfix - Show message while upload size exceeds quota: [#7032](https://github.com/owncloud/web/pull/7032) * Bugfix - Drag and drop upload when a file is selected: [#7036](https://github.com/owncloud/web/pull/7036) * Bugfix - Prevent rename button from getting covered: [#7061](https://github.com/owncloud/web/pull/7061) * Bugfix - Complete-state of the upload overlay: [#7100](https://github.com/owncloud/web/pull/7100) * Bugfix - Parent folder name on public links: [#7104](https://github.com/owncloud/web/pull/7104) * Bugfix - Reload of an updated space-image and/or -readme: [#7108](https://github.com/owncloud/web/pull/7108) * Enhancement - Log correct oCIS version if available: [#3805](https://github.com/owncloud/ocis/pull/3805) * Enhancement - Resumable uploads: [#6202](https://github.com/owncloud/web/pull/6202) * Enhancement - Consistent dropdown menus: [#6555](https://github.com/owncloud/web/issues/6555) * Enhancement - Add OcContextualHelper: [#6590](https://github.com/owncloud/web/issues/6590) * Enhancement - Introduce sharing jail: [#6593](https://github.com/owncloud/web/pull/6593) * Enhancement - Introduce user-management app: [#6673](https://github.com/owncloud/web/issues/6673) * Enhancement - Replace deprecated String.prototype.substr(): [#6718](https://github.com/owncloud/web/pull/6718) * Enhancement - Redesign link sharing: [#6749](https://github.com/owncloud/web/pull/6749) * Enhancement - Update ODS to v13.2.0-rc.1: [#6749](https://github.com/owncloud/web/pull/6749) * Enhancement - Make contexthelpers opt-out: [#6750](https://github.com/owncloud/web/pull/6750#issuecomment-1143753289) * Enhancement - Add Sentry support: [#6759](https://github.com/owncloud/web/pull/6759) * Enhancement - Prevent the resource name in the sidebar from being truncated: [#6776](https://github.com/owncloud/web/issues/6776) * Enhancement - Design polishing: [#6781](https://github.com/owncloud/web/pull/6781) * Enhancement - Add show file extension toggle switch in file list settings: [#6793](https://github.com/owncloud/web/pull/6793) * Enhancement - Add un-share confirmation dialog: [#6795](https://github.com/owncloud/web/pull/6795) * Enhancement - Make rename resource icon always visible instead just on hover: [#6817](https://github.com/owncloud/web/pull/6817) * Enhancement - Enable tus upload for password protected public links: [#6819](https://github.com/owncloud/web/issues/6819) * Enhancement - Introduce quicklinks: [#6820](https://github.com/owncloud/web/pull/6820) * Enhancement - Update SDK: [#6820](https://github.com/owncloud/web/pull/6820) * Enhancement - Remove the upload progress component: [#6825](https://github.com/owncloud/web/pull/6825) * Enhancement - Fixed aspect ratio for spaces images: [#6829](https://github.com/owncloud/web/pull/6829) * Enhancement - Polish the upload overlay: [#6837](https://github.com/owncloud/web/pull/6837) * Enhancement - Enable search all files for ocis backend: [#6841](https://github.com/owncloud/web/pull/6841) * Enhancement - EOS links insidebar, fix tooltips: [#6849](https://github.com/owncloud/web/issues/6849) * Enhancement - Use event bus for upload related actions: [#6853](https://github.com/owncloud/web/pull/6853) * Enhancement - Capability-based searchbar rendering: [#6856](https://github.com/owncloud/web/pull/6856) * Enhancement - Refactor upload input components: [#6859](https://github.com/owncloud/web/pull/6859) * Enhancement - Get rid of the integration tests: [#6863](https://github.com/owncloud/web/pull/6863) * Enhancement - Space store improvements: [#6868](https://github.com/owncloud/web/pull/6868) * Enhancement - Customize additional mimeTypes for preview app: [#6933](https://github.com/owncloud/web/issues/6933) * Enhancement - Use new WebDAV endpoints for uploads: [#6970](https://github.com/owncloud/web/issues/6970) * Enhancement - Show default action at the first place in context menu: [#6971](https://github.com/owncloud/web/issues/6971) * Enhancement - Add config option for hoverable quick actions: [#7022](https://github.com/owncloud/web/pull/7022) * Enhancement - Load language from user object if given: [#7023](https://github.com/owncloud/web/pull/7023) * Enhancement - CERN features setting: [#7034](https://github.com/owncloud/web/pull/7034) * Enhancement - CERN-specific help in shares tooltip: [#7034](https://github.com/owncloud/web/pull/7034) * Enhancement - Rendering of share-indicators in ResourceTable: [#7038](https://github.com/owncloud/web/issues/7038) * Enhancement - Personal space id in URL: [#7053](https://github.com/owncloud/web/pull/7053) * Enhancement - Upload progress & overlay improvements: [#7067](https://github.com/owncloud/web/pull/7067) * Enhancement - Add Hotkeys to ResourceTable: [#7078](https://github.com/owncloud/web/pull/7078) * Enhancement - Upload time estimation: [#7088](https://github.com/owncloud/web/pull/7088) * Enhancement - Clickable folder links in upload overlay: [#7109](https://github.com/owncloud/web/pull/7109) * Enhancement - Upload data during creation: [#7111](https://github.com/owncloud/web/pull/7111) * Enhancement - Copy/Move conflict dialog: [#7119](https://github.com/owncloud/web/pull/7119) * Enhancement - Use tus chunksize from backend: [#7120](https://github.com/owncloud/web/pull/7120) * Enhancement - Enable Drag&Drop and keyboard shortcuts for all views: [#7122](https://github.com/owncloud/web/issues/7122) * Enhancement - Indeterminate progress bar in upload overlay: [#7123](https://github.com/owncloud/web/pull/7123) * Enhancement - Wording improvements: [#7125](https://github.com/owncloud/web/pull/7125) Details ------- * Bugfix - Share downloads: [#3760](https://github.com/owncloud/ocis/issues/3760) Both single file and folder shares didn't have the download action available on the `Shared with me` page. We've fixed this by allowing the shared with me route for download actions and by fixing a download permission check on shares. https://github.com/owncloud/ocis/issues/3760 https://github.com/owncloud/web/pull/6936 * Bugfix - Share hint with disabled federated sharing: [#5261](https://github.com/owncloud/web/issues/5261) We've removed any occurrences of federated sharing in the hint below the sharing input field if federated sharing is disabled. https://github.com/owncloud/web/issues/5261 https://github.com/owncloud/web/pull/6951 * Bugfix - Password enforcement for public links: [#6323](https://github.com/owncloud/web/issues/6323) Password enforcement for public links, which can be adjusted on a per-role basis, wasn't properly reflected in the UI. We have made the necessary adjustments to only enforce passwords for public links with the permissions that require a password according to the backend settings. https://github.com/owncloud/web/issues/6323 https://github.com/owncloud/web/pull/6749 * Bugfix - Do not load files from cache: [#6447](https://github.com/owncloud/web/pull/6447) When apps (i.e Drawio) tried to load a file, the browser caches the request. If the file was modified somewhere else and the browser reads the file and its version from the cache, the content shown to the user is outdated and saving any changes is impossible until the cache is properly cleared. Thus we now ask the browser to never load files from its cache in apps. In order to achieve that we send a `Cache-Control` header along with requests. Unfortunately currently released ownCloud 10 versions do not accept that header in cross site origin setups. If you run ownCloud Web on a different domain than your ownCloud 10 instance, then you might need to add `Cache-Control` to the list of allowed CORS headers: `occ config:system:set cors.allowed-headers --type json --value '["cache-control"]'` Please make sure you don't override previous values! https://github.com/owncloud/web/pull/6447 https://github.com/owncloud/core/pull/40024 * Bugfix - Resetting store on logout: [#6694](https://github.com/owncloud/web/pull/6694) When logging out, only some parts of vuex store were reset to default. This caused bugs by switching to another account that has some other/missing settings. For example, if the account has no quota, the quota of the previously logged in account was shown. We have fixed this by resetting the user store module on logout with reset function (vuex extensions library) and creating an action to reset dynamic nav items. https://github.com/owncloud/web/issues/6549 https://github.com/owncloud/web/pull/6694 * Bugfix - Apply text selection range for new files: [#6756](https://github.com/owncloud/web/issues/6756) We've fixed a bug, where the text selection range for a new file has not been applied only for the file name but also for the file extension. This is now working as in the rename modal and just selects the text for the file name. https://github.com/owncloud/web/issues/6756 https://github.com/owncloud/web/pull/6803 * Bugfix - Rename is clickable on mobile: [#6767](https://github.com/owncloud/web/issues/6767) We've fixed a bug where the quick rename button was clickable, even so it wasn't visible. https://github.com/owncloud/web/issues/6767 https://github.com/owncloud/web/pull/6775 * Bugfix - Rename a file in favorites list with same name but in different folder: [#6804](https://github.com/owncloud/web/pull/6804) We've fixed a bug, where renaming a file in the favorites file list to a file with the same name but located in a different folder was not possible, as the message `The name "..." is already taken` appeared. https://github.com/owncloud/web/issues/1750 https://github.com/owncloud/web/pull/6804 * Bugfix - Indicate guest shares: [#6813](https://github.com/owncloud/web/pull/6813) We've fixed a bug, where guest shares were not correctly indicated and shown as users shares at the share panel in the right sidebar. https://github.com/owncloud/web/pull/6813 * Bugfix - Spaces Contextmenu trigger id isn't valid: [#6845](https://github.com/owncloud/web/issues/6845) We've fixed a bug which resulted in spaces having an invalid trigger id for the contextmenu. https://github.com/owncloud/web/issues/6845 https://github.com/owncloud/web/pull/6848 * Bugfix - Breadcrumb auto focus: [#6846](https://github.com/owncloud/web/pull/6846) We've fixed a bug where the auto focus couldn't be set on the current breadcrumb item when navigating. https://github.com/owncloud/web/pull/6846 * Bugfix - Upload meta data serialization: [#6846](https://github.com/owncloud/web/pull/6846) We've fixed a bug where meta properties of uploading resources could not be serialized, resulting in unnecessary network requests. https://github.com/owncloud/web/issues/6819 https://github.com/owncloud/web/pull/6846 * Bugfix - Upload overlay links: [#6846](https://github.com/owncloud/web/pull/6846) We've fixed a bug where the folder links in the upload overlay were broken when navigating into another app or file list. https://github.com/owncloud/web/issues/6819 https://github.com/owncloud/web/pull/6846 * Bugfix - Decrease build time and fix faulty oc10 docker dev env: [#6855](https://github.com/owncloud/web/pull/6855) We've fixed a bug where build times increased on every file change in dev mode, it also fixes the faulty file sync during docker development for oc10. https://github.com/owncloud/web/pull/6855 * Bugfix - Edit public links with expiration: [#6858](https://github.com/owncloud/web/issues/6858) We've fixed an issue with public links with expiration date that were failing in update requests. https://github.com/owncloud/web/issues/6858 https://github.com/owncloud/web/pull/6867 * Bugfix - Space image not shown if file name contains blanks: [#6881](https://github.com/owncloud/web/pull/6881) https://github.com/owncloud/web/issues/6874 https://github.com/owncloud/web/pull/6881 * Bugfix - Enable optional chaining on configuration options access: [#6891](https://github.com/owncloud/web/pull/6891) We've optional chaining on configuration options access to prevent unwanted access on undefined properties which might cause errors. https://github.com/owncloud/web/pull/6891 * Bugfix - Setting image and readme for spaces: [#6898](https://github.com/owncloud/web/pull/6898) * An issue where setting a space-image or -readme would corrupt the file list has been fixed. * Setting images from within the `.space` folder has been fixed. * Setting images and readme files with specials characters in their names has been fixed. https://github.com/owncloud/web/issues/6875 https://github.com/owncloud/web/pull/6898 * Bugfix - "Create Space"-button with open sidebar: [#6919](https://github.com/owncloud/web/pull/6919) We've fixed a bug where the "Create Space"-button would disappear when opening the sidebar for a space. https://github.com/owncloud/web/issues/6918 https://github.com/owncloud/web/pull/6919 * Bugfix - Space image showing without setting it: [#6920](https://github.com/owncloud/web/issues/6920) We've fixed a bug where an image would show for a space even though no image has been set. https://github.com/owncloud/web/issues/6920 https://github.com/owncloud/web/pull/6928 * Bugfix - Respect quota definition of none/unlimited: [#6923](https://github.com/owncloud/web/pull/6923) We have fixed an UI glitch where the UI stopped working if the backend reports a unlimited storage quota. https://github.com/owncloud/web/issues/6913 https://github.com/owncloud/web/pull/6923 https://github.com/owncloud/web/pull/7044 * Bugfix - Not logged out if backend is ownCloud 10: [#6939](https://github.com/owncloud/web/pull/6939) We've fixed an issue, where the user won't be logged out if the backend is ownCloud 10 https://github.com/owncloud/web/issues/5886 https://github.com/owncloud/web/pull/6939 https://github.com/owncloud/web/pull/7128 * Bugfix - Reload file list after accepting a remote share: [#6942](https://github.com/owncloud/web/pull/6942) We've fixed a bug where the file list would not reload after accepting a remote share. https://github.com/owncloud/web/issues/1774 https://github.com/owncloud/web/issues/4247 https://github.com/owncloud/web/issues/4839 https://github.com/owncloud/web/pull/6942 * Bugfix - Use OC-ETag instead of ETag in text editor app: [#6952](https://github.com/owncloud/web/pull/6952) We've fixed a bug, where the ETag instead of OC-ETag in the text editor app was used, due to server encoding, the ETag might be manipulated and contain the gzip suffix on a large text file. Saving the respective file, might cause an error, as the sent ETag doesn't match the server's ETag. https://github.com/owncloud/web/issues/6947 https://github.com/owncloud/web/issues/4605 https://github.com/owncloud/web/pull/6952 * Bugfix - The selected app item has a bad text color contrast in light mode: [#6954](https://github.com/owncloud/web/pull/6954) We've fixed the contrast of the text color for hovered and active application menus items. https://github.com/owncloud/web/issues/6958 https://github.com/owncloud/web/pull/6954 * Bugfix - Remove private links from share notifications: [#6955](https://github.com/owncloud/web/pull/6955) We've removed private links from share notifications because those were not working and also not needed. https://github.com/owncloud/web/issues/5227 https://github.com/owncloud/web/pull/6955 * Bugfix - Indirect links should not be editable: [#6964](https://github.com/owncloud/web/issues/6964) We've fixed a bug where it was possible to edit an indirect link. https://github.com/owncloud/web/issues/6964 https://github.com/owncloud/web/pull/6980 https://github.com/owncloud/web/pull/6985 * Bugfix - We added the shares item to the breadcrumbs at the shared with me page: [#6965](https://github.com/owncloud/web/pull/6965) https://github.com/owncloud/web/issues/6937 https://github.com/owncloud/web/pull/6965 * Bugfix - Require quick link password if enforced in ownCloud 10: [#6967](https://github.com/owncloud/web/pull/6967) We've fixed a bug, where no password was requested while creating a quick link, this led to a silent error where no quick link was created. We now prompt for a quick link password if enforced https://github.com/owncloud/web/issues/6963 https://github.com/owncloud/web/pull/6967 * Bugfix - Share with people items overflows on long names: [#6984](https://github.com/owncloud/web/pull/6984) We've fixed a bug where: * Search suggestion overflows the view port, while name is too long * Selected user overflows the select box item, while name is too long https://github.com/owncloud/web/issues/6004 https://github.com/owncloud/web/pull/6984 * Bugfix - Changing link permissions to role requiring password: [#6989](https://github.com/owncloud/web/pull/6989) We have added a dialogue option for updates of a link's permissions to a new role that would require a password. It now prompts the user to add a password instead of failing directly. https://github.com/owncloud/web/issues/6974 https://github.com/owncloud/web/pull/6989 * Bugfix - Spaces breadcrumbs not working correctly: [#6993](https://github.com/owncloud/web/pull/6993) We've fixed a bug where clicking on the last breadcrumb navigation item not resulted in a reload of the current path but forwarded to the upper path. https://github.com/owncloud/web/issues/6866 https://github.com/owncloud/web/pull/6993 * Bugfix - Search mess up spaces overview: [#7014](https://github.com/owncloud/web/pull/7014) We've fixed a bug where searching for a file in the search bar messes up the spaces overview and instead of listing the spaces, and found files according to the search term were shown. https://github.com/owncloud/web/issues/6995 https://github.com/owncloud/web/pull/7014 * Bugfix - Inheritance of share permissions: [#7015](https://github.com/owncloud/web/pull/7015) We've fixed a bug where the permissions of a share were not inherited when trying to reshare a resource. We've also disabled the role-select-dropdown if only one role is available for sharing. https://github.com/owncloud/web/issues/2963 https://github.com/owncloud/web/pull/7015 * Bugfix - Cover image and readme in spaces: [#7017](https://github.com/owncloud/web/pull/7017) The URL construction for cover image and readme of a space was wrong and led to both not being shown. This has been fixed by making the URL construction more reliable regarding different ID formats. https://github.com/owncloud/web/pull/7017 * Bugfix - Show message while upload size exceeds quota: [#7032](https://github.com/owncloud/web/pull/7032) We fixed a bug where an upload silently failed if the upload size exceeds the space quota. It now displays a detailed message instead https://github.com/owncloud/web/issues/7025 https://github.com/owncloud/web/pull/7032 * Bugfix - Drag and drop upload when a file is selected: [#7036](https://github.com/owncloud/web/pull/7036) We've fixed a bug where uploading via drag and drop wouldn't work if one or more files were selected. https://github.com/owncloud/web/issues/7006 https://github.com/owncloud/web/pull/7036 * Bugfix - Prevent rename button from getting covered: [#7061](https://github.com/owncloud/web/pull/7061) We've fixed a bug where the rename button next to the file name would get covered if there is not enough space available. https://github.com/owncloud/web/issues/7007 https://github.com/owncloud/web/pull/7061 * Bugfix - Complete-state of the upload overlay: [#7100](https://github.com/owncloud/web/pull/7100) We've fixed a bug where the complete-state of the upload overlay would show before the upload even started. https://github.com/owncloud/web/issues/7097 https://github.com/owncloud/web/pull/7100 * Bugfix - Parent folder name on public links: [#7104](https://github.com/owncloud/web/pull/7104) We've fixed a bug where the parent folder link in the upload overlay on public pages would show the link's token instead of "Public link". https://github.com/owncloud/web/issues/7101 https://github.com/owncloud/web/pull/7104 * Bugfix - Reload of an updated space-image and/or -readme: [#7108](https://github.com/owncloud/web/pull/7108) We've fixed a bug where the image and/or readme for a space wouldn't reload automatically after being updated. https://github.com/owncloud/web/pull/7108 * Enhancement - Log correct oCIS version if available: [#3805](https://github.com/owncloud/ocis/pull/3805) OCIS has introduced a new `productversion` field to announce it's correct version while maintaining a fake 10.x.x version in the `versionstring` field to keep clients compatible. We're using the new productversion field when it exists and use versionstring as a fallback. Thus the backend product information prints the correct oCIS version now. https://github.com/owncloud/ocis/pull/3805 https://github.com/owncloud/web/pull/7045 * Enhancement - Resumable uploads: [#6202](https://github.com/owncloud/web/pull/6202) We've implemented Uppy as a library for handling uploads. This concludes the following features and changes: - Resumable uploads when the backend supports the Tus-protocol - A nice looking overview for all files that have been uploaded successfully or failed to upload - Navigation across Web while uploads are in progress - Improved rendering of uploadProgress-visualization - Removed `vue2-dropzone` and `vue-drag-drop` libraries https://github.com/owncloud/web/issues/5031 https://github.com/owncloud/web/issues/6268 https://github.com/owncloud/web/pull/6202 * Enhancement - Consistent dropdown menus: [#6555](https://github.com/owncloud/web/issues/6555) Made the main dropdown menus (new, upload, context, etc) constistent in size, hover effect and spacing/margins. https://github.com/owncloud/web/issues/6555 https://github.com/owncloud/web/pull/6762 * Enhancement - Add OcContextualHelper: [#6590](https://github.com/owncloud/web/issues/6590) We've added contextual helpers to provide more information based on the context https://github.com/owncloud/web/issues/6590 https://github.com/owncloud/web/pull/6750 * Enhancement - Introduce sharing jail: [#6593](https://github.com/owncloud/web/pull/6593) We've added the sharing jail to oCIS which means that navigating and working with shares now happens inside the `Shares` navigation item. https://github.com/owncloud/web/issues/5152 https://github.com/owncloud/web/issues/6448 https://github.com/owncloud/web/pull/6593 https://github.com/owncloud/web/pull/6909 https://github.com/owncloud/web/pull/6916 * Enhancement - Introduce user-management app: [#6673](https://github.com/owncloud/web/issues/6673) We've added the app "user-management" with the following features: * Listing, creating, deleting and editing users * Listing, creating, deleting and editing group * Universal search in users and groups view https://github.com/owncloud/web/issues/6673 https://github.com/owncloud/web/issues/6674 https://github.com/owncloud/web/issues/6675 https://github.com/owncloud/web/issues/6676 https://github.com/owncloud/web/issues/6677 * Enhancement - Replace deprecated String.prototype.substr(): [#6718](https://github.com/owncloud/web/pull/6718) We've replaced all occurrences of the deprecated String.prototype.substr() function with String.prototype.slice() which works similarly but isn't deprecated. https://github.com/owncloud/web/pull/6718 * Enhancement - Redesign link sharing: [#6749](https://github.com/owncloud/web/pull/6749) We have redesigned the public link list in the right sidebar. Links now can be edited in-line and have a similiar look-and-feel to people and group shares. Additionally, creating new links now is less cumbersome and the default name, while not configurable from the backend anymore, is now translated. https://github.com/owncloud/web/issues/7149 https://github.com/owncloud/web/pull/6749 https://github.com/owncloud/web/pull/6885 https://github.com/owncloud/web/pull/6961 https://github.com/owncloud/web/pull/7150 * Enhancement - Update ODS to v13.2.0-rc.1: [#6749](https://github.com/owncloud/web/pull/6749) We updated the ownCloud Design System to version 13.2.0-rc.1. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Enhancement - Add isFileExtensionDisplayed property: https://github.com/owncloud/owncloud-design-system/pull/2087 - Enhancement - OcModal input type: https://github.com/owncloud/owncloud-design-system/pull/2077 - Enhancement - Add OcContextualHelper: https://github.com/owncloud/owncloud-design-system/pull/2064 - Enhancement - Add selection range for OcModal and OcTextInput: https://github.com/owncloud/owncloud-design-system/pull/2061 - Enhancement - Replace deprecated String.prototype.substr(): https://github.com/owncloud/owncloud-design-system/pull/2059 - Enhancement - Redesign OcGhostElement: https://github.com/owncloud/owncloud-design-system/pull/2049 - Enhancement - Export package members: https://github.com/owncloud/owncloud-design-system/pull/2048 - Enhancement - Make OcResource inline-flex: https://github.com/owncloud/owncloud-design-system/pull/2041 - Enhancement - Hover in ocDrop menus: https://github.com/owncloud/owncloud-design-system/pull/2069 - Enhancement - Implement an indeterminate state for the progress bar: https://github.com/owncloud/owncloud-design-system/pull/2200 - Bugfix - Disabled textarea color contrast in darkmode: https://github.com/owncloud/owncloud-design-system/pull/2055 - Bugfix - OcTextInput: Fix event handlers in loops: https://github.com/owncloud/owncloud-design-system/pull/2054 https://github.com/owncloud/web/pull/6749 https://github.com/owncloud/web/pull/6750 https://github.com/owncloud/web/pull/6953 https://github.com/owncloud/web/pull/7094 https://github.com/owncloud/web/pull/7123 https://github.com/owncloud/owncloud-design-system/releases/tag/13.2.0-rc.1 * Enhancement - Make contexthelpers opt-out: [#6750](https://github.com/owncloud/web/pull/6750#issuecomment-1143753289) The contextual helpers needed to actively be enabled in the configuration. We have now enabled them by default and admins can disable them using the configuration. https://github.com/owncloud/web/pull/6750#issuecomment-1143753289 * Enhancement - Add Sentry support: [#6759](https://github.com/owncloud/web/pull/6759) We've added Sentry support to enable monitoring and error tracking (see docs "getting started"). https://github.com/owncloud/web/pull/6759 * Enhancement - Prevent the resource name in the sidebar from being truncated: [#6776](https://github.com/owncloud/web/issues/6776) We now prevent the resource name in the right sidebar from being truncated to ensure that the full name can be read at any time. https://github.com/owncloud/web/issues/6776 https://github.com/owncloud/web/pull/7052 * Enhancement - Design polishing: [#6781](https://github.com/owncloud/web/pull/6781) We've fixed the following issues to enhance UI/UX: - wording for new space button - wording for invite space member submit button https://github.com/owncloud/web/issues/6555 https://github.com/owncloud/web/pull/6781 * Enhancement - Add show file extension toggle switch in file list settings: [#6793](https://github.com/owncloud/web/pull/6793) We've added a toggle switch to the file list settings to turn off and on displaying file extension. If this setting is turned off, the file extension won't be shown anymore in: * The name column displayed in the files list * The right sidebar * The rename modal * The new file modal https://github.com/owncloud/web/issues/6730 https://github.com/owncloud/web/pull/6793 * Enhancement - Add un-share confirmation dialog: [#6795](https://github.com/owncloud/web/pull/6795) We have implemented a confirmation dialog which pops up if the user clicks the "remove share" button https://github.com/owncloud/web/issues/6728 https://github.com/owncloud/web/pull/6795 * Enhancement - Make rename resource icon always visible instead just on hover: [#6817](https://github.com/owncloud/web/pull/6817) https://github.com/owncloud/web/issues/6755 https://github.com/owncloud/web/pull/6817 * Enhancement - Enable tus upload for password protected public links: [#6819](https://github.com/owncloud/web/issues/6819) Uploading files on password protected public links now features tus uploads if the backend supports it. https://github.com/owncloud/web/issues/6819 https://github.com/owncloud/web/pull/6890 * Enhancement - Introduce quicklinks: [#6820](https://github.com/owncloud/web/pull/6820) We have added quicklinks to the link share section in the right sidebar. Clicking the link quickaction and the link menu item in the files table contextmenu now always copy the quick link instead of creating a new link (and create it first, if it didn't exist before). https://github.com/owncloud/web/issues/6605 https://github.com/owncloud/web/pull/6820 * Enhancement - Update SDK: [#6820](https://github.com/owncloud/web/pull/6820) We've updated the ownCloud SDK to version 3.0.0-alpha.10. - Change - Pass full trash bin path to methods of FilesTrash class: https://github.com/owncloud/owncloud-sdk/pull/1021 - Enhancement - Enforce share_type guest if applies: https://github.com/owncloud/owncloud-sdk/pull/1046 - Enhancement - Create quicklink: https://github.com/owncloud/owncloud-sdk/pull/1041 - Enhancement - Replace deprecated String.prototype.substr(): https://github.com/owncloud/owncloud-sdk/pull/1035 - Enhancement - Add blob resolveType: https://github.com/owncloud/owncloud-sdk/pull/1028 - Enhancement - Adjust share management to properly work with spaces: https://github.com/owncloud/owncloud-sdk/pull/1013 - Enhancement - Send oc-etag on putFileContents and getFileContents methods: https://github.com/owncloud/owncloud-sdk/pull/1067 - Enhancement - Enable search results for ocis: https://github.com/owncloud/owncloud-sdk/pull/1057 - Enhancement - Add overwrite flag for file move: https://github.com/owncloud/owncloud-sdk/pull/1073 - Bugfix - Always add X-Request-ID: https://github.com/owncloud/owncloud-sdk/pull/1016 - Bugfix - Always add X-Requested-With header: https://github.com/owncloud/owncloud-sdk/pull/1020 https://github.com/owncloud/web/pull/6820 https://github.com/owncloud/web/pull/6952 https://github.com/owncloud/web/pull/6994 https://github.com/owncloud/owncloud-sdk/releases/tag/v3.0.0-alpha.10 * Enhancement - Remove the upload progress component: [#6825](https://github.com/owncloud/web/pull/6825) We've removed the upload progress component because the implementation of Uppy made it obsolete. https://github.com/owncloud/web/issues/6819 https://github.com/owncloud/web/pull/6825 * Enhancement - Fixed aspect ratio for spaces images: [#6829](https://github.com/owncloud/web/pull/6829) We've set the spaces images to a fixed aspect ratio to make sure that the same part of the image is always displayed. https://github.com/owncloud/web/issues/6555 https://github.com/owncloud/web/pull/6829 * Enhancement - Polish the upload overlay: [#6837](https://github.com/owncloud/web/pull/6837) We polished the overlay that pops up on the bottom right corner when uploading files: * The header now shows the amount of successful uploads * Polished the overall design of the overlay https://github.com/owncloud/web/issues/6819 https://github.com/owncloud/web/pull/6837 * Enhancement - Enable search all files for ocis backend: [#6841](https://github.com/owncloud/web/pull/6841) We've enabled the search all files feature for ocis backend: * Find files in sub directories * Find files in other places like project spaces https://github.com/owncloud/web/pull/6841 https://github.com/owncloud/web/pull/6873 https://github.com/owncloud/web/pull/6887 https://github.com/owncloud/web/pull/6884 * Enhancement - EOS links insidebar, fix tooltips: [#6849](https://github.com/owncloud/web/issues/6849) We've added a `runningOnEos` setting which, if set to true, displays two entries in the sidebar: The EOS path and a direct link to the file. Along with adding the two links, we have also resolved an issue with overflowing text/tooltips in the sidebar for very long text. https://github.com/owncloud/web/issues/6849 https://github.com/owncloud/web/pull/6959 https://github.com/owncloud/web/pull/6997 * Enhancement - Use event bus for upload related actions: [#6853](https://github.com/owncloud/web/pull/6853) Instead of extending Vue, the uppy service now uses our custom `EventBus`. https://github.com/owncloud/web/issues/6819 https://github.com/owncloud/web/pull/6853 https://github.com/owncloud/web/pull/6864 * Enhancement - Capability-based searchbar rendering: [#6856](https://github.com/owncloud/web/pull/6856) We have removed the `hideSearchBar` configuration option and now always render a searchbar if the backend announces the availability of search functionality using its capabilities. https://github.com/owncloud/web/issues/6806 https://github.com/owncloud/web/pull/6856 * Enhancement - Refactor upload input components: [#6859](https://github.com/owncloud/web/pull/6859) We've refactored the upload input components for files and folders into one component. https://github.com/owncloud/web/issues/6819 https://github.com/owncloud/web/pull/6859 * Enhancement - Get rid of the integration tests: [#6863](https://github.com/owncloud/web/pull/6863) We've decided to get rid of our integration test suite. Our unit and e2e tests get better and better with each release and have now reached the point where they can replace the integration tests. https://github.com/owncloud/web/pull/6863 * Enhancement - Space store improvements: [#6868](https://github.com/owncloud/web/pull/6868) We've improved the space's store, this allows us to keep the search reactive to space changes, for example, as a project space gets added or renamed. https://github.com/owncloud/web/pull/6868 * Enhancement - Customize additional mimeTypes for preview app: [#6933](https://github.com/owncloud/web/issues/6933) We've added support for customizing additional mimeTypes for the preview app. In case the backend supports more mimeTypes than our hardcoded list in the preview app, you can now announce them to ownCloud Web with additional config. See https://owncloud.dev/clients/web/deployments/oc10-app/#additional-configuration-for-certain-core-apps https://github.com/owncloud/web/issues/6933 https://github.com/owncloud/web/pull/7131 * Enhancement - Use new WebDAV endpoints for uploads: [#6970](https://github.com/owncloud/web/issues/6970) We now use the new WebDAV endpoints for uploads when spaces are enabled. https://github.com/owncloud/web/issues/6970 https://github.com/owncloud/web/pull/6991 * Enhancement - Show default action at the first place in context menu: [#6971](https://github.com/owncloud/web/issues/6971) We've added the sorting of actions in the way that default file handler shows first in the context menu https://github.com/owncloud/web/issues/6971 https://github.com/owncloud/web/pull/6954 * Enhancement - Add config option for hoverable quick actions: [#7022](https://github.com/owncloud/web/pull/7022) We've added the possibility to add hover effect for quick actions with the option "hoverableQuickActions" in config.json. The hover effect applies to "edit name", "add people" and "copy quicklink" actions in the corresponding hovered row. https://github.com/owncloud/web/issues/7021 https://github.com/owncloud/web/pull/7022 * Enhancement - Load language from user object if given: [#7023](https://github.com/owncloud/web/pull/7023) We've added the possibility to load the user's language from the use object if given, this allows us to take the configured language if oC10 is running as backend. https://github.com/owncloud/web/issues/6243 https://github.com/owncloud/web/pull/7023 * Enhancement - CERN features setting: [#7034](https://github.com/owncloud/web/pull/7034) We've added a flag to enable CERN-specific features https://github.com/owncloud/web/pull/7034 * Enhancement - CERN-specific help in shares tooltip: [#7034](https://github.com/owncloud/web/pull/7034) We've added some CERN-related help strings to the share tooltip. https://github.com/owncloud/web/pull/7034 * Enhancement - Rendering of share-indicators in ResourceTable: [#7038](https://github.com/owncloud/web/issues/7038) We have improved the rendering speed of the ResourceTable by fixing some underlying logic that caused unnecessary re-renderings. https://github.com/owncloud/web/issues/7038 https://github.com/owncloud/web/pull/7070 * Enhancement - Personal space id in URL: [#7053](https://github.com/owncloud/web/pull/7053) We now include the personal space id in the URL instead of using a magic "home" alias. When using the old "home" alias the user gets redirected to the URL with their personal space id. https://github.com/owncloud/web/pull/7053 * Enhancement - Upload progress & overlay improvements: [#7067](https://github.com/owncloud/web/pull/7067) * Remove fetching of newly uploaded files and folders to improve performance * Redesign the upload overlay * Show uploading files in the upload overlay * Immediately show the upload overlay when uploading folders to tell the user that the upload is starting * Only show top level folders in the upload overlay when uploading folders * Remove the Uppy StatusBar plugin * Use `uppy.addFiles()` instead of calling `uppy.addFile()` for each file * The upload overlay now shows a more proper time estimation when uploading many files * The user feedback of the upload overlay during upload preparation has been improved * Several router bugs have been fixed in the upload overlay * Temporarily disabled `uploadDataDuringCreation` to prevent the local storage from getting to full * Some more refactoring under the hood has been made https://github.com/owncloud/web/issues/7066 https://github.com/owncloud/web/issues/7069 https://github.com/owncloud/web/pull/7067 https://github.com/owncloud/web/pull/7127 * Enhancement - Add Hotkeys to ResourceTable: [#7078](https://github.com/owncloud/web/pull/7078) We've added hotkeys for copy, cut and paste. https://github.com/owncloud/web/issues/7071 https://github.com/owncloud/web/pull/7078 * Enhancement - Upload time estimation: [#7088](https://github.com/owncloud/web/pull/7088) The estimated remaining time for an upload will now be displayed in the upload overlay. https://github.com/owncloud/web/issues/7066 https://github.com/owncloud/web/pull/7088 * Enhancement - Clickable folder links in upload overlay: [#7109](https://github.com/owncloud/web/pull/7109) Uploaded folders can now be clicked in the upload overlay, which navigates the user to the clicked folder. https://github.com/owncloud/web/issues/7102 https://github.com/owncloud/web/pull/7109 * Enhancement - Upload data during creation: [#7111](https://github.com/owncloud/web/pull/7111) Uploading via tus now uses the `uploadDataDuringCreation` option which saves up one request. https://github.com/owncloud/web/issues/7066 https://github.com/owncloud/web/pull/7111 * Enhancement - Copy/Move conflict dialog: [#7119](https://github.com/owncloud/web/pull/7119) We've added a conflict dialog for moving resources via drag&drop in the files list https://github.com/owncloud/web/issues/6996 https://github.com/owncloud/web/pull/7119 https://github.com/owncloud/web/pull/6994 https://github.com/owncloud/web/pull/7151 * Enhancement - Use tus chunksize from backend: [#7120](https://github.com/owncloud/web/pull/7120) We now use the chunksize value coming from the backend for uploading via tus. If no chunksize is given, it will default to `Infinity`. The Web config `uploadChunkSize` has been removed as a result. https://github.com/owncloud/web/pull/7120 * Enhancement - Enable Drag&Drop and keyboard shortcuts for all views: [#7122](https://github.com/owncloud/web/issues/7122) We've enabled drag&drop move and keyboard shortcut copy/cut/paste for publicFiles, sharedResource and spaces. https://github.com/owncloud/web/issues/7122 https://github.com/owncloud/web/pull/7126 * Enhancement - Indeterminate progress bar in upload overlay: [#7123](https://github.com/owncloud/web/pull/7123) We've added an indeterminate state to the progress bar in the upload overlay as long as the upload is preparing. https://github.com/owncloud/web/issues/7105 https://github.com/owncloud/web/pull/7123 * Enhancement - Wording improvements: [#7125](https://github.com/owncloud/web/pull/7125) We've simplified and improved the wording of some copy/move related ui elements. https://github.com/owncloud/web/pull/7125 Changelog for ownCloud Web [5.4.0] (2022-04-11) ======================================= The following sections list the changes in ownCloud web 5.4.0 relevant to ownCloud admins and users. [5.4.0]: https://github.com/owncloud/web/compare/v5.3.0...v5.4.0 Summary ------- * Bugfix - Use oC10 navigation entry names: [#6656](https://github.com/owncloud/web/pull/6656) * Bugfix - AppBar ViewOptions alignment: [#6662](https://github.com/owncloud/web/pull/6662) * Bugfix - Accessible breadcrumb itemcount: [#6690](https://github.com/owncloud/web/pull/6690) * Bugfix - Hide sidebar toggle button on spaces projects page: [#6690](https://github.com/owncloud/web/pull/6690) * Bugfix - TopBar on redirect: [#6704](https://github.com/owncloud/web/pull/6704) * Bugfix - Unsticky appbar position: [#6708](https://github.com/owncloud/web/pull/6708) * Enhancement - Remove public links from SharedWithOthers page: [#5976](https://github.com/owncloud/web/issues/5976) * Enhancement - Add "Shared with" column for "Shared with me" page: [#6140](https://github.com/owncloud/web/issues/6140) * Enhancement - Archive download for oc10 backend: [#6239](https://github.com/owncloud/web/issues/6239) * Enhancement - Audio support in preview app: [#6514](https://github.com/owncloud/web/pull/6514) * Enhancement - Audio handling in preview app: [#6514](https://github.com/owncloud/web/pull/6514) * Enhancement - Rename mediaviewer to preview: [#6514](https://github.com/owncloud/web/pull/6514) * Enhancement - Editor role for single file public links: [#6618](https://github.com/owncloud/web/pull/6618) * Enhancement - Make some UI elements/actions optional: [#6618](https://github.com/owncloud/web/pull/6618) * Enhancement - Spaces link sharing: [#6633](https://github.com/owncloud/web/pull/6633) * Enhancement - Spaces group sharing: [#6639](https://github.com/owncloud/web/pull/6639) * Enhancement - Spaces overview topbar layout: [#6642](https://github.com/owncloud/web/pull/6642) * Enhancement - PDF viewer: [#6654](https://github.com/owncloud/web/pull/6654) * Enhancement - Spaces context menus: [#6659](https://github.com/owncloud/web/pull/6659) * Enhancement - Space name in breadcrumb: [#6662](https://github.com/owncloud/web/pull/6662) * Enhancement - Text Editor: [#6667](https://github.com/owncloud/web/pull/6667) * Enhancement - Full screen external apps: [#6688](https://github.com/owncloud/web/pull/6688) * Enhancement - Permission-based visibility of upload and create buttons: [#6690](https://github.com/owncloud/web/pull/6690) * Enhancement - Spaces quota unlimited option: [#6693](https://github.com/owncloud/web/pull/6693) * Enhancement - Unified shares sidebar panel: [#6701](https://github.com/owncloud/web/pull/6701) * Enhancement - Update ODS to v13.1.0-rc.2: [#6701](https://github.com/owncloud/web/pull/6701) * Enhancement - Customizable feedback link: [#6702](https://github.com/owncloud/web/issues/6702) * Enhancement - Add rename selection range: [#6729](https://github.com/owncloud/web/issues/6729) * Enhancement - Provide dependencies to applications: [#6746](https://github.com/owncloud/web/pull/6746) Details ------- * Bugfix - Use oC10 navigation entry names: [#6656](https://github.com/owncloud/web/pull/6656) When fetching navigation entries from oC10, we previously used the app's names. This caused issues when the navigation entry ID and the app ID differ. Also, the navigation entries did not match with the ones in the classic UI. This has been fixed as we now use the navigation entry name, which falls back to the app name if not given. https://github.com/owncloud/web/issues/6585 https://github.com/owncloud/web/pull/6656 * Bugfix - AppBar ViewOptions alignment: [#6662](https://github.com/owncloud/web/pull/6662) We have fixed a visual glitch that rendered the ViewOptions in the AppBar on the left side instead of right-aligned if no Breadcrumbs or SharesNavigation is present. https://github.com/owncloud/web/issues/6685 https://github.com/owncloud/web/pull/6662 * Bugfix - Accessible breadcrumb itemcount: [#6690](https://github.com/owncloud/web/pull/6690) Our breadcrumbs announce the amount of resources inside a folder. Due to a bug the calculated number wasn't announced correctly, which we have resolved. https://github.com/owncloud/web/issues/6022 https://github.com/owncloud/web/pull/6690 * Bugfix - Hide sidebar toggle button on spaces projects page: [#6690](https://github.com/owncloud/web/pull/6690) We have hidden the sidebar toggle button on the spaces projects page to avoid user confusion. https://github.com/owncloud/web/pull/6690 * Bugfix - TopBar on redirect: [#6704](https://github.com/owncloud/web/pull/6704) We fixed a visual glitch that showed the topbar on redirect pages. https://github.com/owncloud/web/issues/6527 https://github.com/owncloud/web/pull/6704 * Bugfix - Unsticky appbar position: [#6708](https://github.com/owncloud/web/pull/6708) After recent changes to the files appbar, it wouldn't be visible when scrolling inside the table. This has been resolved. https://github.com/owncloud/web/issues/6696 https://github.com/owncloud/web/pull/6708 * Enhancement - Remove public links from SharedWithOthers page: [#5976](https://github.com/owncloud/web/issues/5976) We've removed links from the shared-with-others page as those belong in the `Shared via link` page (and already exist there). https://github.com/owncloud/web/issues/5976 https://github.com/owncloud/web/pull/6612 * Enhancement - Add "Shared with" column for "Shared with me" page: [#6140](https://github.com/owncloud/web/issues/6140) We've added the "Shared with" column for incoming shares in the "Shared with me" page and changed the order of the column to follow the "Share owner" column. https://github.com/owncloud/web/issues/6140 https://github.com/owncloud/web/pull/6699 * Enhancement - Archive download for oc10 backend: [#6239](https://github.com/owncloud/web/issues/6239) We now offer archive downloads (multifile or folder) as archive with oc10 backends. Since oc10 archive downloads are path based this could only be made possible on pages that follow the folder hierarchy of the logged in user. In other words: on favorites pages the archive download is unavailable for oc10 backends as the selected files/folders don't necessarily share the same parent folder. https://github.com/owncloud/web/issues/6239 https://github.com/owncloud/web/pull/6697 * Enhancement - Audio support in preview app: [#6514](https://github.com/owncloud/web/pull/6514) We've added support for audio file playback into the preview app (namely flac, mp3, wav and ogg). https://github.com/owncloud/web/pull/6514 * Enhancement - Audio handling in preview app: [#6514](https://github.com/owncloud/web/pull/6514) We've built audio preview support for flac, mp3, ogg and wav files into the preview app. https://github.com/owncloud/web/pull/6514 * Enhancement - Rename mediaviewer to preview: [#6514](https://github.com/owncloud/web/pull/6514) We've renamed the media-viewer app to preview because that describes the purpose of the app better and doesn't mislead users into thinking that it's a full blown media viewer. For the time being we've added an app alias handling to ownCloud Web which prints a deprecation warning if the preview app is tried to be loaded as `media-viewer`. https://github.com/owncloud/web/pull/6514 * Enhancement - Editor role for single file public links: [#6618](https://github.com/owncloud/web/pull/6618) Allow creating a public link with editor role for a single file. Only available in oCIS. https://github.com/owncloud/web/pull/6618 * Enhancement - Make some UI elements/actions optional: [#6618](https://github.com/owncloud/web/pull/6618) Make renaming a share, permanently deleting files and showing the custom permissions role optional via capabilities. By default, all of these options are enabled/showed. Capabilities: * capabilities.files_sharing.can_rename * capabilities.files.permanent_deletion * capabilities.files_sharing.allow_custom https://github.com/owncloud/web/issues/6324 https://github.com/owncloud/web/pull/6618 * Enhancement - Spaces link sharing: [#6633](https://github.com/owncloud/web/pull/6633) Spaces and their resources can now be shared via links. https://github.com/owncloud/web/issues/6283 https://github.com/owncloud/web/pull/6633 * Enhancement - Spaces group sharing: [#6639](https://github.com/owncloud/web/pull/6639) Resources within a space can now be shared with user groups. Spaces themselves can't be shared with groups, therefore those have been removed from the autocomplete results when adding members to a space. https://github.com/owncloud/web/issues/6283 https://github.com/owncloud/web/pull/6639 * Enhancement - Spaces overview topbar layout: [#6642](https://github.com/owncloud/web/pull/6642) We've adjusted the topbar layout of the spaces overview to match the other pages. https://github.com/owncloud/web/issues/6641 https://github.com/owncloud/web/pull/6642 * Enhancement - PDF viewer: [#6654](https://github.com/owncloud/web/pull/6654) We've added a lightweight PDF viewer app which allows the user to bookmark PDF files. https://github.com/owncloud/web/pull/6654 * Enhancement - Spaces context menus: [#6659](https://github.com/owncloud/web/pull/6659) Spaces context menus have been adjusted visibly to match the other available context menus. Also, the corresponding component has been abstracted in the course of this. This cleans up a lot of (duplicated) code across the spaces views and makes future adjustments easier. https://github.com/owncloud/web/issues/6634 https://github.com/owncloud/web/pull/6659 * Enhancement - Space name in breadcrumb: [#6662](https://github.com/owncloud/web/pull/6662) We have updated the breadcrumbs to show a space's name (if available). https://github.com/owncloud/web/issues/6637 https://github.com/owncloud/web/pull/6662 * Enhancement - Text Editor: [#6667](https://github.com/owncloud/web/pull/6667) Replace MarkdownEditor with Text Editor and add the following improvements: * Disable preview for non md files (configurable) * Data integrity checks (prevent exiting with unsaved changes) * Better error information to the user * Keyboard shortcut to save * Read-only mode * Fix to open on non-authenticated public links * Open other extensions (js, json, xml, py, php, yaml) * UI polish https://github.com/owncloud/web/pull/6667 https://github.com/owncloud/web/pull/6754 https://github.com/owncloud/web/pull/6763 * Enhancement - Full screen external apps: [#6688](https://github.com/owncloud/web/pull/6688) It allows, for example, presentation apps to enter full screen. https://github.com/owncloud/web/pull/6688 * Enhancement - Permission-based visibility of upload and create buttons: [#6690](https://github.com/owncloud/web/pull/6690) Instead of showing disabled "Upload" and "New" buttons on public links with insufficient permissions, we now hide them for the page visitor. https://github.com/owncloud/web/issues/5618 https://github.com/owncloud/web/pull/6690 * Enhancement - Spaces quota unlimited option: [#6693](https://github.com/owncloud/web/pull/6693) Space quota can now be set to unlimited https://github.com/owncloud/web/issues/6470 https://github.com/owncloud/web/pull/6693 * Enhancement - Unified shares sidebar panel: [#6701](https://github.com/owncloud/web/pull/6701) We've merged the "people" and "link" shares sidebar panels to give users a clearer idea of who has access to a resource. https://github.com/owncloud/web/issues/6621 https://github.com/owncloud/web/pull/6701 * Enhancement - Update ODS to v13.1.0-rc.2: [#6701](https://github.com/owncloud/web/pull/6701) We updated the ownCloud Design System to version 13.1.0-rc.2. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Enhancement - Replace deprecated String.prototype.substr(): https://github.com/owncloud/owncloud-design-system/pull/2059 - Enhancement - Redesign OcGhostElement: https://github.com/owncloud/owncloud-design-system/pull/2049 - Enhancement - Export package members: https://github.com/owncloud/owncloud-design-system/pull/2048 - Enhancement - Make OcResource inline-flex: https://github.com/owncloud/owncloud-design-system/pull/2041 - Bugfix - Disabled textarea color contrast in darkmode: https://github.com/owncloud/owncloud-design-system/pull/2055 - Bugfix - OcTextInput: Fix event handlers in loops: https://github.com/owncloud/owncloud-design-system/pull/2054 https://github.com/owncloud/web/pull/6701 https://github.com/owncloud/web/pull/6708 https://github.com/owncloud/owncloud-design-system/releases/tag/v13.1.0-rc.2 * Enhancement - Customizable feedback link: [#6702](https://github.com/owncloud/web/issues/6702) We've added options and documentation for customization of the `href`, `ariaLabel` and `description` of the feedback link in the topbar. See https://owncloud.dev/clients/web/getting-started/ for documentation. https://github.com/owncloud/web/issues/6702 https://github.com/owncloud/web/pull/6761 https://owncloud.dev/clients/web/getting-started/ * Enhancement - Add rename selection range: [#6729](https://github.com/owncloud/web/issues/6729) We've added a selection range for the rename modal to intially select the resource name without extension. https://github.com/owncloud/web/issues/6729 https://github.com/owncloud/web/pull/6736 * Enhancement - Provide dependencies to applications: [#6746](https://github.com/owncloud/web/pull/6746) We reduced the bundle size of externally built applications and the risk of clashing library instances by passing certain dependencies into applications (namely `@vue/composition-api`, `vuex` and `luxon`). https://github.com/owncloud/web/issues/5716 https://github.com/owncloud/web/pull/6746 Changelog for ownCloud Web [5.3.0] (2022-03-23) ======================================= The following sections list the changes in ownCloud web 5.3.0 relevant to ownCloud admins and users. [5.3.0]: https://github.com/owncloud/web/compare/v5.2.0...v5.3.0 Summary ------- * Bugfix - Sidebar panels in public links: [#2090](https://github.com/owncloud/web/issues/2090) * Bugfix - Thumbnails only for accepted shares: [#5310](https://github.com/owncloud/web/issues/5310) * Bugfix - Resolve private links: [#5654](https://github.com/owncloud/web/pull/5654) * Bugfix - File handling in apps: [#6456](https://github.com/owncloud/web/pull/6456) * Bugfix - Rename parent folder: [#6516](https://github.com/owncloud/web/issues/6516) * Bugfix - Prevent cross-site scripting attack while displaying space description: [#6523](https://github.com/owncloud/web/pull/6523) * Bugfix - Don't write error message on passing ReadmeContentModal.spec.js test: [#6525](https://github.com/owncloud/web/pull/6525) * Bugfix - Show no auth popup on password protected public links in ownCloud 10: [#6530](https://github.com/owncloud/web/pull/6530) * Bugfix - Natural sort order: [#6532](https://github.com/owncloud/web/issues/6532) * Bugfix - Pressing enter in forms: [#6548](https://github.com/owncloud/web/pull/6548) * Bugfix - Prevent the member count inside a space from disappearing: [#6550](https://github.com/owncloud/web/pull/6550) * Bugfix - Remove iFrame border: [#6555](https://github.com/owncloud/web/issues/6555) * Bugfix - TypeErrors when trying to destruct undefined properties: [#6568](https://github.com/owncloud/web/pull/6568) * Bugfix - Resize observer errors within subfolders of a space: [#6569](https://github.com/owncloud/web/pull/6569) * Enhancement - Resolve private links into folders instead of parent: [#5533](https://github.com/owncloud/web/issues/5533) * Enhancement - Move share indicators: [#5976](https://github.com/owncloud/web/issues/5976) * Enhancement - Shares overview: [#6440](https://github.com/owncloud/web/issues/6440) * Enhancement - Implement people sharing for spaces: [#6455](https://github.com/owncloud/web/pull/6455) * Enhancement - Allow updating space quota: [#6477](https://github.com/owncloud/web/pull/6477) * Enhancement - Design improvements: [#6492](https://github.com/owncloud/web/issues/6492) * Enhancement - Polish ViewOptions: [#6492](https://github.com/owncloud/web/issues/6492) * Enhancement - Update the graph SDK: [#6519](https://github.com/owncloud/web/pull/6519) * Enhancement - Load space images as preview: [#6529](https://github.com/owncloud/web/pull/6529) * Enhancement - Implement the spaces permission concept: [#6531](https://github.com/owncloud/web/pull/6531) * Enhancement - Side bar nav tags: [#6540](https://github.com/owncloud/web/pull/6540) * Enhancement - Update ODS to v13.0.0: [#6540](https://github.com/owncloud/web/pull/6540) * Enhancement - Add a watcher for the share panel of a space: [#6543](https://github.com/owncloud/web/pull/6543) * Enhancement - Update the stored space after its members have been changed: [#6545](https://github.com/owncloud/web/pull/6545) * Enhancement - Don't block account page while groups are loading: [#6547](https://github.com/owncloud/web/pull/6547) * Enhancement - Contextmenu background hover: [#6553](https://github.com/owncloud/web/pull/6553) * Enhancement - Show space members in share panel for files inside a space: [#6554](https://github.com/owncloud/web/pull/6554) * Enhancement - Trash bin: [#6566](https://github.com/owncloud/web/pull/6566) * Enhancement - Implement people sharing for resources within a space: [#6577](https://github.com/owncloud/web/pull/6577) * Enhancement - Implement edit quota action in spaces overview: [#6598](https://github.com/owncloud/web/pull/6598) * Enhancement - Improve resource loading within spaces: [#6601](https://github.com/owncloud/web/pull/6601) * Enhancement - Trash bin breadcrumbs: [#6609](https://github.com/owncloud/web/pull/6609) * Enhancement - Share inheritance indicators: [#6613](https://github.com/owncloud/web/pull/6613) * Enhancement - App context route to query instead of params: [#6622](https://github.com/owncloud/web/pull/6622) * Enhancement - Internet Explorer deprecation warning banner: [#6629](https://github.com/owncloud/web/pull/6629) * Enhancement - Move NoContentMessage component: [#6643](https://github.com/owncloud/web/pull/6643) * Enhancement - Move ListLoader component: [#6644](https://github.com/owncloud/web/pull/6644) Details ------- * Bugfix - Sidebar panels in public links: [#2090](https://github.com/owncloud/web/issues/2090) Public links were showing some panels (People, Links, Versions) that were not supposed to be visible in public links. We've fixed that by excluding those panels on public link routes. https://github.com/owncloud/web/issues/2090 https://github.com/owncloud/web/pull/6567 * Bugfix - Thumbnails only for accepted shares: [#5310](https://github.com/owncloud/web/issues/5310) Only accepted shares now display a thumbnail in the "Shared with me" resource table. https://github.com/owncloud/web/issues/5310 https://github.com/owncloud/web/pull/6534 * Bugfix - Resolve private links: [#5654](https://github.com/owncloud/web/pull/5654) Private links didn't resolve correctly anymore because the internal file path handling was changed in our api client (owncloud-sdk). We've adjusted it accordingly so that private links now resolve correctly again. https://github.com/owncloud/web/pull/5654 * Bugfix - File handling in apps: [#6456](https://github.com/owncloud/web/pull/6456) We fixed loading and saving files in apps in all contexts. It's now possible to open files in apps in personal files, favorites, share views and spaces. https://github.com/owncloud/web/pull/6456 * Bugfix - Rename parent folder: [#6516](https://github.com/owncloud/web/issues/6516) We fixed the rename option in the parent folder / breadcrumb context menu. It was broken due to malformed webdav paths. https://github.com/owncloud/web/issues/6516 https://github.com/owncloud/web/pull/6631 * Bugfix - Prevent cross-site scripting attack while displaying space description: [#6523](https://github.com/owncloud/web/pull/6523) We've added a new package that strips out possible XSS attack code while displaying the space description https://github.com/owncloud/web/issues/6526 https://github.com/owncloud/web/pull/6523 * Bugfix - Don't write error message on passing ReadmeContentModal.spec.js test: [#6525](https://github.com/owncloud/web/pull/6525) ReadmeContentModal.spec.js test doesn't write error output anymore while passing https://github.com/owncloud/web/issues/6337 https://github.com/owncloud/web/pull/6525 * Bugfix - Show no auth popup on password protected public links in ownCloud 10: [#6530](https://github.com/owncloud/web/pull/6530) We fixed a native browser auth popup erroneously being shown for password protected public links with ownCloud 10. https://github.com/owncloud/web/issues/5727 https://github.com/owncloud/web/pull/6530 https://github.com/owncloud/owncloud-sdk/pull/1020 * Bugfix - Natural sort order: [#6532](https://github.com/owncloud/web/issues/6532) We've fixed the sort order to respect natural sorting again. Also used the chance to make use of `Intl.Collator` instead of `localeCompare` which is considered to be a performance improvement. https://github.com/owncloud/web/issues/6532 https://github.com/owncloud/web/pull/6632 * Bugfix - Pressing enter in forms: [#6548](https://github.com/owncloud/web/pull/6548) We fixed behavior when pressing enter in forms. For instance when adding or editing public links pressing enter in the name or password input fields, instead of saving the link it opened the datepicker. https://github.com/owncloud/web/pull/6548 https://github.com/owncloud/owncloud-design-system/pull/2009 * Bugfix - Prevent the member count inside a space from disappearing: [#6550](https://github.com/owncloud/web/pull/6550) We've fixed a bug where opening the sidebar for a file inside a space caused the member count of the space to disappear. https://github.com/owncloud/web/pull/6550 * Bugfix - Remove iFrame border: [#6555](https://github.com/owncloud/web/issues/6555) We fixed a UI issue which showed small borders around iFrames, e.g. in the external app. https://github.com/owncloud/web/issues/6555 https://github.com/owncloud/web/pull/6573 * Bugfix - TypeErrors when trying to destruct undefined properties: [#6568](https://github.com/owncloud/web/pull/6568) We fixed TypeErrors when trying to destruct undefined properties in the space permissions checks by providing a default value. https://github.com/owncloud/web/pull/6568 * Bugfix - Resize observer errors within subfolders of a space: [#6569](https://github.com/owncloud/web/pull/6569) We've fixed a bug where the resize observer crashes within subfolders of a space because there is no element to observe. https://github.com/owncloud/web/pull/6569 * Enhancement - Resolve private links into folders instead of parent: [#5533](https://github.com/owncloud/web/issues/5533) Private links always resolved into the parent folder of the linked file and visually highlighted the file or folder from the link. We've changed this behaviour to directly navigate into the folder in case the linked resource is a folder and only keep the previous behaviour for when the linked resource is a file. https://github.com/owncloud/web/issues/5533 https://github.com/owncloud/web/pull/5654 * Enhancement - Move share indicators: [#5976](https://github.com/owncloud/web/issues/5976) We've moved the share/status indicators into a separate column and adjusted the design in ODS. https://github.com/owncloud/web/issues/5976 https://github.com/owncloud/web/pull/6552 https://github.com/owncloud/owncloud-design-system/pull/2014 https://github.com/owncloud/web/pull/6583 * Enhancement - Shares overview: [#6440](https://github.com/owncloud/web/issues/6440) We've merged the three shares navigation items into one central "Shares" item, with a toggle to switch between the three different kinds of shares (incoming, outgoing, links). In the process, we have also renamed the "All files" page to the "Personal" page, indicating that this is the user's personal space since shares (and potentially other shared spaces) live elsewhere. https://github.com/owncloud/web/issues/6440 https://github.com/owncloud/web/issues/6570 https://github.com/owncloud/web/pull/6512 https://github.com/owncloud/web/pull/6573 * Enhancement - Implement people sharing for spaces: [#6455](https://github.com/owncloud/web/pull/6455) Spaces can now be shared with other people. This change specifically includes: * listing all members who have access to a space (possible for all space members) * adding members to a space and giving them dedicated roles (possible for managers only) * editing the role of members (possible for managers only) * removing members from a space (possible for managers only) https://github.com/owncloud/web/issues/6283 https://github.com/owncloud/web/pull/6455 https://github.com/owncloud/web/pull/6572 * Enhancement - Allow updating space quota: [#6477](https://github.com/owncloud/web/pull/6477) We have implemented a way to update the quota of a space https://github.com/owncloud/web/issues/6470 https://github.com/owncloud/web/pull/6477 * Enhancement - Design improvements: [#6492](https://github.com/owncloud/web/issues/6492) We've fixed various design glitches and improved the overall look-and-feel of the UI. https://github.com/owncloud/web/issues/6492 https://github.com/owncloud/web/issues/6555 https://github.com/owncloud/web/pulls/6584 * Enhancement - Polish ViewOptions: [#6492](https://github.com/owncloud/web/issues/6492) We've added an hover effect for ViewOptions buttons https://github.com/owncloud/web/issues/6492 https://github.com/owncloud/web/pull/6591 * Enhancement - Update the graph SDK: [#6519](https://github.com/owncloud/web/pull/6519) We've updated the graph SDK to include the "me"-endpoint. https://github.com/owncloud/web/pull/6519 * Enhancement - Load space images as preview: [#6529](https://github.com/owncloud/web/pull/6529) We've added a new logic which renders space images as preview to minimize data traffic https://github.com/owncloud/web/pull/6529 https://github.com/owncloud/web/pull/6558 * Enhancement - Implement the spaces permission concept: [#6531](https://github.com/owncloud/web/pull/6531) We've implemented the spaces permission concept and improved the code structure for further permission changes. https://github.com/owncloud/web/pull/6531 * Enhancement - Side bar nav tags: [#6540](https://github.com/owncloud/web/pull/6540) We have implemented a way to show a tag next to the sidebar navigation item link text https://github.com/owncloud/web/issues/6259 https://github.com/owncloud/web/pull/6540 * Enhancement - Update ODS to v13.0.0: [#6540](https://github.com/owncloud/web/pull/6540) We updated the ownCloud Design System to version 13.0.0. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Change - Default type of OcButton: https://github.com/owncloud/owncloud-design-system/pull/2009 - Change - Remove OcStatusIndicators from OcResource: https://github.com/owncloud/owncloud-design-system/pull/2014 - Enhancement - Redesign OcStatusIndicators: https://github.com/owncloud/owncloud-design-system/pull/2014 - Enhancement - Icons for drawio, ifc and odg resource types: https://github.com/owncloud/owncloud-design-system/pull/2005 - Enhancement - Apply size property to oc-tag: https://github.com/owncloud/owncloud-design-system/pull/2011 - Enhancement - Underline OcResourceName: https://github.com/owncloud/owncloud-design-system/pull/2019 - Enhancement - Configurable OcResource parentfolder name: https://github.com/owncloud/owncloud-design-system/pull/2029 - Enhancement - Polish OcSwitch: https://github.com/owncloud/owncloud-design-system/pull/2018 - Enhancement - Make filled primary OcButton use gradient background: https://github.com/owncloud/owncloud-design-system/pull/2036 - Bugfix - Disabled OcSelect background: https://github.com/owncloud/owncloud-design-system/pull/2008 - Bugfix - Icons/Thumbnails were only visible for clickable resources: https://github.com/owncloud/owncloud-design-system/pull/2007 - Bugfix - OcSelect transparent background: https://github.com/owncloud/owncloud-design-system/pull/2036 https://github.com/owncloud/web/pull/6540 https://github.com/owncloud/web/pull/6600 https://github.com/owncloud/web/pull/6584 https://github.com/owncloud/web/pull/6561 https://github.com/owncloud/owncloud-design-system/releases/tag/v13.0.0 * Enhancement - Add a watcher for the share panel of a space: [#6543](https://github.com/owncloud/web/pull/6543) We've added a watcher for the share panel of a space to ensure seamless navigation via the share indicator. https://github.com/owncloud/web/pull/6543 * Enhancement - Update the stored space after its members have been changed: [#6545](https://github.com/owncloud/web/pull/6545) We now update the stored space after its members have been changed. Also, the permission-object of a built space has been simplified in the course of this. https://github.com/owncloud/web/pull/6545 * Enhancement - Don't block account page while groups are loading: [#6547](https://github.com/owncloud/web/pull/6547) We don't show a loading state for the full account information page anymore while the group membership information is loading. Instead we only show a loading spinner for the group membership information, while the rest of the user information is available immediately. https://github.com/owncloud/web/pull/6547 * Enhancement - Contextmenu background hover: [#6553](https://github.com/owncloud/web/pull/6553) We've added a background hover color for contextmenu actions. https://github.com/owncloud/web/issues/6560 https://github.com/owncloud/web/pull/6553 https://github.com/owncloud/web/pull/6559 * Enhancement - Show space members in share panel for files inside a space: [#6554](https://github.com/owncloud/web/pull/6554) The space managers are now displayed in the sidebar for resources within a space. Also, space members are now sorted via role (managers first) and name. https://github.com/owncloud/web/issues/6283 https://github.com/owncloud/web/pull/6554 * Enhancement - Trash bin: [#6566](https://github.com/owncloud/web/pull/6566) We've improved the trash bin in general: * Add compatibility with owncloud-sdk 3.0.0-alpha 1 * Add a confirmation dialog while hitting the `Empty trash bin` button * Add trash bin for project spaces * Change personal trash bin route from `files/trash` to `files/trash/personal` https://github.com/owncloud/web/issues/6544 https://github.com/owncloud/web/issues/5974 https://github.com/owncloud/web/pull/6566 * Enhancement - Implement people sharing for resources within a space: [#6577](https://github.com/owncloud/web/pull/6577) Resources within a space can now be shared with other people. https://github.com/owncloud/web/issues/6283 https://github.com/owncloud/web/pull/6577 * Enhancement - Implement edit quota action in spaces overview: [#6598](https://github.com/owncloud/web/pull/6598) We've added the edit quota action to the space context menu in the spaces overview. https://github.com/owncloud/web/pull/6598 * Enhancement - Improve resource loading within spaces: [#6601](https://github.com/owncloud/web/pull/6601) We've improved the loading of resources within a space. This enhances performance and overall stability within spaces. * The loading task will determine if a space needs to be fetched or not. Route changes within a space do not require the space the be fetched again. This also ensures that the space image and readme won't be fetched when navigating into subfolders. * The space now gets set at the end of the loading task. This ensures that the space task has finished as soon as the image and readme get loaded. https://github.com/owncloud/web/pull/6601 * Enhancement - Trash bin breadcrumbs: [#6609](https://github.com/owncloud/web/pull/6609) We've improved the trash bin in general: * Add a breadcrumb for personal trash bin * Improve the breadcrumb for spaces trash bin, also add 'Navigate to space' action to context menu * Fix wrong page title in spaces trash bin https://github.com/owncloud/web/pull/6609 * Enhancement - Share inheritance indicators: [#6613](https://github.com/owncloud/web/pull/6613) We've implemented the share inheritance indicators in the share sidebar panel. They indicate whether a resource is shared indirectly via one of its parent folders. https://github.com/owncloud/web/issues/6528 https://github.com/owncloud/web/pull/6613 * Enhancement - App context route to query instead of params: [#6622](https://github.com/owncloud/web/pull/6622) We've moved app context information (where you get redirected when you close an app) into the query instead of a regular param. This relocates this information further to the back of the url where it's less confusing for users. https://github.com/owncloud/web/pull/6622 * Enhancement - Internet Explorer deprecation warning banner: [#6629](https://github.com/owncloud/web/pull/6629) We've removed some internal checks for the internet explorer browser since it's not officially supported anymore in favor of a warning banner that informs the user that the web app may not work properly if they use it with IE. https://github.com/owncloud/web/pull/6629 * Enhancement - Move NoContentMessage component: [#6643](https://github.com/owncloud/web/pull/6643) We've moved the NoContentMessage component into the web-pkg package to ease the use in other packages https://github.com/owncloud/web/pull/6643 * Enhancement - Move ListLoader component: [#6644](https://github.com/owncloud/web/pull/6644) We've moved the ListLoader component into the web-pkg package and give it a more general name, to ease the use in other packages. https://github.com/owncloud/web/pull/6644 Changelog for ownCloud Web [5.2.0] (2022-03-03) ======================================= The following sections list the changes in ownCloud web 5.2.0 relevant to ownCloud admins and users. [5.2.0]: https://github.com/owncloud/web/compare/v5.1.0...v5.2.0 Summary ------- * Bugfix - Update file list when creating new files: [#5530](https://github.com/owncloud/web/issues/5530) * Bugfix - Breadcrumb 'All Files' link: [#6467](https://github.com/owncloud/web/pull/6467) * Bugfix - Load capabilities for password protected public links: [#6471](https://github.com/owncloud/web/pull/6471) * Bugfix - No selection info right sidebar: [#6502](https://github.com/owncloud/web/issues/6502) * Enhancement - Redesign FilesTable: [#6207](https://github.com/owncloud/web/issues/6207) * Enhancement - Redesign OcBreadcrumb: [#6218](https://github.com/owncloud/web/issues/6218) * Enhancement - Redesign create and upload buttons: [#6279](https://github.com/owncloud/web/issues/6279) * Enhancement - Option to enable Vue history mode: [#6363](https://github.com/owncloud/web/issues/6363) * Enhancement - Run web as oc10 sidecar: [#6363](https://github.com/owncloud/web/issues/6363) * Enhancement - Allow updating space image and description: [#6410](https://github.com/owncloud/web/pull/6410) * Enhancement - Implement the right sidebar for spaces: [#6437](https://github.com/owncloud/web/pull/6437) * Enhancement - Update ODS to v12.2.1: [#6450](https://github.com/owncloud/web/pull/6450) * Enhancement - Display search results within files app: [#6496](https://github.com/owncloud/web/issues/6496) * Enhancement - Outsource space readme content modal: [#6509](https://github.com/owncloud/web/pull/6509) * Enhancement - Add quick rename button: [#6645](https://github.com/owncloud/web/pull/6645) Details ------- * Bugfix - Update file list when creating new files: [#5530](https://github.com/owncloud/web/issues/5530) We update the file list now when creating a file in an editor that openes in a new tab (like draw.io). https://github.com/owncloud/web/issues/5530 https://github.com/owncloud/web/pull/6358 * Bugfix - Breadcrumb 'All Files' link: [#6467](https://github.com/owncloud/web/pull/6467) The `All Files` link in the breadcrumb now always point to the root of the personal storage home instead of the optional homeFolder. https://github.com/owncloud/web/issues/6327 https://github.com/owncloud/web/pull/6467 * Bugfix - Load capabilities for password protected public links: [#6471](https://github.com/owncloud/web/pull/6471) We've enabled capability loading for password protected public links. https://github.com/owncloud/web/issues/5863 https://github.com/owncloud/web/pull/6471 * Bugfix - No selection info right sidebar: [#6502](https://github.com/owncloud/web/issues/6502) We fixed that the right sidebar was not showing the "no selection" info panel anymore in the root of "All files". In addition we also use the same "no selection" info panel now in the root nodes of public links. https://github.com/owncloud/web/issues/6502 https://github.com/owncloud/web/issues/6182 https://github.com/owncloud/web/pull/6505 * Enhancement - Redesign FilesTable: [#6207](https://github.com/owncloud/web/issues/6207) We've redesigned the QuickActions visually and updated theming to fit the redesign https://github.com/owncloud/web/issues/6207 https://github.com/owncloud/web/pull/6450 * Enhancement - Redesign OcBreadcrumb: [#6218](https://github.com/owncloud/web/issues/6218) We've adjustet the look of the OcBreadcrumb to fit the Redesign https://github.com/owncloud/web/issues/6218 https://github.com/owncloud/web/pull/6472 * Enhancement - Redesign create and upload buttons: [#6279](https://github.com/owncloud/web/issues/6279) We have separated the "Create new file/folder" and "Upload" actions above the files list into two separate buttons, also using the new resource type icons for more consistency. https://github.com/owncloud/web/issues/6279 https://github.com/owncloud/web/pull/6358 https://github.com/owncloud/web/pull/6500 * Enhancement - Option to enable Vue history mode: [#6363](https://github.com/owncloud/web/issues/6363) We've added the option to use vue's history mode. All configuration is done automatically by the system. To enable it, add a `<base href="PATH">` header tag to `index.html`, `oidc-callback.html` and `oidc-silent-redirect.html`. Adding `<base>` is not needed for ocis. https://github.com/owncloud/web/issues/6363 https://github.com/owncloud/web/issues/6277 * Enhancement - Run web as oc10 sidecar: [#6363](https://github.com/owncloud/web/issues/6363) We've added the option to run web in oc10 sidecar mode. Copy `config/config.json.sample-oc10` to `config/config.json`, run `yarn server` and then `docker compose up oc10`. https://github.com/owncloud/web/issues/6363 * Enhancement - Allow updating space image and description: [#6410](https://github.com/owncloud/web/pull/6410) We have implemented multiple ways to update the image and description of a space. https://github.com/owncloud/web/issues/6377 https://github.com/owncloud/web/pull/6410 * Enhancement - Implement the right sidebar for spaces: [#6437](https://github.com/owncloud/web/pull/6437) The right sidebar for a space functions similar to the files sidebar and gives the user basic information and actions for the current space. https://github.com/owncloud/web/issues/6284 https://github.com/owncloud/web/pull/6437 * Enhancement - Update ODS to v12.2.1: [#6450](https://github.com/owncloud/web/pull/6450) We updated the ownCloud Design System to version 12.2.1. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Enhancement - Apply outstanding background color to oc-card: https://github.com/owncloud/owncloud-design-system/pull/1974 - Enhancement - Redesign OcBreadcrumb: https://github.com/owncloud/web/issues/6218 - Enhancement - Redesign files table related components: https://github.com/owncloud/owncloud-design-system/pull/1958 https://github.com/owncloud/web/pull/6450 https://github.com/owncloud/web/pull/6472 https://github.com/owncloud/web/pull/6505 https://github.com/owncloud/owncloud-design-system/releases/tag/v12.2.1 * Enhancement - Display search results within files app: [#6496](https://github.com/owncloud/web/issues/6496) We've updated the "Search in all files" view to be displayed within the files app instead of showing them in a dedicated extension. This way, users don't loose their context and can still use sidebar. https://github.com/owncloud/web/issues/6496 https://github.com/owncloud/web/issues/6507 https://github.com/owncloud/web/pulls/6511 * Enhancement - Outsource space readme content modal: [#6509](https://github.com/owncloud/web/pull/6509) We've added a new component for space readme content modal and extracted duplicated code. https://github.com/owncloud/web/pull/6509 * Enhancement - Add quick rename button: [#6645](https://github.com/owncloud/web/pull/6645) We've added a button for quick editing a resource name https://github.com/owncloud/web/issues/6626 https://github.com/owncloud/web/pull/6645 Changelog for ownCloud Web [5.1.0] (2022-02-18) ======================================= The following sections list the changes in ownCloud web 5.1.0 relevant to ownCloud admins and users. [5.1.0]: https://github.com/owncloud/web/compare/v5.0.0...v5.1.0 Summary ------- * Bugfix - App compatibility: [#6439](https://github.com/owncloud/web/pull/6439) * Bugfix - Fix closing apps opened from search: [#6444](https://github.com/owncloud/web/pull/6444) * Enhancement - Add the graph client to the client service: [#6425](https://github.com/owncloud/web/pull/6425) * Enhancement - Use the Vue store for spaces: [#6427](https://github.com/owncloud/web/pull/6427) * Enhancement - Enable context menu for search results: [#6445](https://github.com/owncloud/web/pull/6445) Details ------- * Bugfix - App compatibility: [#6439](https://github.com/owncloud/web/pull/6439) We've made sure that apps that were not made compatible with ownCloud Web 5.0.0 don't run into a non-rendered state. https://github.com/owncloud/web/pull/6439 * Bugfix - Fix closing apps opened from search: [#6444](https://github.com/owncloud/web/pull/6444) We've made sure that closing apps that were opened from search navigates properly back to the original search. https://github.com/owncloud/web/pull/6444 * Enhancement - Add the graph client to the client service: [#6425](https://github.com/owncloud/web/pull/6425) This way, the client for the graph API can easily be fetched when needed. https://github.com/owncloud/web/pull/6425 * Enhancement - Use the Vue store for spaces: [#6427](https://github.com/owncloud/web/pull/6427) Using the store for spaces integrates them seamlessly in our ecosystem and makes it easier to develop spaces even further. E.g. the properties of a space can now be altered without fetching all spaces again. This was achieved by introducing a "buildSpace" method, that transforms a space into a more generic resource object (just like regular files or shares). https://github.com/owncloud/web/pull/6427 * Enhancement - Enable context menu for search results: [#6445](https://github.com/owncloud/web/pull/6445) We've enabled a rudimentary context menu for search results. https://github.com/owncloud/web/pull/6445 Changelog for ownCloud Web [5.0.0] (2022-02-14) ======================================= The following sections list the changes in ownCloud web 5.0.0 relevant to ownCloud admins and users. [5.0.0]: https://github.com/owncloud/web/compare/v4.9.0...v5.0.0 Summary ------- * Bugfix - Scrolling inside Markdown Editor: [#4606](https://github.com/owncloud/web/issues/4606) * Bugfix - Open folder from context menu: [#6187](https://github.com/owncloud/web/issues/6187) * Bugfix - Focus management in topbar dropdowns: [#6213](https://github.com/owncloud/web/pull/6213) * Bugfix - Application config not available to application: [#6296](https://github.com/owncloud/web/issues/6296) * Bugfix - Breadcrumbs in different views: [#6326](https://github.com/owncloud/web/issues/6326) * Bugfix - Add and remove to/from favorites: [#6328](https://github.com/owncloud/web/issues/6328) * Bugfix - Jumpy batch actions: [#6360](https://github.com/owncloud/web/pull/6360) * Bugfix - Failed move by drag'n'drop doesn't show the resource name in the error: [#6412](https://github.com/owncloud/web/issues/6412) * Change - Remove UiKit: [#6103](https://github.com/owncloud/web/issues/6103) * Change - Use remixicons for redesign: [#6142](https://github.com/owncloud/web/pull/6142) * Change - Rename theme logo sidebar to topbar: [#6349](https://github.com/owncloud/web/pull/6349) * Change - Dropped editor route whitelist: [#6381](https://github.com/owncloud/web/pull/6381) * Change - Drop support for Internet Explorer and other dead browsers: [#6386](https://github.com/owncloud/web/pull/6386) * Change - Enforce extensions to always display the ui-header: [#6401](https://github.com/owncloud/web/pull/6401) * Enhancement - File creation via app provider: [#5890](https://github.com/owncloud/web/pull/5890) * Enhancement - Persist chosen sorting options: [#5930](https://github.com/owncloud/web/issues/5930) * Enhancement - File selection simplification: [#5967](https://github.com/owncloud/web/issues/5967) * Enhancement - Redesign main layout: [#6036](https://github.com/owncloud/web/issues/6036) * Enhancement - Redirect to IDP when opening apps from bookmark: [#6045](https://github.com/owncloud/web/issues/6045) * Enhancement - Update ODS to v12.1.0: [#6086](https://github.com/owncloud/web/pull/6086) * Enhancement - Redesign appswitcher: [#6102](https://github.com/owncloud/web/issues/6102) * Enhancement - Drawio improvements: [#6125](https://github.com/owncloud/web/pull/6125) * Enhancement - Add URL handling to markdown editor: [#6134](https://github.com/owncloud/web/pull/6134) * Enhancement - Reorganize urls: [#6137](https://github.com/owncloud/web/pull/6137) * Enhancement - Implement spaces list: [#6199](https://github.com/owncloud/web/pull/6199) * Enhancement - Lazy resource table cells: [#6204](https://github.com/owncloud/web/pull/6204) * Enhancement - Show parent folder for resources: [#6226](https://github.com/owncloud/web/pull/6226) * Enhancement - Darkmode theme switcher: [#6242](https://github.com/owncloud/web/issues/6242) * Enhancement - Add spaces actions: [#6254](https://github.com/owncloud/web/pull/6254) * Enhancement - Add default sorting to the spaces list: [#6262](https://github.com/owncloud/web/pull/6262) * Enhancement - Redesigned user menu: [#6272](https://github.com/owncloud/web/pull/6272) * Enhancement - Implement spaces front page: [#6287](https://github.com/owncloud/web/pull/6287) * Enhancement - Resource-specific icons in ResourceTable: [#6295](https://github.com/owncloud/web/pull/6295) * Enhancement - Update SDK: [#6309](https://github.com/owncloud/web/pull/6309) * Enhancement - Context Route Params: [#6331](https://github.com/owncloud/web/pull/6331) Details ------- * Bugfix - Scrolling inside Markdown Editor: [#4606](https://github.com/owncloud/web/issues/4606) Scrolling inside the Markdown Editor was broken, before the redesign by allowing the user to scroll the appBar out of the viewport, and after the redesign by cutting a potentially long preview off at the bottom. This has been addressed by allowing to scroll the preview content. https://github.com/owncloud/web/issues/4606 https://github.com/owncloud/web/pull/6386 * Bugfix - Open folder from context menu: [#6187](https://github.com/owncloud/web/issues/6187) We fixed a bug in the context menu that prevented correct folder navigation ("Open folder"). https://github.com/owncloud/web/issues/6187 https://github.com/owncloud/web/pull/6232 * Bugfix - Focus management in topbar dropdowns: [#6213](https://github.com/owncloud/web/pull/6213) We've fixed issues with focus management upon opening and closing the dropdown menus in the ApplicationSwitcher and Usermenu. https://github.com/owncloud/web/pull/6213 * Bugfix - Application config not available to application: [#6296](https://github.com/owncloud/web/issues/6296) We fixed a bug in providing config to external apps like draw-io. https://github.com/owncloud/web/issues/6296 https://github.com/owncloud/web/pull/6298 * Bugfix - Breadcrumbs in different views: [#6326](https://github.com/owncloud/web/issues/6326) The files app had the breadcrumbs broken in the various views. We fixed that by actively watching the current route now for updates of some active route helpers. https://github.com/owncloud/web/issues/6326 https://github.com/owncloud/web/pull/6370 * Bugfix - Add and remove to/from favorites: [#6328](https://github.com/owncloud/web/issues/6328) We've fixed bugs related to adding and removing files to/from favorites: - "favorite" star button in the right sidebar of the files app was not being updated when the favorite-state was modified through a click on the star icon - toggling the favorites state of the current folder was broken (via both context menu on current folder and right sidebar without a file selection) https://github.com/owncloud/web/issues/6328 https://github.com/owncloud/web/pull/6330 * Bugfix - Jumpy batch actions: [#6360](https://github.com/owncloud/web/pull/6360) We fixed a bug that made the batch actions move up and down a few pixels every time they appeared/disappeared. https://github.com/owncloud/web/pull/6360 * Bugfix - Failed move by drag'n'drop doesn't show the resource name in the error: [#6412](https://github.com/owncloud/web/issues/6412) We fixed the error message when moving an item via drag-and-drop failed, now it shows the correct name of the item. https://github.com/owncloud/web/issues/6412 * Change - Remove UiKit: [#6103](https://github.com/owncloud/web/issues/6103) The ownCloud design system has dropped the underlying UiKit library, which we've also removed from the web codebase to reduce the overall bundle size. https://github.com/owncloud/web/issues/6103 https://github.com/owncloud/web/pull/6213 * Change - Use remixicons for redesign: [#6142](https://github.com/owncloud/web/pull/6142) We've switched the iconset to remixicons to fit the new design. https://github.com/owncloud/web/issues/6100 https://github.com/owncloud/web/pull/6142 https://github.com/owncloud/web/pull/6270 * Change - Rename theme logo sidebar to topbar: [#6349](https://github.com/owncloud/web/pull/6349) With the redesign, the theme-able logo has moved from the sidebar to the topbar. Accordingly, within a theme, the key for it has been renamed from `sidebar` to `topbar`. https://github.com/owncloud/web/pull/6349 https://github.com/owncloud/web/pull/6386 * Change - Dropped editor route whitelist: [#6381](https://github.com/owncloud/web/pull/6381) We've dropped the `routes` key from file extension handlers defined by editor apps. This was used as a whitelist for being rendered as available editor in the files app. The only usage of this was for disabling editors in the trashbin. We've moved that part of the business logic to the files app itself and from now on ignore the `routes` key from editors. https://github.com/owncloud/web/pull/6381 * Change - Drop support for Internet Explorer and other dead browsers: [#6386](https://github.com/owncloud/web/pull/6386) Even though it was never officially supported, we were still checking for certain dead browsers. This has now been dropped. https://github.com/owncloud/web/pull/6386 * Change - Enforce extensions to always display the ui-header: [#6401](https://github.com/owncloud/web/pull/6401) We've enforced the ui to always render the header for third party extensions. From now on extensions are not able to disable the header anymore. https://github.com/owncloud/web/pull/6401 * Enhancement - File creation via app provider: [#5890](https://github.com/owncloud/web/pull/5890) For oCIS deployments the integration of the app provider for editing files was enhanced by adding support for the app provider capabilities to create files as well. https://github.com/owncloud/web/pull/5890 https://github.com/owncloud/web/pull/6312 * Enhancement - Persist chosen sorting options: [#5930](https://github.com/owncloud/web/issues/5930) We now persist the chosen sorting options per view into the local storage of the browser. This means, that when e.g. the `All files` page is sorted by last modification date and the `Share with others` page is sorted by share receivers, the web UI remembers those choices for example across browser tabs or during navigation in the folder tree. https://github.com/owncloud/web/issues/5930 https://github.com/owncloud/web/pull/6290 * Enhancement - File selection simplification: [#5967](https://github.com/owncloud/web/issues/5967) When creating a file or folder the created item is neither selected nor scrolled to anymore. This enhances usability because the selection model doesn't get altered to a single item selection anymore and allows to create items and adding them to a preselected set of resources. It also fixes an accessibility violation as the selection model (and with it the current page in it's entirety) is not altered anymore without announcement. https://github.com/owncloud/web/issues/5967 https://github.com/owncloud/web/pull/6208 * Enhancement - Redesign main layout: [#6036](https://github.com/owncloud/web/issues/6036) We've started to implement the redesign by adjusting the sidebar, topbar and appswitcher. While doing so, we also removed the `vue2-touch-events` dependency. https://github.com/owncloud/web/issues/6036 https://github.com/owncloud/web/pull/6086 https://github.com/owncloud/web/pull/6222 https://github.com/owncloud/web/pull/6228 https://github.com/owncloud/web/pull/6360 https://github.com/owncloud/web/pull/6365 https://github.com/owncloud/web/pull/6366 https://github.com/owncloud/web/pull/6386 * Enhancement - Redirect to IDP when opening apps from bookmark: [#6045](https://github.com/owncloud/web/issues/6045) We've expanded the check for authentication requirements to the referrer of the current URL. As a result an app that doesn't necessarily require authentication can still require authentication based on the file context it was opened in. This is especially important for situations where an app is opened for a file from a bookmark, so that we cannot rely on the user already having an authenticated session. https://github.com/owncloud/web/issues/6045 https://github.com/owncloud/web/issues/6069 https://github.com/owncloud/web/pull/6314 * Enhancement - Update ODS to v12.1.0: [#6086](https://github.com/owncloud/web/pull/6086) We updated the ownCloud Design System to version 12.1.0. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Change - Drop Internet Explorer support: https://github.com/owncloud/owncloud-design-system/pull/1909 - Change - Do not sort in OcTable: https://github.com/owncloud/owncloud-design-system/pull/1825 - Change - Pass folderLink to OcResource component: https://github.com/owncloud/owncloud-design-system/pull/1913 - Change - Remove OcAppSideBar component: https://github.com/owncloud/owncloud-design-system/pull/1810 - Change - Remove OcAppBar component: https://github.com/owncloud/owncloud-design-system/pull/1810 - Change - Remove implicit ODS registration: https://github.com/owncloud/owncloud-design-system/pull/1848 - Change - Remove oc-table-files from ods: https://github.com/owncloud/owncloud-design-system/pull/1817 - Change - Remove OcGrid options: https://github.com/owncloud/owncloud-design-system/pull/1658 - Change - Move OcSidebarNav and OcSidebarNavItem to web: https://github.com/owncloud/web/issues/6036 - Change - Remove UiKit: https://github.com/owncloud/owncloud-design-system/pull/1658 - Change - Remove unused props for unstyled components: https://github.com/owncloud/owncloud-design-system/pull/1795 - Change - Use remixicons for redesign: https://github.com/owncloud/owncloud-design-system/pull/1826 - Enhancement - Make Vue-Composition-API available: https://github.com/owncloud/owncloud-design-system/pull/1848 - Enhancement - Export mappings of types, icons and colors of resources: https://github.com/owncloud/owncloud-design-system/pull/1920 - Enhancement - Fix OcAvatar line-height: https://github.com/owncloud/owncloud-design-system/pull/1810 - Enhancement - Add option to render table cells lazy: https://github.com/owncloud/owncloud-design-system/pull/1848 - Enhancement - Make OcDrop rounded: https://github.com/owncloud/owncloud-design-system/pull/1881 - Enhancement - Change background color of OcDrop: https://github.com/owncloud/owncloud-design-system/pull/1919 - Enhancement - Improve OcList: https://github.com/owncloud/owncloud-design-system/pull/1881 - Enhancement - Show path / parent folder to distinguish files: https://github.com/owncloud/web/issues/5953 - Enhancement - Redesign Filetype icons: https://github.com/owncloud/web/issues/6278 - Enhancement - Adjust OcSearchBar to new design: https://github.com/owncloud/owncloud-design-system/pull/1810/ - Enhancement - Sizes: https://github.com/owncloud/owncloud-design-system/pull/1858 - Enhancement - Add svg icon for spaces: https://github.com/owncloud/owncloud-design-system/pull/1846 - Enhancement - OcTable header alignment: https://github.com/owncloud/owncloud-design-system/pull/1922 - Enhancement - Use Roboto font: https://github.com/owncloud/owncloud-design-system/pull/1876 - Enhancement - Redesign OcModal: https://github.com/owncloud/owncloud-design-system/pull/1953 - Bugfix - Missing OcDrop shadow: https://github.com/owncloud/owncloud-design-system/pull/1926 - Bugfix - OcNotification positioning: https://github.com/owncloud/owncloud-design-system/pull/1658 - Bugfix - Rename GhostElement: https://github.com/owncloud/owncloud-design-system/pull/1845 - Bugfix - OcTooltip isn't reactive: https://github.com/owncloud/owncloud-design-system/pull/1863 - Bugfix - Background-primary-gradient border: https://github.com/owncloud/web/issues/6383 https://github.com/owncloud/web/pull/6086 https://github.com/owncloud/web/pull/6142 https://github.com/owncloud/web/pull/6213 https://github.com/owncloud/web/pull/6228 https://github.com/owncloud/web/pull/6240 https://github.com/owncloud/web/pull/6295 https://github.com/owncloud/web/pull/6360 https://github.com/owncloud/web/pull/6368 https://github.com/owncloud/web/pull/6418 https://github.com/owncloud/owncloud-design-system/releases/tag/v12.0.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v12.1.0 * Enhancement - Redesign appswitcher: [#6102](https://github.com/owncloud/web/issues/6102) We've redesigned the appswitcher to follow the new design and highlight the currently used app. https://github.com/owncloud/web/issues/6102 https://github.com/owncloud/web/pull/6349 * Enhancement - Drawio improvements: [#6125](https://github.com/owncloud/web/pull/6125) - Honor the autosave configuration, and actually save - Show error messages to the user, currently all failures are silent https://github.com/owncloud/web/pull/6125 * Enhancement - Add URL handling to markdown editor: [#6134](https://github.com/owncloud/web/pull/6134) We made the markdown editor URL aware. This enables the close button to return to the source folder of the file being edited and also enables opening the editor again on page reload. https://github.com/owncloud/web/issues/5928 https://github.com/owncloud/web/pull/6134 * Enhancement - Reorganize urls: [#6137](https://github.com/owncloud/web/pull/6137) With the [global-url-format ADR](https://github.com/owncloud/ocis/blob/master/docs/ocis/adr/0011-global-url-format.md) we've decided how the internal and external URL schema should look like. To have a human understandable structure we've decided to also rethink how the overall structure should look like. This PR introduces the new schema and takes care that existing routes still work by redirecting them. https://github.com/owncloud/web/issues/6085 https://github.com/owncloud/web/pull/6137 https://github.com/owncloud/ocis/blob/master/docs/ocis/adr/0011-global-url-format.md * Enhancement - Implement spaces list: [#6199](https://github.com/owncloud/web/pull/6199) We added a new route that lists all available spaces of type "project". https://github.com/owncloud/web/issues/6104 https://github.com/owncloud/web/pull/6199 https://github.com/owncloud/web/pull/6399 * Enhancement - Lazy resource table cells: [#6204](https://github.com/owncloud/web/pull/6204) ODS introduced lazy loadable table cells, this feature is now also part of web and enabled by default. To disable the feature set the displayResourcesLazy option to false. https://github.com/owncloud/web/pull/6204 * Enhancement - Show parent folder for resources: [#6226](https://github.com/owncloud/web/pull/6226) We've added a visual hint for the parent folder of a resource in cases where it could be usefull. https://github.com/owncloud/web/issues/5953 https://github.com/owncloud/web/pull/6226 * Enhancement - Darkmode theme switcher: [#6242](https://github.com/owncloud/web/issues/6242) We've added a theme switcher and now initialize the user interface theme based on the user's browser preferences. It also gets saved to the localstorage of the browser so the user's preference gets saved locally. https://github.com/owncloud/web/issues/6242 https://github.com/owncloud/web/pull/6240 https://github.com/owncloud/web/pull/6350 * Enhancement - Add spaces actions: [#6254](https://github.com/owncloud/web/pull/6254) We added the following actions to the spaces overview: * Create a new space * Rename a space * Delete a space https://github.com/owncloud/web/issues/6255 https://github.com/owncloud/web/pull/6254 * Enhancement - Add default sorting to the spaces list: [#6262](https://github.com/owncloud/web/pull/6262) Spaces will now be sorted by their name by default. https://github.com/owncloud/web/issues/6253 https://github.com/owncloud/web/pull/6262 * Enhancement - Redesigned user menu: [#6272](https://github.com/owncloud/web/pull/6272) We've redesigned the user menu. It now also features more detailed information about the user's quota and how much space they have left. https://github.com/owncloud/web/issues/6101 https://github.com/owncloud/web/pull/6272 * Enhancement - Implement spaces front page: [#6287](https://github.com/owncloud/web/pull/6287) Each space can now be entered from within the spaces list. The space front page will then display all the space contents, plus an image and a readme file if set. Basic actions like uploading files, creating folders, renaming resources, and more. were also implemented in the course of this. https://github.com/owncloud/web/issues/6271 https://github.com/owncloud/web/pull/6287 * Enhancement - Resource-specific icons in ResourceTable: [#6295](https://github.com/owncloud/web/pull/6295) We've added FontAwesome icons for the different resource types, each getting their respective resource type color from the ODS definition. https://github.com/owncloud/web/pull/6295 https://github.com/owncloud/web/pull/6387 * Enhancement - Update SDK: [#6309](https://github.com/owncloud/web/pull/6309) We've updated the ownCloud SDK to version 2.0.0. - Change - Drop Internet Explorer support: https://github.com/owncloud/owncloud-sdk/pull/966 - Change - Pass full file or directory path to methods of Files class: https://github.com/owncloud/owncloud-sdk/pull/971 - Change - Remove webdav v1 api support: https://github.com/owncloud/owncloud-sdk/pull/962 - Change - Use peerDependencies instead of dependencies: https://github.com/owncloud/owncloud-sdk/pull/979 - Bugfix - Graceful reject for failing network request in OCS: https://github.com/owncloud/owncloud-sdk/pull/977 https://github.com/owncloud/web/pull/6309 https://github.com/owncloud/web/pull/6287 https://github.com/owncloud/owncloud-sdk/releases/tag/v1.1.2 https://github.com/owncloud/owncloud-sdk/releases/tag/v2.0.0 * Enhancement - Context Route Params: [#6331](https://github.com/owncloud/web/pull/6331) We now add params of the source context route to the query of app routes and convert them back to params when routing back to the origin - this is necessary to properly navigate back from opening files in extensions or in search results, throughout personal, public or, in the future, spaces views. https://github.com/owncloud/web/issues/6390 https://github.com/owncloud/web/pull/6331 Changelog for ownCloud Web [4.9.0] (2021-12-24) ======================================= The following sections list the changes in ownCloud web 4.9.0 relevant to ownCloud admins and users. [4.9.0]: https://github.com/owncloud/web/compare/v4.8.0...v4.9.0 Summary ------- * Enhancement - Print version numbers: [#5954](https://github.com/owncloud/web/issues/5954) Details ------- * Enhancement - Print version numbers: [#5954](https://github.com/owncloud/web/issues/5954) The package version of the web UI and the version of the backend (if available) now get printed to the browser console and get set as meta generator tag in the html head. This makes it possible to easily reference versions in bug reports. https://github.com/owncloud/web/issues/5954 https://github.com/owncloud/web/pull/6190 Changelog for ownCloud Web [4.8.0] (2021-12-22) ======================================= The following sections list the changes in ownCloud web 4.8.0 relevant to ownCloud admins and users. [4.8.0]: https://github.com/owncloud/web/compare/v4.7.0...v4.8.0 Summary ------- * Bugfix - Sort before pagination: [#5687](https://github.com/owncloud/web/issues/5687) * Bugfix - Editor default handling: [#6186](https://github.com/owncloud/web/pull/6186) * Enhancement - Edit people shares without changing the panel: [#6039](https://github.com/owncloud/web/pull/6039) * Enhancement - Simplify people sharing sidebar: [#6039](https://github.com/owncloud/web/pull/6039) * Enhancement - Respect share max, min and enforced expiration date: [#6176](https://github.com/owncloud/web/pull/6176) Details ------- * Bugfix - Sort before pagination: [#5687](https://github.com/owncloud/web/issues/5687) We've extracted the sorting logic from the [OcTable component](https://owncloud.design/#/oC%20Components/OcTable) and moved it to the data preprocessing steps in web. This way we won't sort the current page anymore, but sort the whole data of the current folder and then only show the current page from that sorted data. https://github.com/owncloud/web/issues/5687 https://github.com/owncloud/web/pull/6136 * Bugfix - Editor default handling: [#6186](https://github.com/owncloud/web/pull/6186) Editor apps that don't provide the information about whether or not they are a default editor were not recognized as default editors when left-clicking a file in the file list. We've changed the default behaviour so that editors are capable of being the default editor unless explicitly disabled. https://github.com/owncloud/web/pull/6186 * Enhancement - Edit people shares without changing the panel: [#6039](https://github.com/owncloud/web/pull/6039) We have reworked the full list view of sharees in the right sidebar for better overview and faster editing. https://github.com/owncloud/web/issues/5763 https://github.com/owncloud/web/pull/6039 * Enhancement - Simplify people sharing sidebar: [#6039](https://github.com/owncloud/web/pull/6039) We have reworked the people sharing sidebar to not be split into show/edit/create panels. The create form now is fixed to the top with the sharees list below and editing happening in-line. https://github.com/owncloud/web/issues/5923 https://github.com/owncloud/web/issues/5608 https://github.com/owncloud/web/issues/5797 https://github.com/owncloud/web/pull/6039 * Enhancement - Respect share max, min and enforced expiration date: [#6176](https://github.com/owncloud/web/pull/6176) If the expiration date max and/or enforcement is supported (defined by the capabilities) the UI now handles the different cases and respects the backend settings. In oc10 there are options to enforce the maximum available date for group and user shares, this is now considered in the UI and updates dynamically in both cases. https://github.com/owncloud/web/pull/6176 https://github.com/owncloud/web/pull/6039 Changelog for ownCloud Web [4.7.0] (2021-12-16) ======================================= The following sections list the changes in ownCloud web 4.7.0 relevant to ownCloud admins and users. [4.7.0]: https://github.com/owncloud/web/compare/v4.6.0...v4.7.0 Summary ------- * Bugfix - Double escaping in progress bar: [#4214](https://github.com/owncloud/web/issues/4214) * Bugfix - Open in browser for public files: [#4615](https://github.com/owncloud/web/issues/4615) * Bugfix - File renaming: [#4893](https://github.com/owncloud/web/issues/4893) * Bugfix - Context for dates in SideBar: [#5068](https://github.com/owncloud/web/issues/5068) * Bugfix - Extension casing: [#5339](https://github.com/owncloud/web/issues/5339) * Bugfix - Do not scroll on apps open in app provider: [#5960](https://github.com/owncloud/web/issues/5960) * Bugfix - Show extension image: [#5985](https://github.com/owncloud/web/pull/5985) * Bugfix - Hidden files hidden by default: [#5985](https://github.com/owncloud/web/pull/5985) * Bugfix - Order extensions and default: [#5985](https://github.com/owncloud/web/pull/5985) * Bugfix - Show context menu for all file extensions: [#6002](https://github.com/owncloud/web/issues/6002) * Bugfix - Inconsistencies in share expiry dates: [#6084](https://github.com/owncloud/web/pull/6084) * Bugfix - User email attribute initialization: [#6118](https://github.com/owncloud/web/pull/6118) * Bugfix - Contextmenu on public links: [#6123](https://github.com/owncloud/web/issues/6123) * Bugfix - Ensure route config is honored for new file handlers: [#6135](https://github.com/owncloud/web/pull/6135) * Enhancement - Build options: [#5985](https://github.com/owncloud/web/pull/5985) * Enhancement - Show feedback on startup: [#5985](https://github.com/owncloud/web/pull/5985) * Enhancement - Show errors when failing to open app in app provider: [#6003](https://github.com/owncloud/web/pull/6003) * Enhancement - Adopt oc-table-files from ods: [#6106](https://github.com/owncloud/web/pull/6106) * Enhancement - Update ODS to v12.0.0-alpha1: [#6106](https://github.com/owncloud/web/pull/6106) * Enhancement - MarkdownEditor and MediaViewer can be default: [#6148](https://github.com/owncloud/web/pull/6148) Details ------- * Bugfix - Double escaping in progress bar: [#4214](https://github.com/owncloud/web/issues/4214) We fixed file names with special chars not being properly displayed in the upload progressbar. https://github.com/owncloud/web/issues/4214 https://github.com/owncloud/web/pull/6131 * Bugfix - Open in browser for public files: [#4615](https://github.com/owncloud/web/issues/4615) We fixed opening publicly shared files in the browser. https://github.com/owncloud/web/issues/4615 https://github.com/owncloud/web/pull/6133 * Bugfix - File renaming: [#4893](https://github.com/owncloud/web/issues/4893) We fixed the displayed file name not being properly updated in files list and sidebar after renaming. https://github.com/owncloud/web/issues/4893 https://github.com/owncloud/web/pull/6114 * Bugfix - Context for dates in SideBar: [#5068](https://github.com/owncloud/web/issues/5068) We fixed dates in sidebar file info having no context. The sidebar is either showing the last modification date or the deletion date. Before this change it wasn't obvious what kind of date was showing. Especially when the file list was showing a completely different date (e.g., a share date) it was confusing to the user to see a possibly different date here without explanation. https://github.com/owncloud/web/issues/5068 https://github.com/owncloud/web/pull/6119 * Bugfix - Extension casing: [#5339](https://github.com/owncloud/web/issues/5339) We fixed file extensions always being shown in lowercase. https://github.com/owncloud/web/issues/5339 https://github.com/owncloud/web/pull/6117 * Bugfix - Do not scroll on apps open in app provider: [#5960](https://github.com/owncloud/web/issues/5960) Apps opened from the app provider were taking more than the window size, prompting the use of the scrollbar. https://github.com/owncloud/web/issues/5960 https://github.com/owncloud/web/pull/6003 * Bugfix - Show extension image: [#5985](https://github.com/owncloud/web/pull/5985) Allow extensions to set an image as its logo, instead of an icon. If `img` is set, it will take precedence over `icon`. https://github.com/owncloud/web/pull/5985 * Bugfix - Hidden files hidden by default: [#5985](https://github.com/owncloud/web/pull/5985) Hide hidden files (files started with ".") by default, similar to oc10 https://github.com/owncloud/web/pull/5985 * Bugfix - Order extensions and default: [#5985](https://github.com/owncloud/web/pull/5985) Ensure the default extensions are displayed first. Ensure that extensions can be set as default or not. https://github.com/owncloud/web/pull/5985 * Bugfix - Show context menu for all file extensions: [#6002](https://github.com/owncloud/web/issues/6002) The context menu was failing to build for file extensions that did not have a match in the apps from the app provider. https://github.com/owncloud/web/issues/6002 https://github.com/owncloud/web/pull/6003 * Bugfix - Inconsistencies in share expiry dates: [#6084](https://github.com/owncloud/web/pull/6084) * Share expiry dates now always refer to the end of the given day. This change allows users to select the current day as expiry date. * Displayed expiry dates have been aligned to ensure their consistency. * Existing expiry dates for public links can now be removed again. * We now use the Luxon `DateTime` object more consistently across the code base (replacing JavaScript's `new Date()). https://github.com/owncloud/web/pull/6084 * Bugfix - User email attribute initialization: [#6118](https://github.com/owncloud/web/pull/6118) Until now, the user email would only be set if the user used it instead of a username in the login form. It now can also be set from the user webdav response as a fallback. https://github.com/owncloud/web/pull/6118 * Bugfix - Contextmenu on public links: [#6123](https://github.com/owncloud/web/issues/6123) We fixed an issue of the contextmenu not being displayed for the files table on public links. https://github.com/owncloud/web/issues/6123 * Bugfix - Ensure route config is honored for new file handlers: [#6135](https://github.com/owncloud/web/pull/6135) Only display the new file entries for the routes it belongs to. https://github.com/owncloud/web/pull/6135 * Enhancement - Build options: [#5985](https://github.com/owncloud/web/pull/5985) Configure the startup title (displayed before the configuration is loaded) via env variable TITLE. Make the source map generation optional with the env variable SOURCE_MAP. https://github.com/owncloud/web/pull/5985 * Enhancement - Show feedback on startup: [#5985](https://github.com/owncloud/web/pull/5985) Instead of displaying an empty page while all components load, display a spiner. Also show an error message if there was an error. https://github.com/owncloud/web/pull/5985 * Enhancement - Show errors when failing to open app in app provider: [#6003](https://github.com/owncloud/web/pull/6003) The error message provided by wopi is now displayed to the user, giving some context on why it failed to open a file. https://github.com/owncloud/web/pull/6003 * Enhancement - Adopt oc-table-files from ods: [#6106](https://github.com/owncloud/web/pull/6106) Ods oc-table-files always contained concrete web-app-files logic, to make development more agile and keep things close oc-table-files was renamed to resource-table and relocated to live in web-app-files from now on. https://github.com/owncloud/web/pull/6106 https://github.com/owncloud/owncloud-design-system/pull/1817 * Enhancement - Update ODS to v12.0.0-alpha1: [#6106](https://github.com/owncloud/web/pull/6106) We updated the ownCloud Design System to version 12.0.0-alpha1. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Change - Remove oc-table-files from ods: https://github.com/owncloud/owncloud-design-system/pull/1817 - Change - Remove unused props for unstyled components: https://github.com/owncloud/owncloud-design-system/pull/1795 https://github.com/owncloud/web/pull/6106 https://github.com/owncloud/owncloud-design-system/releases/tag/v12.0.0-alpha1 * Enhancement - MarkdownEditor and MediaViewer can be default: [#6148](https://github.com/owncloud/web/pull/6148) We have updated the extension handlers of two internal apps to be able to be used as default actions. https://github.com/owncloud/web/pull/6148 Changelog for ownCloud Web [4.6.0] (2021-12-07) ======================================= The following sections list the changes in ownCloud web 4.6.0 relevant to ownCloud admins and users. [4.6.0]: https://github.com/owncloud/web/compare/v4.5.0...v4.6.0 Summary ------- * Bugfix - Pagination: [#6056](https://github.com/owncloud/web/pull/6056) * Enhancement - Contextmenu for multiple files: [#5973](https://github.com/owncloud/web/pull/5973) * Enhancement - Add tooltips to relative dates: [#6037](https://github.com/owncloud/web/pull/6037) * Enhancement - Implement breadcrumb context menu: [#6044](https://github.com/owncloud/web/pull/6044) * Enhancement - Update ODS to v11.3.1: [#6090](https://github.com/owncloud/web/pull/6090) Details ------- * Bugfix - Pagination: [#6056](https://github.com/owncloud/web/pull/6056) We fixed the pagination as it was slicing the items wrong on pages after the first one. https://github.com/owncloud/web/pull/6056 * Enhancement - Contextmenu for multiple files: [#5973](https://github.com/owncloud/web/pull/5973) We have enabled batch actions in the context menu for when multiple resources are selected. https://github.com/owncloud/web/issues/5968 https://github.com/owncloud/web/issues/5977 https://github.com/owncloud/web/pull/5973 * Enhancement - Add tooltips to relative dates: [#6037](https://github.com/owncloud/web/pull/6037) Relative dates like "1 day ago" now have a tooltip that shows the absolute date. https://github.com/owncloud/web/issues/5672 https://github.com/owncloud/web/pull/6037 * Enhancement - Implement breadcrumb context menu: [#6044](https://github.com/owncloud/web/pull/6044) The last element of the breadcrumb now has a context menu which gives the user the possibility to perform actions on the current folder. https://github.com/owncloud/web/issues/6030 https://github.com/owncloud/web/pull/6044 * Enhancement - Update ODS to v11.3.1: [#6090](https://github.com/owncloud/web/pull/6090) We updated the ownCloud Design System to version 11.3.1. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Bugfix - Set language for date formatting: https://github.com/owncloud/owncloud-design-system/pull/1806 - Enhancement - Relative date tooltips in the OcTableFiles component: https://github.com/owncloud/owncloud-design-system/pull/1787 - Enhancement - Breadcrumb contextmenu: https://github.com/owncloud/web/issues/6030 - Enhancement - Optional padding size for OcDrop: https://github.com/owncloud/owncloud-design-system/pull/1798 - Enhancement - Truncate file names while preserving file extensions: https://github.com/owncloud/owncloud-design-system/issues/1758 https://github.com/owncloud/web/pull/6090 https://github.com/owncloud/owncloud-design-system/releases/tag/v11.3.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v11.3.1 Changelog for ownCloud Web [4.5.0] (2021-11-16) ======================================= The following sections list the changes in ownCloud web 4.5.0 relevant to ownCloud admins and users. [4.5.0]: https://github.com/owncloud/web/compare/v4.4.0...v4.5.0 Summary ------- * Bugfix - Fix location picker breadcrumb url encoding: [#5940](https://github.com/owncloud/web/pull/5940) * Bugfix - Context menu rendering: [#5952](https://github.com/owncloud/web/pull/5952) * Bugfix - Use search app translations: [#5955](https://github.com/owncloud/web/issues/5955) * Bugfix - Correct capabilities URL when server run in a subfolder: [#6010](https://github.com/owncloud/web/issues/6010) * Enhancement - App provider and archiver on public links: [#5924](https://github.com/owncloud/web/pull/5924) * Enhancement - Default action order: [#5952](https://github.com/owncloud/web/pull/5952) * Enhancement - Use default info from app provider: [#5962](https://github.com/owncloud/web/issues/5962) * Enhancement - Automatically show oC 10 apps in the app switcher menu: [#5980](https://github.com/owncloud/web/issues/5980) * Enhancement - Reduced sidebar width: [#5981](https://github.com/owncloud/web/issues/5981) * Enhancement - Rename `_chunks` folder to `chunks`: [#5988](https://github.com/owncloud/web/pull/5988) * Enhancement - Update ODS to v11.2.2: [#6009](https://github.com/owncloud/web/pull/6009) * Enhancement - Accentuate new files: [#6020](https://github.com/owncloud/web/pull/6020) Details ------- * Bugfix - Fix location picker breadcrumb url encoding: [#5940](https://github.com/owncloud/web/pull/5940) The breadcrumb urls in location-picker were encoded. We've fixed this by removing the encoding. https://github.com/owncloud/web/issues/5938 https://github.com/owncloud/web/pull/5940 https://github.com/owncloud/web/pull/5715 * Bugfix - Context menu rendering: [#5952](https://github.com/owncloud/web/pull/5952) We fixed that the context menu was being created for each and every file row of the current page (it was just not made visible). Now it only gets created when it gets activated by the user for a file row. https://github.com/owncloud/web/pull/5952 * Bugfix - Use search app translations: [#5955](https://github.com/owncloud/web/issues/5955) We fixed that the search app was not using its translations properly. https://github.com/owncloud/web/issues/5955 https://github.com/owncloud/web/pull/5956 * Bugfix - Correct capabilities URL when server run in a subfolder: [#6010](https://github.com/owncloud/web/issues/6010) We fixed an issue where the capabilities where requested from a wrong URL in the case the server is running in a subfolder e.g. `http://localhost/owncloud` https://github.com/owncloud/web/issues/6010 * Enhancement - App provider and archiver on public links: [#5924](https://github.com/owncloud/web/pull/5924) We made the app provider and archiver services available on public links. As a prerequisite for this we needed to make backend capabilities available on public links, which will be beneficial for all future extension development. https://github.com/owncloud/web/issues/5884 https://github.com/owncloud/ocis/issues/2479 https://github.com/owncloud/web/issues/2479 https://github.com/owncloud/web/issues/5901 https://github.com/owncloud/web/pull/5924 * Enhancement - Default action order: [#5952](https://github.com/owncloud/web/pull/5952) We've changed the order of actions which are being considered as default action. The order is now 1) installed editors, 2) external apps from the app provider, 3) system default actions. Previously the external apps took precedence. https://github.com/owncloud/web/pull/5952 * Enhancement - Use default info from app provider: [#5962](https://github.com/owncloud/web/issues/5962) The app provider returns information about the default application per mime type. This information is now respected when triggering the default action for a file. https://github.com/owncloud/web/issues/5962 https://github.com/owncloud/web/pull/5970 * Enhancement - Automatically show oC 10 apps in the app switcher menu: [#5980](https://github.com/owncloud/web/issues/5980) When using the ownCloud 10 app of web the configuration automatically gets augmented with all menu items / apps from the classic UI. They open in a new tab in the classic UI and have a generic icon. https://github.com/owncloud/web/issues/5980 https://github.com/owncloud/web/pull/5996 * Enhancement - Reduced sidebar width: [#5981](https://github.com/owncloud/web/issues/5981) We reduced the sidebar width to give the files list more horizontal room, especially on medium sized screens. https://github.com/owncloud/web/issues/5981 https://github.com/owncloud/web/pull/5983 * Enhancement - Rename `_chunks` folder to `chunks`: [#5988](https://github.com/owncloud/web/pull/5988) We've renamed the `_chunks` folder to `chunks` in the ownCloud Web build output in order to make it more easily embedable with the Go embed directive. https://github.com/owncloud/web/pull/5988 * Enhancement - Update ODS to v11.2.2: [#6009](https://github.com/owncloud/web/pull/6009) We updated the ownCloud Design System to version 11.2.2. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Bugfix - Limit select event in OcTableFiles: https://github.com/owncloud/owncloud-design-system/pull/1753 - Bugfix - Add word-break rule to OcNotificationMessage component: https://github.com/owncloud/owncloud-design-system/issues/1712 - Bugfix - OcTable sorting case sensitivity: https://github.com/owncloud/owncloud-design-system/issues/1698 - Bugfix - Drag and Drop triggers wrong actions: https://github.com/owncloud/web/issues/5808 - Bugfix - Fix files table event: https://github.com/owncloud/web/issues/1777 - Bugfix - Fix extension icon rendering: https://github.com/owncloud/web/issues/1779 - Enhancement - Make OcDatepicker themable: https://github.com/owncloud/owncloud-design-system/issues/1679 - Enhancement - Streamline OcTextInput: https://github.com/owncloud/owncloud-design-system/pull/1636 - Enhancement - Add accentuated class for OcTable: https://github.com/owncloud/owncloud-design-system/pull/5967 - Enhancement - Add Ghost Element for Drag & Drop: https://github.com/owncloud/owncloud-design-system/pull/5788 - Enhancement - Add "extension" svg icon: https://github.com/owncloud/owncloud-design-system/pull/1771 - Enhancement - Add closure to mutate resource dom selector: https://github.com/owncloud/owncloud-design-system/pull/1766 - Enhancement - Reduce filename text weight: https://github.com/owncloud/owncloud-design-system/pull/1759 https://github.com/owncloud/web/pull/6009 https://github.com/owncloud/owncloud-design-system/releases/tag/v11.2.2 * Enhancement - Accentuate new files: [#6020](https://github.com/owncloud/web/pull/6020) We've added a visual highlighting of newly created (or uploaded) resources in the OcFilesTable. https://github.com/owncloud/web/pull/6020 Changelog for ownCloud Web [4.4.0] (2021-10-26) ======================================= The following sections list the changes in ownCloud web 4.4.0 relevant to ownCloud admins and users. [4.4.0]: https://github.com/owncloud/web/compare/v4.3.0...v4.4.0 Summary ------- * Bugfix - New Collaborator removes wrong autocomplete items: [#5857](https://github.com/owncloud/web/issues/5857) * Bugfix - Unnecessary redirects on personal page: [#5893](https://github.com/owncloud/web/pull/5893) * Bugfix - Clean router path handling: [#5894](https://github.com/owncloud/web/pull/5894) * Bugfix - External apps by shares: [#5907](https://github.com/owncloud/web/pull/5907) * Bugfix - Fix duplicated event subscriptions: [#5910](https://github.com/owncloud/web/pull/5910) * Bugfix - Fix overlapping requests in files app: [#5917](https://github.com/owncloud/web/pull/5917) * Enhancement - Datepicker in Dropdown: [#5806](https://github.com/owncloud/web/pull/5806) * Enhancement - Update ODS to v11.0.0: [#5806](https://github.com/owncloud/web/pull/5806) * Enhancement - Sorting out dependencies: [#5898](https://github.com/owncloud/web/pull/5898) * Enhancement - Accessible, themeable media viewer: [#5900](https://github.com/owncloud/web/pull/5900) Details ------- * Bugfix - New Collaborator removes wrong autocomplete items: [#5857](https://github.com/owncloud/web/issues/5857) We've addressed that when you add new collaborators in the autocomplete and remove one from the autocompletion it always removes the last element. https://github.com/owncloud/web/issues/5857 https://github.com/owncloud/web/pull/5931 * Bugfix - Unnecessary redirects on personal page: [#5893](https://github.com/owncloud/web/pull/5893) Navigating to all files could lead to loading resources twice, first resources from root (/) and second the resources from the homeFolder (options.homeFolder). We've fixed this by detecting those cases and only load resources for the homeFolder. https://github.com/owncloud/web/issues/5085 https://github.com/owncloud/web/issues/5875 https://github.com/owncloud/web/pull/5893 * Bugfix - Clean router path handling: [#5894](https://github.com/owncloud/web/pull/5894) This patch was already introduced earlier for the files application only. In the meantime we found out that this is also needed on different places across the ecosystem. We've refactored the way how the patch gets applied to the routes: It is now possible to set an individual route's `meta.patchCleanPath` to true. https://github.com/owncloud/web/issues/4595#issuecomment-938587035 https://github.com/owncloud/web/pull/5894 * Bugfix - External apps by shares: [#5907](https://github.com/owncloud/web/pull/5907) Opening shares in "Shared with me" section was broken. We have added property `mimeType` by the build of a shared resource, so that the external apps can be found for it. We fixed passing the fileId property for the context actions. https://github.com/owncloud/web/issues/5906 https://github.com/owncloud/web/pull/5907 * Bugfix - Fix duplicated event subscriptions: [#5910](https://github.com/owncloud/web/pull/5910) In some cases it happened that subscriptions to certain topics happened multiple times. This is problematic in cases where it should happen only once, for example loading a resource which can result in multiple requests and a overlapping state. This is fixes by introducing the option to unsubscribe a event individually by a given token or for all on a given topic. https://github.com/owncloud/web/issues/5875 https://github.com/owncloud/web/pull/5910 * Bugfix - Fix overlapping requests in files app: [#5917](https://github.com/owncloud/web/pull/5917) In some cases the files app tended to display the wrong resources when navigating quickly through the views. This happened because the resource provisioning step wasn't canceled. This is now fixed by using vue-concurrency which on a high level wraps iterable generators which are cancelable. We're using it to wrap the resource loading and cancel it as soon as the resource set is not needed anymore. It also improves the overall performance for the files app. https://github.com/owncloud/web/issues/5085 https://github.com/owncloud/web/issues/5875 https://github.com/owncloud/web/pull/5917 * Enhancement - Datepicker in Dropdown: [#5806](https://github.com/owncloud/web/pull/5806) We have moved the datepicker for share expiration in the right sidebar into a dropdown to align it with the other elements when creating/editing shares. https://github.com/owncloud/web/pull/5806 * Enhancement - Update ODS to v11.0.0: [#5806](https://github.com/owncloud/web/pull/5806) We updated the ownCloud Design System to version 11.0.0. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Bugfix - Prevent hover style on footer of OcTableFiles: https://github.com/owncloud/owncloud-design-system/pull/1667 - Change - Replace vue-datetime with v-calendar in our datepicker component: https://github.com/owncloud/owncloud-design-system/pull/1661 - Enhancement - Allow hover option in OcTableFiles: https://github.com/owncloud/owncloud-design-system/pull/1632 https://github.com/owncloud/web/pull/5806 https://github.com/owncloud/owncloud-design-system/releases/tag/v11.0.0 * Enhancement - Sorting out dependencies: [#5898](https://github.com/owncloud/web/pull/5898) We have cleaned and simplified the dependency structure in our apps. https://github.com/owncloud/web/pull/5898 * Enhancement - Accessible, themeable media viewer: [#5900](https://github.com/owncloud/web/pull/5900) We have updated the media viewer app to respect theme colors and fulfill accessibility requirements (e.g. keyboard navigation, semantic HTML, font size). https://github.com/owncloud/web/pull/5900 Changelog for ownCloud Web [4.3.0] (2021-10-07) ======================================= The following sections list the changes in ownCloud web 4.3.0 relevant to ownCloud admins and users. [4.3.0]: https://github.com/owncloud/web/compare/v4.2.0...v4.3.0 Summary ------- * Enhancement - Refactor runtime boot process: [#5752](https://github.com/owncloud/web/pull/5752) * Enhancement - Move custom permissions to roles drop: [#5764](https://github.com/owncloud/web/issues/5764) * Enhancement - Add wrapper app for external apps: [#5805](https://github.com/owncloud/web/pull/5805) * Enhancement - Add AppProvider actions to fileactions: [#5805](https://github.com/owncloud/web/pull/5805) * Enhancement - Multiple shared with me tables: [#5814](https://github.com/owncloud/web/pull/5814) * Enhancement - Download as archive: [#5832](https://github.com/owncloud/web/pull/5832) * Enhancement - Early store initialization: [#5874](https://github.com/owncloud/web/pull/5874) Details ------- * Enhancement - Refactor runtime boot process: [#5752](https://github.com/owncloud/web/pull/5752) We have updated the way applications are being loaded in the web runtime. It does now feature a dedicated boot process, providing hooks that other applications can take advantage of. https://github.com/owncloud/web/issues/2891 https://github.com/owncloud/web/issues/3726 https://github.com/owncloud/web/issues/3771 https://github.com/owncloud/web/issues/4735 https://github.com/owncloud/web/issues/5135 https://github.com/owncloud/web/issues/5460 https://github.com/owncloud/web/pull/5752 (tbd) (tbd) (tbd, %22needs api tweak%22%29 (tbd) (tbd) (tbd) * Enhancement - Move custom permissions to roles drop: [#5764](https://github.com/owncloud/web/issues/5764) We've moved all the custom permissions (previously advanced permissions) in the sharing dialog into a dropdown which gets triggered by selecting the Custom permissions item in the roles dropdown. https://github.com/owncloud/web/issues/5764 https://github.com/owncloud/web/pull/5647 * Enhancement - Add wrapper app for external apps: [#5805](https://github.com/owncloud/web/pull/5805) We have added a `external` app that can render apps coming from the oCIS AppProvider via iFrame. https://github.com/owncloud/web/pull/5805 * Enhancement - Add AppProvider actions to fileactions: [#5805](https://github.com/owncloud/web/pull/5805) If the AppProvider within oCIS communicates a matching application for the mime type of a file, there are now additional actions in the default actions and actions in both the contextmenu and the right sidebar. https://github.com/owncloud/web/pull/5805 * Enhancement - Multiple shared with me tables: [#5814](https://github.com/owncloud/web/pull/5814) We have separated the single table on the shared with me page into up to three different tables: - pending shares - accepted shares - declined shares By default we show pending and accepted shares. There is navigation in place to switch over from the accepted to the declined shares and the other way around. Pending shares stay visible all the time since it's expected that users take immediate action on pending shares anyway. https://github.com/owncloud/web/pull/5814 https://github.com/owncloud/web/pull/5177 * Enhancement - Download as archive: [#5832](https://github.com/owncloud/web/pull/5832) We've introduced archive downloads based on whether or not an archiver capability is present. The current implementation supports the archiver v2 (a.k.a. the REVA implementation). Archive downloads are available in two different ways: - as action on a folder (right-click context menu or actions panel in the right sidebar) - as batch action for all selected files The implementation is currently limited to authenticated contexts. A public links implementation will follow soon. https://github.com/owncloud/web/issues/3913 https://github.com/owncloud/web/issues/5809 https://github.com/owncloud/web/pull/5832 * Enhancement - Early store initialization: [#5874](https://github.com/owncloud/web/pull/5874) We made sure that the store and auth get initialized as early as possible. With this we ensured that capabilities are always loaded as soon as applications start their initialization process. https://github.com/owncloud/web/pull/5874 Changelog for ownCloud Web [4.2.0] (2021-09-14) ======================================= The following sections list the changes in ownCloud web 4.2.0 relevant to ownCloud admins and users. [4.2.0]: https://github.com/owncloud/web/compare/v4.1.0...v4.2.0 Summary ------- * Bugfix - Pagination on Locationpicker: [#5715](https://github.com/owncloud/web/pull/5715) * Enhancement - Fetch file info in the Files sidebar: [#5570](https://github.com/owncloud/web/issues/5570) * Enhancement - Re-design recipients role select: [#5632](https://github.com/owncloud/web/pull/5632) * Enhancement - URL encoding / decoding: [#5714](https://github.com/owncloud/web/issues/5714) * Enhancement - Add missing tooltips: [#5723](https://github.com/owncloud/web/issues/5723) * Enhancement - Update ODS to 10.0.0: [#5725](https://github.com/owncloud/web/pull/5725) * Enhancement - Show sharing information in details sidebar: [#5735](https://github.com/owncloud/web/issues/5735) * Enhancement - Switch filesize calculation base: [#5739](https://github.com/owncloud/web/pull/5739) * Enhancement - Show sharees as collapsed list of avatars: [#5758](https://github.com/owncloud/web/pull/5758) * Enhancement - Add robots.txt file: [#5762](https://github.com/owncloud/web/pull/5762) Details ------- * Bugfix - Pagination on Locationpicker: [#5715](https://github.com/owncloud/web/pull/5715) Pagination on copying/moving files as well as page reloads when copying/moving files were broken. When changing the Vue router encoding, we fixed both issues. https://github.com/owncloud/web/pull/5715 * Enhancement - Fetch file info in the Files sidebar: [#5570](https://github.com/owncloud/web/issues/5570) We've started fetching the file info when a single item is selected and the Files sidebar is opened. With this change we have more information available in different lists e.g. private link in shared lists. https://github.com/owncloud/web/issues/5570 https://github.com/owncloud/web/pull/5665 * Enhancement - Re-design recipients role select: [#5632](https://github.com/owncloud/web/pull/5632) We've redesigned recipient role select in the Files app sidebar. https://github.com/owncloud/web/pull/5632 * Enhancement - URL encoding / decoding: [#5714](https://github.com/owncloud/web/issues/5714) We have updated the Vue router (prior to version 4) encoding from `files%2Fall%2Ffolder` to `files/all/folder`. It was also needed to use the router query object instead of the params to store the current page pagination information. https://github.com/owncloud/web/issues/5714 https://github.com/owncloud/web/pull/5715 * Enhancement - Add missing tooltips: [#5723](https://github.com/owncloud/web/issues/5723) We've added tooltips to the "view option dropdown" and "toggle sidebar" buttons. https://github.com/owncloud/web/issues/5723 https://github.com/owncloud/web/pull/5724 * Enhancement - Update ODS to 10.0.0: [#5725](https://github.com/owncloud/web/pull/5725) We updated the ownCloud Design System to version 10.0.0. Please refer to the full changelog in the ODS release (linked) for more details. Summary: - Bugfix - Fix search for options provided as objects: https://github.com/owncloud/owncloud-design-system/pull/1602 - Bugfix - Contextmenu button triggered wrong event: https://github.com/owncloud/owncloud-design-system/pull/1610 - Bugfix - Use pointer cursor for OcSelect actions: https://github.com/owncloud/owncloud-design-system/pull/1604 - Bugfix - Reset droptarget background color in OcTableFiles: https://github.com/owncloud/owncloud-design-system/pull/1625 - Enhancement - OcTableFiles Contextmenu Tooltip: https://github.com/owncloud/owncloud-design-system/pull/1610 - Enhancement - Highlight droptarget in OcTableFiles: https://github.com/owncloud/owncloud-design-system/pull/1610 - Enhancement - Remove "Showdetails" button in OcTableFiles: https://github.com/owncloud/owncloud-design-system/pull/1610 - Enhancement - Switch filesize calculation base: https://github.com/owncloud/owncloud-design-system/pull/1598 - Change - Use route query to store active page: https://github.com/owncloud/owncloud-design-system/pull/1626 - Change - Refactor OcAvatarGroup and rename to OcAvatars: https://github.com/owncloud/owncloud-design-system/pull/5736 - Change - Add label prop to OcSelect: https://github.com/owncloud/owncloud-design-system/pull/1633 https://github.com/owncloud/web/pull/5725 https://github.com/owncloud/web/pull/5769 https://github.com/owncloud/owncloud-design-system/releases/tag/v9.3.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v10.0.0 * Enhancement - Show sharing information in details sidebar: [#5735](https://github.com/owncloud/web/issues/5735) We've added sharing information like from whom, when and where a file was shared to the detail view in the right sidebar. https://github.com/owncloud/web/issues/5735 https://github.com/owncloud/web/pull/5730 * Enhancement - Switch filesize calculation base: [#5739](https://github.com/owncloud/web/pull/5739) We've switched from base-2 to base-10 when calculating the displayed file-size to align it better with user expectations. https://github.com/owncloud/web/pull/5739 * Enhancement - Show sharees as collapsed list of avatars: [#5758](https://github.com/owncloud/web/pull/5758) We've introduced a collapsed list of avatars of sharees in the `People` panel of the right sidebar. On click we switch to showing the full list of sharees. With this additional intermediate state we were able to clean up the UI a bit for easier cognitive load. https://github.com/owncloud/web/issues/5736 https://github.com/owncloud/web/pull/5758 * Enhancement - Add robots.txt file: [#5762](https://github.com/owncloud/web/pull/5762) Added a robots.txt for ocis-web https://github.com/owncloud/web/pull/5762 Changelog for ownCloud Web [4.1.0] (2021-08-20) ======================================= The following sections list the changes in ownCloud web 4.1.0 relevant to ownCloud admins and users. [4.1.0]: https://github.com/owncloud/web/compare/v4.0.0...v4.1.0 Summary ------- * Bugfix - Load folder in Media viewer: [#5427](https://github.com/owncloud/web/issues/5427) * Bugfix - Escape file name in Media viewer: [#5593](https://github.com/owncloud/web/issues/5593) * Bugfix - Handle loading and parsing errors when loading themes: [#5669](https://github.com/owncloud/web/pull/5669) * Enhancement - Refresh files list via breadcrumbs: [#2018](https://github.com/owncloud/web/issues/2018) * Enhancement - Add multiple selection Sidebar: [#5164](https://github.com/owncloud/web/issues/5164) * Enhancement - Toggle right sidebar: [#5165](https://github.com/owncloud/web/issues/5165) * Enhancement - Move file via drag and drop: [#5592](https://github.com/owncloud/web/issues/5592) * Enhancement - Enable live reload for changes to themes: [#5668](https://github.com/owncloud/web/pull/5668) * Enhancement - Signout icon: [#5681](https://github.com/owncloud/web/pull/5681) * Enhancement - Update ODS to 9.2.0: [#5689](https://github.com/owncloud/web/pull/5689) Details ------- * Bugfix - Load folder in Media viewer: [#5427](https://github.com/owncloud/web/issues/5427) We've fixed the loading of a folder in the Media viewer extension. If a user reloads the Media viewer now, it load all the medias both in private and public context. https://github.com/owncloud/web/issues/5427 https://github.com/owncloud/web/pull/5585 https://github.com/owncloud/web/pull/5710 * Bugfix - Escape file name in Media viewer: [#5593](https://github.com/owncloud/web/issues/5593) We've started escaping the file name in the Media viewer extension so that a file with special characters in the name can still be loaded. https://github.com/owncloud/web/issues/5593 https://github.com/owncloud/web/pull/5655 * Bugfix - Handle loading and parsing errors when loading themes: [#5669](https://github.com/owncloud/web/pull/5669) Adds graceful error handling of json parse errors when loading custom themes. https://github.com/owncloud/web/pull/5669 * Enhancement - Refresh files list via breadcrumbs: [#2018](https://github.com/owncloud/web/issues/2018) In the personal and public files lists we've added a click handler to the last breadcrumb item representing the current folder that reloads the files list. https://github.com/owncloud/web/issues/2018 https://github.com/owncloud/web/pull/5659 * Enhancement - Add multiple selection Sidebar: [#5164](https://github.com/owncloud/web/issues/5164) We've changed the sidebar so if a user selects multiple files or folders he sees a detailed view of his selection in the sidebar. https://github.com/owncloud/web/issues/5164 https://github.com/owncloud/web/pull/5630 * Enhancement - Toggle right sidebar: [#5165](https://github.com/owncloud/web/issues/5165) We introduced a button above the files list to toggle the right sidebar (open/close). It always opens for the current selection model. If nothing is selected, the current folder will be shown in the right sidebar. With this we now allow sharing a folder when the user already navigated into it. https://github.com/owncloud/web/issues/5165 https://github.com/owncloud/web/pull/5678 https://github.com/owncloud/web/pull/5709 * Enhancement - Move file via drag and drop: [#5592](https://github.com/owncloud/web/issues/5592) We've added moving files and folders via drag and drop to the files table view. https://github.com/owncloud/web/issues/5592 https://github.com/owncloud/web/pull/5588 * Enhancement - Enable live reload for changes to themes: [#5668](https://github.com/owncloud/web/pull/5668) This allows live reloads to be triggered by changes to themes defined within the 'packages/web-runtime/themes/**/*' folders, to facilitate efficient WYSIWYG development when wanting to customise the look and feel of the frontend. https://github.com/owncloud/web/pull/5668 * Enhancement - Signout icon: [#5681](https://github.com/owncloud/web/pull/5681) We changed the icon in the personal menu nav item for signing out based on recent user feedback. https://github.com/owncloud/web/pull/5681 * Enhancement - Update ODS to 9.2.0: [#5689](https://github.com/owncloud/web/pull/5689) We updated the ownCloud Design System to version 9.2.0. https://github.com/owncloud/web/pull/5689 https://github.com/owncloud/owncloud-design-system/releases/tag/v9.0.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v9.0.1 https://github.com/owncloud/owncloud-design-system/releases/tag/v9.1.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v9.2.0 Changelog for ownCloud Web [4.0.0] (2021-08-04) ======================================= The following sections list the changes in ownCloud web 4.0.0 relevant to ownCloud admins and users. [4.0.0]: https://github.com/owncloud/web/compare/v3.4.1...v4.0.0 Summary ------- * Bugfix - Use profile picture capability in avatars: [#5178](https://github.com/owncloud/web/pull/5178) * Bugfix - Content Security Policy for OpenID Connect authentication: [#5536](https://github.com/owncloud/web/pull/5536) * Bugfix - Unnecessary quota requests: [#5539](https://github.com/owncloud/web/pull/5539) * Bugfix - Send authentication on manifests.json: [#5553](https://github.com/owncloud/web/pull/5553) * Bugfix - Check names also for folders or files that currently are not visible: [#5583](https://github.com/owncloud/web/pull/5583) * Bugfix - Left sidebar visibility in public links: [#5602](https://github.com/owncloud/web/pull/5602) * Change - Add custom search service: [#5415](https://github.com/owncloud/web/pull/5415) * Enhancement - Dropdown actions in FilesTable: [#5102](https://github.com/owncloud/web/issues/5102) * Enhancement - New layout for context menu: [#5160](https://github.com/owncloud/web/issues/5160) * Enhancement - Add filter & search to files app: [#5415](https://github.com/owncloud/web/pull/5415) * Enhancement - Define the number of visible share recipients: [#5506](https://github.com/owncloud/web/pull/5506) * Enhancement - Prevent binding to only loopback IP when running in watch mode: [#5515](https://github.com/owncloud/web/pull/5515) * Enhancement - Sidebar sliding panels navigation: [#5549](https://github.com/owncloud/web/pull/5549) * Enhancement - Refactor recipient autocomplete in people panel: [#5554](https://github.com/owncloud/web/pull/5554) * Enhancement - Load only opened panels: [#5569](https://github.com/owncloud/web/issues/5569) Details ------- * Bugfix - Use profile picture capability in avatars: [#5178](https://github.com/owncloud/web/pull/5178) Requests for loading avatar profile pictures now only get sent if the backend communicates their availability in the capabilities. https://github.com/owncloud/web/pull/5178 * Bugfix - Content Security Policy for OpenID Connect authentication: [#5536](https://github.com/owncloud/web/pull/5536) We added CSP rules for allowing OpenID Connect authentication when running ownCloud Web as app in ownCloud 10. https://github.com/owncloud/web/pull/5536 * Bugfix - Unnecessary quota requests: [#5539](https://github.com/owncloud/web/pull/5539) We've removed requests that checked for a user's quota on pages where it was not relevant. https://github.com/owncloud/web/pull/5539 * Bugfix - Send authentication on manifests.json: [#5553](https://github.com/owncloud/web/pull/5553) We've changed that requests to manifest.json will use authentication, too. https://github.com/owncloud/web/pull/5553 * Bugfix - Check names also for folders or files that currently are not visible: [#5583](https://github.com/owncloud/web/pull/5583) We've changed the way how web checks if a file or folder exists. From now on it also include files from the current folder that actually are not visible. This was problematic in situations like the pagination, where a file or folder was not available in the current set of resources and the user tried to create a folder with the same name. https://github.com/owncloud/web/pull/5583 * Bugfix - Left sidebar visibility in public links: [#5602](https://github.com/owncloud/web/pull/5602) We fixed that the left sidebar was showing the navigation items of an authenticated context when visiting a public link as authenticated user. https://github.com/owncloud/web/pull/5602 * Change - Add custom search service: [#5415](https://github.com/owncloud/web/pull/5415) We've added `search` as another core app that can be utilized by other (third-party) frontend extensions to provide filter and search functionality. Please note that you need to add `search` to the `apps` array of your config.json file, otherwise the search bar with its global file search capabilities will disappear. https://github.com/owncloud/web/pull/5415 * Enhancement - Dropdown actions in FilesTable: [#5102](https://github.com/owncloud/web/issues/5102) Users can now access quick actions in a dropdown by clicking on the three-dots button or right-clicking on rows in the files table. We've also bumped the ownCloud Design System to version 8.3.0 https://github.com/owncloud/web/issues/5102 https://github.com/owncloud/web/issues/5103 https://github.com/owncloud/web/pull/5551 https://github.com/owncloud/web/pull/5554 https://github.com/owncloud/owncloud-design-system/releases/tag/v8.3.0 * Enhancement - New layout for context menu: [#5160](https://github.com/owncloud/web/issues/5160) The new context menu in the files list received additional menu items and a clear separation into three sections. https://github.com/owncloud/web/issues/5160 https://github.com/owncloud/web/pull/5576 * Enhancement - Add filter & search to files app: [#5415](https://github.com/owncloud/web/pull/5415) We've changed the existing searchbar to use the custom search service. It is now able to be used at the same time as a filter (on the frontend) and, if the backend is capable of search, as a search input. https://github.com/owncloud/web/pull/5415 * Enhancement - Define the number of visible share recipients: [#5506](https://github.com/owncloud/web/pull/5506) We've added a new configuration option `sharingRecipientsPerPage` to define how many recipients should be shown in the share recipients dropdown. https://github.com/owncloud/web/pull/5506 * Enhancement - Prevent binding to only loopback IP when running in watch mode: [#5515](https://github.com/owncloud/web/pull/5515) This is required when running the acceptance tests on Windows, it allows the selenium docker containers to access the frontend due to the host binding in rollup (when running `yarn serve`). Does not break any existing functionality. https://github.com/owncloud/web/pull/5515 * Enhancement - Sidebar sliding panels navigation: [#5549](https://github.com/owncloud/web/pull/5549) The sidebar now uses a ios like concept for navigate through the different actions in the sidebar. It replaces the accordion navigation entirely. https://github.com/owncloud/web/issues/5523 https://github.com/owncloud/web/pull/5549 * Enhancement - Refactor recipient autocomplete in people panel: [#5554](https://github.com/owncloud/web/pull/5554) We've refactored the recipient autocomplete in people panel so that selected recipients are displayed directly in the autocomplete instead of the list below it. https://github.com/owncloud/web/pull/5554 * Enhancement - Load only opened panels: [#5569](https://github.com/owncloud/web/issues/5569) Do not load panels in the Files extension sidebar until they are opened. https://github.com/owncloud/web/issues/5569 https://github.com/owncloud/web/pull/5573 Changelog for ownCloud Web [3.4.1] (2021-07-12) ======================================= The following sections list the changes in ownCloud web 3.4.1 relevant to ownCloud admins and users. [3.4.1]: https://github.com/owncloud/web/compare/v3.4.0...v3.4.1 Summary ------- * Bugfix - Align view options to the right: [#5493](https://github.com/owncloud/web/pull/5493) * Bugfix - Load preview in right sidebar: [#5501](https://github.com/owncloud/web/pull/5501) Details ------- * Bugfix - Align view options to the right: [#5493](https://github.com/owncloud/web/pull/5493) We've fixed the position of the view options button which would appear in any screen where actions are missing on the left. https://github.com/owncloud/web/pull/5493 * Bugfix - Load preview in right sidebar: [#5501](https://github.com/owncloud/web/pull/5501) We fixed a bug that caused previews not being loaded in the details accordion of the right sidebar. https://github.com/owncloud/web/pull/5501 Changelog for ownCloud Web [3.4.0] (2021-07-09) ======================================= The following sections list the changes in ownCloud web 3.4.0 relevant to ownCloud admins and users. [3.4.0]: https://github.com/owncloud/web/compare/v3.3.1...v3.4.0 Summary ------- * Bugfix - Batch action for deleting adhering permissions: [#5441](https://github.com/owncloud/web/pull/5441) * Enhancement - Details in Sharing Sidebar: [#5161](https://github.com/owncloud/web/issues/5161) * Enhancement - Batch actions for accepting and declining shares: [#5204](https://github.com/owncloud/web/issues/5204) * Enhancement - Add view options: [#5408](https://github.com/owncloud/web/pull/5408) * Enhancement - Content Security Policy for known iframe integrations: [#5420](https://github.com/owncloud/web/pull/5420) * Enhancement - Update Design System to 8.0.0: [#5465](https://github.com/owncloud/web/pull/5465) * Enhancement - Feedback link: [#5468](https://github.com/owncloud/web/pull/5468) * Enhancement - Add page size view option: [#5470](https://github.com/owncloud/web/pull/5470) Details ------- * Bugfix - Batch action for deleting adhering permissions: [#5441](https://github.com/owncloud/web/pull/5441) We fixed that the batch actions for deleting files and folders was showing for shares that only have viewer permissions. https://github.com/owncloud/web/pull/5441 * Enhancement - Details in Sharing Sidebar: [#5161](https://github.com/owncloud/web/issues/5161) We're now displaying more information about the highlighted file in the sharing sidebar, including a preview (if applicable) as well as sharing and version information in one place. https://github.com/owncloud/web/issues/5161 https://github.com/owncloud/web/pull/5284 https://github.com/owncloud/web/pull/5483 * Enhancement - Batch actions for accepting and declining shares: [#5204](https://github.com/owncloud/web/issues/5204) We've added batch actions for accepting and declining multiple selected incoming shares at once. https://github.com/owncloud/web/issues/5204 https://github.com/owncloud/web/issues/2513 https://github.com/owncloud/web/issues/3101 https://github.com/owncloud/web/issues/5435 https://github.com/owncloud/web/pull/5374 * Enhancement - Add view options: [#5408](https://github.com/owncloud/web/pull/5408) We've added view options above the files lists so that the user can customise them. Currently, it is possible to toggle visibility of hidden files. Changes in view options are persisted in local storage. https://github.com/owncloud/web/pull/5408 https://github.com/owncloud/web/pull/5450 * Enhancement - Content Security Policy for known iframe integrations: [#5420](https://github.com/owncloud/web/pull/5420) We added CSP rules for allowing iframe integrations of the onlyoffice and richdocuments documentservers. https://github.com/owncloud/web/pull/5420 * Enhancement - Update Design System to 8.0.0: [#5465](https://github.com/owncloud/web/pull/5465) The ownCloud design system has been updated to its latest version. https://github.com/owncloud/web/pull/5465 https://github.com/owncloud/web/pull/5483 https://github.com/owncloud/web/pull/5408 https://github.com/owncloud/owncloud-design-system/releases/tag/v8.0.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v7.5.0 * Enhancement - Feedback link: [#5468](https://github.com/owncloud/web/pull/5468) We've added a feedback link in the topbar which opens a survey in a new tab. The intention is to gather feedback from users. There is a config option to disable the link (see docs "getting started"). https://github.com/owncloud/web/pull/5468 * Enhancement - Add page size view option: [#5470](https://github.com/owncloud/web/pull/5470) We've added a new item into the view options which can be used to set the number of items displayed per page. This value is persisted in the local storage so that the user doesn't have to update it every time he visits the app. https://github.com/owncloud/web/pull/5470 Changelog for ownCloud Web [3.3.1] (2021-06-28) ======================================= The following sections list the changes in ownCloud web 3.3.1 relevant to ownCloud admins and users. [3.3.1]: https://github.com/owncloud/web/compare/v3.3.0...v3.3.1 Summary ------- * Bugfix - Image-source directive did not handle updates correctly: [#5364](https://github.com/owncloud/web/pull/5364) Details ------- * Bugfix - Image-source directive did not handle updates correctly: [#5364](https://github.com/owncloud/web/pull/5364) When using v-image-source to bind an image source it did not handle changes to the image source url. This has been fixed by implementing the update hook in the directive. https://github.com/owncloud/web/pull/5364 Changelog for ownCloud Web [3.3.0] (2021-06-23) ======================================= The following sections list the changes in ownCloud web 3.3.0 relevant to ownCloud admins and users. [3.3.0]: https://github.com/owncloud/web/compare/v3.2.0...v3.3.0 Summary ------- * Bugfix - Hide left sidebar navigation when switching routes: [#5025](https://github.com/owncloud/web/pull/5025) * Bugfix - Make sure IDs in HTML are unique: [#5028](https://github.com/owncloud/web/pull/5028) * Bugfix - Add docs link & fix translations on error page: [#5034](https://github.com/owncloud/web/pull/5034) * Bugfix - Translated user menu items: [#5042](https://github.com/owncloud/web/pull/5042) * Bugfix - Resizeable html container: [#5052](https://github.com/owncloud/web/pull/5052) * Bugfix - Make skip to main content link visible: [#5118](https://github.com/owncloud/web/pull/5118) * Bugfix - Hide "Create new public link" button: [#5126](https://github.com/owncloud/web/pull/5126) * Bugfix - Upsert resource in filestable: [#5130](https://github.com/owncloud/web/pull/5130) * Bugfix - Prevent scrolling issues: [#5131](https://github.com/owncloud/web/pull/5131) * Bugfix - Keyboard navigation for copy to clipboard: [#5147](https://github.com/owncloud/web/pull/5147) * Bugfix - Avoid duplicate loading of resources: [#5194](https://github.com/owncloud/web/pull/5194) * Bugfix - Reduced Thumbnail Size: [#5194](https://github.com/owncloud/web/pull/5194) * Bugfix - Add index route for the OC10 integration: [#5201](https://github.com/owncloud/web/pull/5201) * Bugfix - Show `0` as used quota if a negative number is given: [#5229](https://github.com/owncloud/web/pull/5229) * Bugfix - Prevent `fileTypeIcon` to throw a TypeError: [#5253](https://github.com/owncloud/web/pull/5253) * Bugfix - Do not call Vuex create store multiple times: [#5254](https://github.com/owncloud/web/pull/5254) * Bugfix - Center MediaViewer loading spinner: [#5270](https://github.com/owncloud/web/pull/5270) * Bugfix - Remove unnecessary Propfind requests: [#5340](https://github.com/owncloud/web/pull/5340) * Enhancement - Introduce image cache: [#3098](https://github.com/owncloud/web/issues/3098) * Enhancement - Use `oc-select` for role select: [#4937](https://github.com/owncloud/web/pull/4937) * Enhancement - Asynchronous loading of images: [#4973](https://github.com/owncloud/web/issues/4973) * Enhancement - Improve accessibility for the files sidebar: [#5000](https://github.com/owncloud/web/pull/5000) * Enhancement - Update owncloud Design System to v7.1.2: [#5002](https://github.com/owncloud/web/pull/5002) * Enhancement - Move hint in the Location picker under breadcrumbs: [#5008](https://github.com/owncloud/web/pull/5008) * Enhancement - Improve accessibility on user menu: [#5010](https://github.com/owncloud/web/pull/5010) * Enhancement - Use a proper definition list for the account settings page: [#5012](https://github.com/owncloud/web/pull/5012) * Enhancement - Enable focus trap in oc-modal: [#5013](https://github.com/owncloud/web/pull/5013) * Enhancement - Move breadcrumbs out of location picker heading: [#5020](https://github.com/owncloud/web/pull/5020) * Enhancement - Add focus trap to left sidebar: [#5027](https://github.com/owncloud/web/pull/5027) * Enhancement - Improve a11y in the files sidebar peoples & shares section: [#5034](https://github.com/owncloud/web/pull/5034) * Enhancement - Remove autoclose on notifications: [#5040](https://github.com/owncloud/web/pull/5040) * Enhancement - Improve accessibility on trash bin: [#5046](https://github.com/owncloud/web/pull/5046) * Enhancement - Button appearance: [#5053](https://github.com/owncloud/web/pull/5053) * Enhancement - OcTooltip: [#5055](https://github.com/owncloud/web/pull/5055) * Enhancement - Improve accessibility on new file menu: [#5058](https://github.com/owncloud/web/pull/5058) * Enhancement - Use slots in the navigation sidebar: [#5105](https://github.com/owncloud/web/pull/5105) * Enhancement - Do not reset file selection when cancelling batch delete: [#5107](https://github.com/owncloud/web/pull/5107) * Enhancement - Send focus to "Add people" btn after closing Add/Edit panels: [#5129](https://github.com/owncloud/web/pull/5129) * Enhancement - Improve a11y colors: [#5138](https://github.com/owncloud/web/pull/5138) * Enhancement - Confirmation message when copying links: [#5147](https://github.com/owncloud/web/pull/5147) * Enhancement - Hide left sidebar if no navitems are present: [#5149](https://github.com/owncloud/web/pull/5149) * Enhancement - Request cancellation: [#5163](https://github.com/owncloud/web/issues/5163) * Enhancement - Focus breadcrumb on route change: [#5166](https://github.com/owncloud/web/pull/5166) * Enhancement - Accessible status indicators: [#5182](https://github.com/owncloud/web/pull/5182) * Enhancement - TypeScript Support: [#5194](https://github.com/owncloud/web/pull/5194) * Enhancement - Visibility observer: [#5194](https://github.com/owncloud/web/pull/5194) * Enhancement - Add pagination: [#5224](https://github.com/owncloud/web/pull/5224) * Enhancement - Update ownCloud Design System to v7.4.2: [#5224](https://github.com/owncloud/web/pull/5224) * Enhancement - File editor mode: [#5226](https://github.com/owncloud/web/issues/5226) * Enhancement - Ability to update file resource fields: [#5311](https://github.com/owncloud/web/pull/5311) Details ------- * Bugfix - Hide left sidebar navigation when switching routes: [#5025](https://github.com/owncloud/web/pull/5025) On smaller screens, the left sidebar containing the extension navigation is collapsed. We've fixed that when the user expanded the sidebar and navigated to a different route the sidebar is collapsed again. https://github.com/owncloud/web/pull/5025 * Bugfix - Make sure IDs in HTML are unique: [#5028](https://github.com/owncloud/web/pull/5028) Quick action button IDs were repeated in every row of the file table, which isn't allowed in HTML (IDs must be unique per document). By changing to classes, this offense was resolved. The same goes for IDs in the people shares part of the sidebar where IDs are now appended with the share ID, which is necessary since they need to be both unique and referenced by ID for accessibility reasons. https://github.com/owncloud/web/pull/5028 https://github.com/owncloud/web/pull/5148 * Bugfix - Add docs link & fix translations on error page: [#5034](https://github.com/owncloud/web/pull/5034) The MissingConfigPage had a translated paragraph that didn't work because of an presumably unallowed `<br/>` tag inside the text. Also, the link to the GitHub repo was replace with a link to the web docs and public rocket chat. https://github.com/owncloud/web/pull/5034 * Bugfix - Translated user menu items: [#5042](https://github.com/owncloud/web/pull/5042) Some of the user menu items were not correctly translated, which is now fixed. https://github.com/owncloud/web/pull/5042 * Bugfix - Resizeable html container: [#5052](https://github.com/owncloud/web/pull/5052) We removed a critical accessibility offense by removing the hardcoded maximum-scale and allowing for user-scalable viewsizes. https://github.com/owncloud/web/pull/5052 * Bugfix - Make skip to main content link visible: [#5118](https://github.com/owncloud/web/pull/5118) We've fixed the z-index of the skip to main content link so that it is not hidden under different content anymore and is again visible on focus, with a visible focus border. https://github.com/owncloud/web/pull/5118 https://github.com/owncloud/web/pull/5167 * Bugfix - Hide "Create new public link" button: [#5126](https://github.com/owncloud/web/pull/5126) The button to create new public links was visible even if the user lacked the permissions to create one. It is now being hidden unless the user is allowed to create a share of the respective file. https://github.com/owncloud/web/pull/5126 * Bugfix - Upsert resource in filestable: [#5130](https://github.com/owncloud/web/pull/5130) When uploading an already existing resource in the filestable, we sometimes displayed both files in the filestable until the page got refreshed. We now check when uploading a file if it exists in the filestable and replace it there if that is the case. https://github.com/owncloud/web/pull/5130 * Bugfix - Prevent scrolling issues: [#5131](https://github.com/owncloud/web/pull/5131) In cases where the browser-window space was not enough to render all views the ui ended up with weird scrolling behavior. This has been fixed by restructuring the dom elements and giving them proper styles. https://github.com/owncloud/web/pull/5131 * Bugfix - Keyboard navigation for copy to clipboard: [#5147](https://github.com/owncloud/web/pull/5147) We've fixed that the buttons for copying (private/public) links to the clipboard were not usable via keyboard. https://github.com/owncloud/web/pull/5147 * Bugfix - Avoid duplicate loading of resources: [#5194](https://github.com/owncloud/web/pull/5194) On the personal route, we had a redirect case where resources would be loaded twice, which now is fixed. https://github.com/owncloud/web/pull/5194 * Bugfix - Reduced Thumbnail Size: [#5194](https://github.com/owncloud/web/pull/5194) We have greatly reduced the size of the images we request from the backend to display as thumbnail previews in order to minimize loading times. https://github.com/owncloud/web/pull/5194 * Bugfix - Add index route for the OC10 integration: [#5201](https://github.com/owncloud/web/pull/5201) Added an index route for the OC10 integration which gets called when opening http://your-server/index.php/apps/web. The route basically redirects to the same URL while appending /index.html, as this is the correct URL for accessing the Web UI. Setting Web as default layout would result in an endless redirect loop otherwise. https://github.com/owncloud/core/issues/38799 https://github.com/owncloud/web/pull/5201 * Bugfix - Show `0` as used quota if a negative number is given: [#5229](https://github.com/owncloud/web/pull/5229) In the case if the server returns a negative number as used quota (what should not happen) show `0 B of 2 GB` and not only of ` 2 GB` https://github.com/owncloud/web/pull/5229 * Bugfix - Prevent `fileTypeIcon` to throw a TypeError: [#5253](https://github.com/owncloud/web/pull/5253) The function would die with `TypeError: file.extension.toLowerCase is not a function` if `file.extension` was set to something that is not a string. https://github.com/owncloud/web/pull/5253 * Bugfix - Do not call Vuex create store multiple times: [#5254](https://github.com/owncloud/web/pull/5254) We've moved the create Vuex store logic into the index file of Web runtime to prevent initialising the store multiple times. https://github.com/owncloud/web/pull/5254 * Bugfix - Center MediaViewer loading spinner: [#5270](https://github.com/owncloud/web/pull/5270) The loading spinner in the media viewer app wasn't centered vertically since the wrapping element was to small. It has now been given a min-height of the current screen size. https://github.com/owncloud/web/issues/5196 https://github.com/owncloud/web/pull/5270 * Bugfix - Remove unnecessary Propfind requests: [#5340](https://github.com/owncloud/web/pull/5340) In the the files-app views `Favorites`, `SharedViaLink`, `SharedWithMe` and `SharedWithOthers` we did a unnecessary propfind request to obtain the rootFolder which is not required there. This has been fixed by removing those requests. https://github.com/owncloud/web/pull/5340 * Enhancement - Introduce image cache: [#3098](https://github.com/owncloud/web/issues/3098) We have added a (configurable) cache for thumbnails and avatar images to avoid loading the same files over and over again. https://github.com/owncloud/web/issues/3098 https://github.com/owncloud/web/pull/5194 * Enhancement - Use `oc-select` for role select: [#4937](https://github.com/owncloud/web/pull/4937) We've used the new `oc-select` component from ODS for selecting role in people and public links accordions in the right sidebar. We are using this component to enable keyboard navigation when selecting the role. https://github.com/owncloud/web/pull/4937 * Enhancement - Asynchronous loading of images: [#4973](https://github.com/owncloud/web/issues/4973) Thumbnail and avatar images now get loaded in the background and don't block the main rendering of the user interface. https://github.com/owncloud/web/issues/4973 https://github.com/owncloud/web/pull/5194 * Enhancement - Improve accessibility for the files sidebar: [#5000](https://github.com/owncloud/web/pull/5000) We've did several improvements to enhance the accessibility on the files sidebar: - Transformed the file name to a h2 element - Transformed the "Open folder"-action to a link instead of a button - Transformed the favorite-star to a button-element - Adjusted aria-label of the favorite-star to describe what it does instead of its current state - Added a more descriptive close button label - Clicking outside of the sidebar now closes it - Removed the aria-label on the action buttons as they already include proper labels - Added a hint for screen readers if an action opens a new window/tab - Make sidebar header sticky https://github.com/owncloud/web/pull/5000 https://github.com/owncloud/web/pull/5266 * Enhancement - Update owncloud Design System to v7.1.2: [#5002](https://github.com/owncloud/web/pull/5002) - Lots of updates regarding accessibility topics - Removal of home icon in breadcrumbs, changed to "All files" link as breadcrumb root - Added aria-labels to all landmarks in sidebar and proper logo-alt attribute to image in sidebar https://github.com/owncloud/web/pull/5002 https://github.com/owncloud/web/pull/5044 https://github.com/owncloud/web/pull/5074 https://github.com/owncloud/web/pull/5186 https://github.com/owncloud/web/pull/5189 * Enhancement - Move hint in the Location picker under breadcrumbs: [#5008](https://github.com/owncloud/web/pull/5008) We've moved the hint that is describing how to use the Location picker from sidebar under the breadcrumbs. There is navigation of the Files extension displayed in the sidebar now instead. https://github.com/owncloud/web/pull/5008 * Enhancement - Improve accessibility on user menu: [#5010](https://github.com/owncloud/web/pull/5010) Wrapped the user menu button in a nav element and added an aria-label which describes it as main navigation. https://github.com/owncloud/web/pull/5010 * Enhancement - Use a proper definition list for the account settings page: [#5012](https://github.com/owncloud/web/pull/5012) https://github.com/owncloud/web/pull/5012 * Enhancement - Enable focus trap in oc-modal: [#5013](https://github.com/owncloud/web/pull/5013) After the recent changes in ODS, the oc-modal can now use a focus-trap which is a feature needed for accessibility-reasons. https://github.com/owncloud/web/pull/5013 * Enhancement - Move breadcrumbs out of location picker heading: [#5020](https://github.com/owncloud/web/pull/5020) We've moved the breadcrumbs element out of the location picker heading and moved it under it. The heading is now also reflecting the page title. We've also decreased the size of both breadcrumbs and action buttons so that they fit better together. https://github.com/owncloud/web/pull/5020 * Enhancement - Add focus trap to left sidebar: [#5027](https://github.com/owncloud/web/pull/5027) We've added a focus trap to the left sidebar on smaller resolutions when it's collapsible. If the sidebar is opened and focused, the focus stays within the sidebar. https://github.com/owncloud/web/pull/5027 * Enhancement - Improve a11y in the files sidebar peoples & shares section: [#5034](https://github.com/owncloud/web/pull/5034) We've did several improvements to enhance the accessibility on the files sidebar: - Gave `role="presentation" to the collaborator avatar - Refactored `<span>` and `<div>` tags into `<p>` tags and unified translations a bit - Enhanced hints in the collaborator quick action buttons with collaborator name - Hide private links if the capability is not enabled - Set avatar-images to `:aria-hidden="true"` since they're only visual elements and can be hidden from screenreaders - Changed `<section>` wrapper around private link shares - Removed `<section>` wrapper around public link shares - Removed `<section>` wrapper around collaborators - Added screenreader-only explain texts regarding collaborator/share ownership - Added aria-label for share receiver section - Worked on unifying the way we handle translations: Focus on v-translate and $gettext() - Turn tags into `<ul> & <li>` list, add aria-labelledby to both tag list and resharer tag list - Translated "Open with $appName" for sidebar quick actions https://github.com/owncloud/web/pull/5034 https://github.com/owncloud/web/pull/5043 https://github.com/owncloud/web/pull/5121 * Enhancement - Remove autoclose on notifications: [#5040](https://github.com/owncloud/web/pull/5040) The autoclose is now being handled in the design system component. The timeout can be set via property. https://github.com/owncloud/web/pull/5040 * Enhancement - Improve accessibility on trash bin: [#5046](https://github.com/owncloud/web/pull/5046) Add more context to the empty trash bin button text and only render it, if resources are present. https://github.com/owncloud/web/pull/5046 * Enhancement - Button appearance: [#5053](https://github.com/owncloud/web/pull/5053) Changed the appearance of the "accept/decline share" buttons in the "Shared With Me" file list so they actually look like buttons. Also changed the "Clear selection" button in the files table batch actions from `raw` to `outline` appearance. https://github.com/owncloud/web/pull/5053 https://github.com/owncloud/web/pull/5148 * Enhancement - OcTooltip: [#5055](https://github.com/owncloud/web/pull/5055) We've changed the tooltip implementation to use oc-tooltip directive from ODS instead of uikit's. https://github.com/owncloud/web/issues/4654 https://github.com/owncloud/web/issues/2623 https://github.com/owncloud/web/issues/4597 https://github.com/owncloud/web/issues/4332 https://github.com/owncloud/web/issues/4300 https://github.com/owncloud/web/issues/5155 https://github.com/owncloud/web/pull/5055 * Enhancement - Improve accessibility on new file menu: [#5058](https://github.com/owncloud/web/pull/5058) We now use buttons instead of a-tags in the new file menu. Also fixed the double-focus per item when navigating via tab. https://github.com/owncloud/web/pull/5058 * Enhancement - Use slots in the navigation sidebar: [#5105](https://github.com/owncloud/web/pull/5105) In the new sidebar content is defined solely via slots. We've moved all the content into those slots so that the sidebar still gets displayed correctly. https://github.com/owncloud/web/pull/5105 * Enhancement - Do not reset file selection when cancelling batch delete: [#5107](https://github.com/owncloud/web/pull/5107) We've removed the reset selection method call when cancelling batch delete. If the user now cancels the delete dialog, the file selection stays as it was before displaying the dialog. https://github.com/owncloud/web/pull/5107 * Enhancement - Send focus to "Add people" btn after closing Add/Edit panels: [#5129](https://github.com/owncloud/web/pull/5129) We've started sending the focus to "Add people" button after the `Add` panel in the people accordion has been closed. Also, when editing a share the focus jumps back to the "Edit" button in the respective share after cancelling or confirming the action. https://github.com/owncloud/web/pull/5129 https://github.com/owncloud/web/pull/5146 * Enhancement - Improve a11y colors: [#5138](https://github.com/owncloud/web/pull/5138) To get a11y compliant it's required that colors match a given contrast ratio to it's back-/fore-/ground. We improved this on: - all ODS components - all oc-color variables - oc-star in sidebar https://github.com/owncloud/web/pull/5138 * Enhancement - Confirmation message when copying links: [#5147](https://github.com/owncloud/web/pull/5147) We've added confirmation messages (toasts) when a private or public link is copied to the clipboard. https://github.com/owncloud/web/pull/5147 * Enhancement - Hide left sidebar if no navitems are present: [#5149](https://github.com/owncloud/web/pull/5149) For extensions / pages without nav items and public link pages, we now hide the left sidebar to not confuse screen readers and give more screen space for the content. https://github.com/owncloud/web/pull/5149 * Enhancement - Request cancellation: [#5163](https://github.com/owncloud/web/issues/5163) Requests (e.g. loading of images) can now be pragmatically cancelled from the client side. Before, obsolete requests would still create load on the server and return results that then would be discarded by the web frontend. https://github.com/owncloud/web/issues/5163 https://github.com/owncloud/web/pull/5194 * Enhancement - Focus breadcrumb on route change: [#5166](https://github.com/owncloud/web/pull/5166) We now focus the current breadcrumb item when navigating to another page and announce the amount of files and folders in the folder the user has navigated to. https://github.com/owncloud/web/pull/5166 * Enhancement - Accessible status indicators: [#5182](https://github.com/owncloud/web/pull/5182) To make both the clickable (button) and the visible (icon) part of the status indicators in the files table accessible, we have added a description, in addition to the tooltip and `aria-label`. https://github.com/owncloud/web/pull/5182 * Enhancement - TypeScript Support: [#5194](https://github.com/owncloud/web/pull/5194) We have added support for TypeScript and started to refactor parts of the codebase. This will help us provide clearer interfaces and catch bugs earlier. https://github.com/owncloud/web/pull/5194 * Enhancement - Visibility observer: [#5194](https://github.com/owncloud/web/pull/5194) By adding a visibility observer, we now only load image previews for those files that are close to the user's viewport. It is also equipped with a short waiting period so scrolling doesn't lead to an overload of requests. https://github.com/owncloud/web/pull/5194 * Enhancement - Add pagination: [#5224](https://github.com/owncloud/web/pull/5224) We've added pagination to all files lists. Current limit for displayed resources is 100. https://github.com/owncloud/web/pull/5224 https://github.com/owncloud/web/pull/5309 * Enhancement - Update ownCloud Design System to v7.4.2: [#5224](https://github.com/owncloud/web/pull/5224) We've updated ownCloud Design System to version 7.4.2 to bring the new pagination component. https://github.com/owncloud/web/pull/5224 https://github.com/owncloud/web/pull/5292 https://github.com/owncloud/web/pull/5319 https://github.com/owncloud/owncloud-design-system/releases/tag/v7.4.1 https://github.com/owncloud/owncloud-design-system/releases/tag/v7.4.2 * Enhancement - File editor mode: [#5226](https://github.com/owncloud/web/issues/5226) We've added a parameter called `mode` to the different ways of opening a file editor. The mode can be `edit` or `create` and reflects whether the file editor was opened in an editing mode or in a creation mode. https://github.com/owncloud/web/issues/5226 https://github.com/owncloud/web/pull/5256 * Enhancement - Ability to update file resource fields: [#5311](https://github.com/owncloud/web/pull/5311) We've introduced the ability to update individual resource fields only instead of updating the whole resource at once. https://github.com/owncloud/web/pull/5311 Changelog for ownCloud Web [3.2.0] (2021-05-31) ======================================= The following sections list the changes in ownCloud web 3.2.0 relevant to ownCloud admins and users. [3.2.0]: https://github.com/owncloud/web/compare/v3.1.0...v3.2.0 Summary ------- * Bugfix - Correct sharee tag: [#5112](https://github.com/owncloud/web/pull/5112) * Bugfix - Correct navigation through "via"-tags: [#5122](https://github.com/owncloud/web/pull/5122) * Enhancement - Prompts leaving user about pending uploads: [#2590](https://github.com/owncloud/web/issues/2590) * Enhancement - Confirmation for public link deletion: [#5125](https://github.com/owncloud/web/pull/5125) * Enhancement - Continuously deployed demo instance with latest Web: [#5145](https://github.com/owncloud/web/pull/5145) * Enhancement - Configure previews: [#5159](https://github.com/owncloud/web/pull/5159) Details ------- * Bugfix - Correct sharee tag: [#5112](https://github.com/owncloud/web/pull/5112) The tag _inside_ a shared folder always announced the current user as "owner", since the shares lookup didn't check for the parent folders' ownership. This has been fixed now and users get the correct tag (e.g. "Viewer", "Editor" etc) in the sidebar. https://github.com/owncloud/web/pull/5112 * Bugfix - Correct navigation through "via"-tags: [#5122](https://github.com/owncloud/web/pull/5122) The "shared via X" link in the indirect share tag in the sidebar was navigating to the parent directory of the indirect share entry. This has been fixed for the collaborators sidebar section and the link target is the share entry itself now. https://github.com/owncloud/web/pull/5122 * Enhancement - Prompts leaving user about pending uploads: [#2590](https://github.com/owncloud/web/issues/2590) Added an unload event listener that detects closes/ reloads/ navigates to another URL. Added prompt that ask for confirmation to leave site on unload events if uploads pending. Removed the event listener before destroy of component. https://github.com/owncloud/web/issues/2590 https://github.com/owncloud/web/pull/4840 * Enhancement - Confirmation for public link deletion: [#5125](https://github.com/owncloud/web/pull/5125) The deletion of public links is an irreversible interaction and should be handled with more care since users might have bookmarked or shared with other people. We have added a confirmation modal now to prevent users from accidentally deleting public links. https://github.com/owncloud/web/pull/5125 * Enhancement - Continuously deployed demo instance with latest Web: [#5145](https://github.com/owncloud/web/pull/5145) Whenever a commit or merge to master happens, a demo instance with the latest Web build will be deployed. https://github.com/owncloud/web/pull/5145 * Enhancement - Configure previews: [#5159](https://github.com/owncloud/web/pull/5159) We introduced a new config option to configure which file will be previewed. To do so, add `"options.previewFileExtensions": ["jpg", "txt"]` in the config.json file. https://github.com/owncloud/web/issues/5079 https://github.com/owncloud/web/pull/5159 Changelog for ownCloud Web [3.1.0] (2021-05-12) ======================================= The following sections list the changes in ownCloud web 3.1.0 relevant to ownCloud admins and users. [3.1.0]: https://github.com/owncloud/web/compare/v3.0.0...v3.1.0 Summary ------- * Bugfix - Improve web container: [#4942](https://github.com/owncloud/web/pull/4942) * Bugfix - Display navigation for resolved private link: [#5023](https://github.com/owncloud/web/pull/5023) * Bugfix - Fix z-index on the new file menu: [#5056](https://github.com/owncloud/web/pull/5056) * Bugfix - Editors for all routes: [#5095](https://github.com/owncloud/web/pull/5095) * Enhancement - Enable files app search bar to be toggleable on a per-route basis: [#4815](https://github.com/owncloud/web/pull/4815) * Enhancement - Use list for displaying added people: [#4915](https://github.com/owncloud/web/pull/4915) * Enhancement - Accessibility improvements: [#4965](https://github.com/owncloud/web/pull/4965) * Enhancement - Show search button in search bar: [#4985](https://github.com/owncloud/web/pull/4985) * Enhancement - Implement proper direct delete: [#4991](https://github.com/owncloud/web/pull/4991) * Enhancement - Focus management: [#4993](https://github.com/owncloud/web/pull/4993) * Enhancement - Align headline hierarchy: [#5003](https://github.com/owncloud/web/issues/5003) * Enhancement - Use real page title for location picker: [#5009](https://github.com/owncloud/web/pull/5009) * Enhancement - Extension config: [#5024](https://github.com/owncloud/web/pull/5024) * Enhancement - Lazy file avatar loading: [#5073](https://github.com/owncloud/web/pull/5073) Details ------- * Bugfix - Improve web container: [#4942](https://github.com/owncloud/web/pull/4942) The wrapping `index.html.ejs` had some minor problems with HTML validators which are now fixed. https://github.com/owncloud/web/pull/4942 * Bugfix - Display navigation for resolved private link: [#5023](https://github.com/owncloud/web/pull/5023) We've fixed that the navigation in the left sidebar is visible for a resolved private link as well https://github.com/owncloud/web/pull/5023 * Bugfix - Fix z-index on the new file menu: [#5056](https://github.com/owncloud/web/pull/5056) Added a z-index to files-view because it prevented the new file menu from having a higher z-index than the table headers. As a result the new file menu was being overlapped by them. https://github.com/owncloud/web/pull/5056 * Bugfix - Editors for all routes: [#5095](https://github.com/owncloud/web/pull/5095) If an extension doesn't define valid routes it should be allowed for all routes by default. That behaviour was not working properly and is fixed now. https://github.com/owncloud/web/pull/5095 * Enhancement - Enable files app search bar to be toggleable on a per-route basis: [#4815](https://github.com/owncloud/web/pull/4815) Permits the search bar in the files app to be toggleable on a per-route basis as shown or hidden. https://github.com/owncloud/web/pull/4815 * Enhancement - Use list for displaying added people: [#4915](https://github.com/owncloud/web/pull/4915) We've changed the HTML elements in the people accordion when adding new people. People added via people autocomplete are now displayed in a list element to use correct structure for screen readers. https://github.com/owncloud/web/pull/4915 * Enhancement - Accessibility improvements: [#4965](https://github.com/owncloud/web/pull/4965) A lot of random changes: - Extracted some helper classes to ODS & unified their usage - Removed `<br>` tags that were incorrectly used for spacing - Used `<h4>` tags for headings in the files sidebar - Make skip-to-main button translate-able - Update searchbar label string - Renamed "personal files" to "all files" in routes (soft rename, due to changes in the future) - Updated ODS to v6.0.3, making row heights theme-able and bringing a more accessible avatar component that improves loading of users' profile pictures - Translate quick action labels/tooltips properly - Added a note about actions being available above the file list to the live region update for selection https://github.com/owncloud/web/pull/4965 https://github.com/owncloud/web/pull/4975 https://github.com/owncloud/web/pull/5030 https://github.com/owncloud/web/pull/5088 * Enhancement - Show search button in search bar: [#4985](https://github.com/owncloud/web/pull/4985) https://github.com/owncloud/web/pull/4985 * Enhancement - Implement proper direct delete: [#4991](https://github.com/owncloud/web/pull/4991) We implemented a proper delete action for a single file instead of reusing the batch action for deleting multiple files. This also solves the issue with the checkbox being checked when opening the delete modal, which was not a11y compliant. https://github.com/owncloud/web/pull/4991 * Enhancement - Focus management: [#4993](https://github.com/owncloud/web/pull/4993) We added a mixin that makes it able to manage, record and reverse-replay the focus for the current document. The first components that using it are modal and sidebar in the files app. https://github.com/owncloud/web/issues/4992 https://github.com/owncloud/web/pull/4993 * Enhancement - Align headline hierarchy: [#5003](https://github.com/owncloud/web/issues/5003) Streamlined headline tags so that pages have a h1 tag and the headline hierarchy is adhered. https://github.com/owncloud/web/issues/5003 https://github.com/owncloud/web/pull/5004 https://github.com/owncloud/web/pull/5005 * Enhancement - Use real page title for location picker: [#5009](https://github.com/owncloud/web/pull/5009) We've added real page titles to the location picker. The title is consisted of the current action, target and product name. https://github.com/owncloud/web/pull/5009 * Enhancement - Extension config: [#5024](https://github.com/owncloud/web/pull/5024) Loading extension specific config was only possible for file editors. We now also load it in the general app information, so that it's available in the `apps` getter of the global vuex store. https://github.com/owncloud/web/pull/5024 * Enhancement - Lazy file avatar loading: [#5073](https://github.com/owncloud/web/pull/5073) We've changed the way how large file lists get rendered. In some cases where we had a long list of files, the loading of avatars could lead to long waiting times till the first paint happens. Now we first render the list of files, load the associated avatars in the background and then update the ui. https://github.com/owncloud/web/issues/4973 https://github.com/owncloud/web/pull/5073 Changelog for ownCloud Web [3.0.0] (2021-04-21) ======================================= The following sections list the changes in ownCloud web 3.0.0 relevant to ownCloud admins and users. [3.0.0]: https://github.com/owncloud/web/compare/v2.1.0...v3.0.0 Summary ------- * Bugfix - Only one `<main>` tag per HTML document: [#1652](https://github.com/owncloud/web/issues/1652) * Bugfix - Avatar url without double slash: [#4610](https://github.com/owncloud/web/issues/4610) * Bugfix - Open mediaviewer for upper case file extensions: [#4647](https://github.com/owncloud/web/issues/4647) * Bugfix - Parent paths traversal for shares: [#4860](https://github.com/owncloud/web/issues/4860) * Change - New files list: [#4627](https://github.com/owncloud/web/pull/4627) * Change - Update owncloud Design System to v6.0.1: [#4940](https://github.com/owncloud/web/pull/4940) * Enhancement - A11y improvements for files app bar: [#4786](https://github.com/owncloud/web/issues/4786) * Enhancement - Implement live region updates on route changes: [#4812](https://github.com/owncloud/web/pull/4812) * Enhancement - Enable files app search bar to be toggleable on a per-route basis: [#4815](https://github.com/owncloud/web/pull/4815) * Enhancement - Runtime theming: [#4822](https://github.com/owncloud/web/pull/4822) * Enhancement - Add "Shared via link" page: [#4881](https://github.com/owncloud/web/pull/4881) * Enhancement - Add web-pkg package: [#4907](https://github.com/owncloud/web/pull/4907) * Enhancement - Use list for displaying added people: [#4915](https://github.com/owncloud/web/pull/4915) * Enhancement - Use ODS translations: [#4934](https://github.com/owncloud/web/pull/4934) Details ------- * Bugfix - Only one `<main>` tag per HTML document: [#1652](https://github.com/owncloud/web/issues/1652) Only one `<main>` tag is allowed per HTML document. This change removes the ones in `web-container` and `web-runtime` and adds one to each extension (files-list, mediaviewer, markdowneditor, drawio) since they can't be loaded at the same time. https://github.com/owncloud/web/issues/1652 https://github.com/owncloud/web/pull/4627 * Bugfix - Avatar url without double slash: [#4610](https://github.com/owncloud/web/issues/4610) The avatar url added another superfluous slash after the instance url which resulted in the avatar not being able to load. https://github.com/owncloud/web/issues/4610 https://github.com/owncloud/web/pull/4849 * Bugfix - Open mediaviewer for upper case file extensions: [#4647](https://github.com/owncloud/web/issues/4647) We fixed a bug where the mediaviewer didn't open for files which had an uppercase (or mixed case) file extension. https://github.com/owncloud/web/issues/4647 https://github.com/owncloud/web/pull/4627 * Bugfix - Parent paths traversal for shares: [#4860](https://github.com/owncloud/web/issues/4860) We fixed a bug in parent paths traversals for loading shares. A path with a trailing slash was twice in the result of (parent-)paths, leading to fetching the existing shares on the current folder twice. Since we fetch incoming and outgoing shares this caused 2 unnecessary requests on every page load that changed into a child folder or a folder unrelated to the current path. https://github.com/owncloud/web/issues/4860 https://github.com/owncloud/web/pull/4918 * Change - New files list: [#4627](https://github.com/owncloud/web/pull/4627) We integrated the new oc-table-files component from our design system. This includes breaking changes in how we load resources in our files app. We refactored our files app codebase into views, so that only subcomponents live in the components directory. https://github.com/owncloud/web/pull/4627 * Change - Update owncloud Design System to v6.0.1: [#4940](https://github.com/owncloud/web/pull/4940) - Lots of updates regarding accessibility topics, an updated color palette and custom CSS properties to allow for (runtime) theming. - ODS started to use peerDependencies now, we adopted this and added the required packages https://github.com/owncloud/web/issues/4331 https://github.com/owncloud/web/pull/4940 https://github.com/owncloud/web/pull/4925 https://github.com/owncloud/web/pull/4862 https://github.com/owncloud/web/pull/4983 * Enhancement - A11y improvements for files app bar: [#4786](https://github.com/owncloud/web/issues/4786) If we select resources in the files list, an action context menu appears, to improve a11y we need an aria live region element to announce that. https://github.com/owncloud/web/issues/4786 https://github.com/owncloud/web/pull/4833 * Enhancement - Implement live region updates on route changes: [#4812](https://github.com/owncloud/web/pull/4812) https://github.com/owncloud/web/issues/4346 https://github.com/owncloud/web/pull/4812 * Enhancement - Enable files app search bar to be toggleable on a per-route basis: [#4815](https://github.com/owncloud/web/pull/4815) Permits the search bar in the files app to be toggleable on a per-route basis as shown or hidden. https://github.com/owncloud/web/pull/4815 * Enhancement - Runtime theming: [#4822](https://github.com/owncloud/web/pull/4822) It's now possible to specify a custom theme and have logos, brand slogan and colors changed to modify the appearance of your ownCloud web frontend. https://github.com/owncloud/web/issues/2362 https://github.com/owncloud/web/pull/4822 * Enhancement - Add "Shared via link" page: [#4881](https://github.com/owncloud/web/pull/4881) We've added a new page called "Shared via link". This page displays a files list containing only resources shared via public links. https://github.com/owncloud/web/pull/4881 * Enhancement - Add web-pkg package: [#4907](https://github.com/owncloud/web/pull/4907) We added web-pkg as a new package. It is supposed to be the central location for reuse of generic functionality. https://github.com/owncloud/web/pull/4907 * Enhancement - Use list for displaying added people: [#4915](https://github.com/owncloud/web/pull/4915) We've changed the HTML elements in the people accordion when adding new people. People added via people autocomplete are now displayed in a list element to use correct structure for screen readers. https://github.com/owncloud/web/pull/4915 * Enhancement - Use ODS translations: [#4934](https://github.com/owncloud/web/pull/4934) Some ODS components were using their own translation strings which were available in the ODS but not exported there/imported in the web project. Now, we import the translation strings from the ODS package and merge them with the web translations. https://github.com/owncloud/web/pull/4934 Changelog for ownCloud Web [2.1.0] (2021-03-24) ======================================= The following sections list the changes in ownCloud web 2.1.0 relevant to ownCloud admins and users. [2.1.0]: https://github.com/owncloud/web/compare/v2.0.2...v2.1.0 Summary ------- * Bugfix - Remove unsupported shareType: [#4809](https://github.com/owncloud/web/pull/4809) * Bugfix - NODE_ENV based on rollup mode: [#4819](https://github.com/owncloud/web/issues/4819) * Bugfix - Fix missing translations in application menu: [#4830](https://github.com/owncloud/web/pull/4830) * Enhancement - A11y improvements for meta attributes: [#4342](https://github.com/owncloud/web/issues/4342) * Enhancement - Set locale on moment-js to render translated strings: [#4826](https://github.com/owncloud/web/pull/4826) * Enhancement - Use pre-signed url download for password protected shares: [#38376](https://github.com/owncloud/core/pull/38376) Details ------- * Bugfix - Remove unsupported shareType: [#4809](https://github.com/owncloud/web/pull/4809) We don't support 'userGroup' (originally 'contact', shareType `2`) on the backend side anymore, so we delete it on the frontend, too. https://github.com/owncloud/web/pull/4809 * Bugfix - NODE_ENV based on rollup mode: [#4819](https://github.com/owncloud/web/issues/4819) The NODE_ENV was set to production by default, now we use development if rollup is started in watch mode so that the vue devtools can be used. https://github.com/owncloud/web/issues/4819 https://github.com/owncloud/web/pull/4820 * Bugfix - Fix missing translations in application menu: [#4830](https://github.com/owncloud/web/pull/4830) https://github.com/owncloud/web/pull/4830 * Enhancement - A11y improvements for meta attributes: [#4342](https://github.com/owncloud/web/issues/4342) For a11y the html language attribute will be set dynamically <html lang="xx"/>. For a11y the title will be set automatically following the schema: sub item (e.G file) - route (e.g All Files) - general name (e.g ownCloud) https://github.com/owncloud/web/issues/4342 https://github.com/owncloud/web/issues/4338 https://github.com/owncloud/web/pull/4811 * Enhancement - Set locale on moment-js to render translated strings: [#4826](https://github.com/owncloud/web/pull/4826) For i18n purposes we set the moment-js locale to the current selected locale (language) this allows us to show translated string for example in the updated column in the All files list (web-app-files package) https://github.com/owncloud/web/pull/4826 * Enhancement - Use pre-signed url download for password protected shares: [#38376](https://github.com/owncloud/core/pull/38376) Replaced the blob download with a normal download using a pre-signed url provided by the backend. https://github.com/owncloud/core/pull/38376 https://github.com/owncloud/web/pull/4689 Changelog for ownCloud Web [2.0.2] (2021-03-08) ======================================= The following sections list the changes in ownCloud web 2.0.2 relevant to ownCloud admins and users. [2.0.2]: https://github.com/owncloud/web/compare/v2.0.1...v2.0.2 Summary ------- * Change - Suppress redirect error during authorization: [#4759](https://github.com/owncloud/web/pull/4759) Details ------- * Change - Suppress redirect error during authorization: [#4759](https://github.com/owncloud/web/pull/4759) We've suppressed the error appearing in the console which warned about redirect happening after the oidc callback page. This error is being shown because after the oidc callback has successfully processed the authorization request we are redirecting to the `/` path which immediately does another redirect to the extension set as default one. In the context of Vue router, this is considered an error even though for us it is a valid use case. The error is only informative thus no issue is going to surface if we suppress it. This way we are getting closer to a clean console without errors. https://github.com/owncloud/web/pull/4759 Changelog for ownCloud Web [2.0.1] (2021-02-18) ======================================= The following sections list the changes in ownCloud web 2.0.1 relevant to ownCloud admins and users. [2.0.1]: https://github.com/owncloud/web/compare/v2.0.0...v2.0.1 Summary ------- * Bugfix - Allow search in additional share info: [#1656](https://github.com/owncloud/ocis/issues/1656) * Bugfix - Fix showing white page with no message if the config could not be parsed: [#4636](https://github.com/owncloud/web/issues/4636) * Bugfix - Fix oc10 deployment after switch to rollup: [#4757](https://github.com/owncloud/web/pull/4757) Details ------- * Bugfix - Allow search in additional share info: [#1656](https://github.com/owncloud/ocis/issues/1656) We fixed that searching for a potential sharee didn't look at the additional share info. https://github.com/owncloud/ocis/issues/1656 https://github.com/owncloud/web/pull/4753 * Bugfix - Fix showing white page with no message if the config could not be parsed: [#4636](https://github.com/owncloud/web/issues/4636) When the config file could not be parsed because of some mistake in the JSON, an empty page without any error message would be shown to the user. We've fixed that behavior and showing now an error page and details of the error in the console. https://github.com/owncloud/web/issues/4636 https://github.com/owncloud/web/pull/4749 * Bugfix - Fix oc10 deployment after switch to rollup: [#4757](https://github.com/owncloud/web/pull/4757) Our first release of the oc10 app after the switch to rollup as bundler had a bug as it didn't reflect the new folder structure of the app in the allowed folders. This has been fixed by updating the allowed folders. https://github.com/owncloud/web/pull/4757 Changelog for ownCloud Web [2.0.0] (2021-02-16) ======================================= The following sections list the changes in ownCloud web 2.0.0 relevant to ownCloud admins and users. [2.0.0]: https://github.com/owncloud/web/compare/v1.0.1...v2.0.0 Summary ------- * Change - Switch from webpack to rollup: [#4584](https://github.com/owncloud/web/pull/4584) * Change - Update ODS to 2.1.2: [#4594](https://github.com/owncloud/web/pull/4594) Details ------- * Change - Switch from webpack to rollup: [#4584](https://github.com/owncloud/web/pull/4584) We replaced the bundler that we used so far (webpack) with rollup and reorganized the project structure. This hopefully makes the project structure easier to understand and thus help with onboarding. Another improvement is that the overall bundle size is much smaller now. https://github.com/owncloud/web/pull/4584 * Change - Update ODS to 2.1.2: [#4594](https://github.com/owncloud/web/pull/4594) We updated the ownCloud Design System to 2.1.2. See the linked releases for details. https://github.com/owncloud/web/pull/4594 https://github.com/owncloud/owncloud-design-system/releases/tag/v2.1.0 https://github.com/owncloud/owncloud-design-system/releases/tag/v2.1.1 https://github.com/owncloud/owncloud-design-system/releases/tag/v2.1.2 Changelog for ownCloud Web [1.0.1] (2021-01-08) ======================================= The following sections list the changes in ownCloud web 1.0.1 relevant to ownCloud admins and users. [1.0.1]: https://github.com/owncloud/web/compare/v1.0.0...v1.0.1 Summary ------- * Bugfix - Fully clickable sidebar toggle button: [#4130](https://github.com/owncloud/web/issues/4130) * Bugfix - Allow server URL without trailing slash: [#4536](https://github.com/owncloud/web/pull/4536) * Change - Allow to disable previews in file lists: [#4513](https://github.com/owncloud/web/pull/4513) * Change - Add controllers for oc10 app deployment: [#4537](https://github.com/owncloud/web/pull/4537) * Change - Rename confirmation of copy action: [#4590](https://github.com/owncloud/web/pull/4590) Details ------- * Bugfix - Fully clickable sidebar toggle button: [#4130](https://github.com/owncloud/web/issues/4130) The button for hiding/showing the left sidebar (burger menu) was not fully clickable. We fixed this by removing a negative margin that pulled the rest of the topbar over the button. https://github.com/owncloud/web/issues/4130 https://github.com/owncloud/web/pull/4572 * Bugfix - Allow server URL without trailing slash: [#4536](https://github.com/owncloud/web/pull/4536) The server URL in the config was leading to issues resolving resources when it had no trailing slash. We are now checking if the trailing slash is missing and add it upon applying the config if needed. https://github.com/owncloud/web/pull/4536 * Change - Allow to disable previews in file lists: [#4513](https://github.com/owncloud/web/pull/4513) We introduced a new config option to disable previews. To do so, set `"disablePreviews": true` to the config.json file. https://github.com/owncloud/web/pull/4513 * Change - Add controllers for oc10 app deployment: [#4537](https://github.com/owncloud/web/pull/4537) We added a config endpoint for when ownCloud Web is deployed as ownCloud 10 app. The config.json file must not be placed in the apps folder because it would cause the app integrity check to fail. In addition to the config endpoint we added a wildcard endpoint for serving static assets (js bundles, css, etc) of the ownCloud Web javascript application by their paths. https://github.com/owncloud/web/pull/4537 * Change - Rename confirmation of copy action: [#4590](https://github.com/owncloud/web/pull/4590) We've changed the label of the confirmation button in copy view. Instead of "Copy here", we used "Paste here". https://github.com/owncloud/web/pull/4590 Changelog for ownCloud Web [1.0.0] (2020-12-16) ======================================= The following sections list the changes in ownCloud web 1.0.0 relevant to ownCloud admins and users. [1.0.0]: https://github.com/owncloud/web/compare/v0.29.0...v1.0.0 Summary ------- * Bugfix - Enable route checks for file actions: [#986](https://github.com/owncloud/ocis/issues/986) * Bugfix - Fix navigation rendering: [#1031](https://github.com/owncloud/ocis/issues/1031) * Bugfix - Hide modals on logout: [#1064](https://github.com/owncloud/ocis/issues/1064) * Bugfix - Do not use origin location to open editors: [#4500](https://github.com/owncloud/web/pull/4500) * Bugfix - Fix role selection for public links: [#4504](https://github.com/owncloud/web/pull/4504) * Enhancement - Wait for all required data: [#884](https://github.com/owncloud/ocis/issues/884) * Enhancement - Add the option to decline accepted shares: [#985](https://github.com/owncloud/ocis/issues/985) * Enhancement - Show status of accepted shares: [#985](https://github.com/owncloud/ocis/issues/985) * Enhancement - Position of main dom node: [#1052](https://github.com/owncloud/ocis/issues/1052) * Enhancement - Add custom configuration to the draw.io app: [#4337](https://github.com/owncloud/phoenix/pull/4337) * Enhancement - Add support for .vsdx files in the draw.io app: [#4337](https://github.com/owncloud/phoenix/pull/4337) * Enhancement - Add oc10 app build artifact: [#4427](https://github.com/owncloud/web/pull/4427) * Enhancement - Update ODS to 2.0.3: [#4488](https://github.com/owncloud/web/pull/4488) * Enhancement - Extend default apps: [#4493](https://github.com/owncloud/web/pull/4493) * Enhancement - Update ODS to 2.0.4: [#45001](https://github.com/owncloud/web/pull/45001) Details ------- * Bugfix - Enable route checks for file actions: [#986](https://github.com/owncloud/ocis/issues/986) The checks on which route an extension is enabled were not active (and inverted). We fixed this so that editors only appear on configured routes now. https://github.com/owncloud/ocis/issues/986 https://github.com/owncloud/web/pull/4436 * Bugfix - Fix navigation rendering: [#1031](https://github.com/owncloud/ocis/issues/1031) - ADD_NAV_ITEM mutation now gets copied instead of referenced to trigger a state change. - applicationsList navItem item needs a copy instead of mutating the base item - check for route.path instead of route name in ADD_NAV_ITEM which can change over time https://github.com/owncloud/ocis/issues/1031 https://github.com/owncloud/ocis/issues/1043 https://github.com/owncloud/phoenix/pull/4430 * Bugfix - Hide modals on logout: [#1064](https://github.com/owncloud/ocis/issues/1064) Hide shown modal if user gets logged out while it's visible https://github.com/owncloud/ocis/issues/1064 https://github.com/owncloud/web/pull/4472 * Bugfix - Do not use origin location to open editors: [#4500](https://github.com/owncloud/web/pull/4500) When opening the editors view in a new tab, we were using the origin of location. This would break in case we have Web deployed to a different path than root e.g. `http://owncloud/apps/web`. https://github.com/owncloud/web/pull/4500 * Bugfix - Fix role selection for public links: [#4504](https://github.com/owncloud/web/pull/4504) The dropdown for the role selection in public links was not working anymore - the model didn't react to selections. Fixed it by bringing back a field that was accidentally removed. https://github.com/owncloud/web/pull/4504 * Enhancement - Wait for all required data: [#884](https://github.com/owncloud/ocis/issues/884) Before this we rendered the ui no matter if every required data already is loaded or not. For example the current users language from the ocis settings service. One potential problem was the flickering in the ui or that the default language was shown before it switches to the settings language of current user. Instead we now show a loading screen and wait for everything that is required before rendering anything else. https://github.com/owncloud/ocis/issues/884 https://github.com/owncloud/ocis/issues/1043 * Enhancement - Add the option to decline accepted shares: [#985](https://github.com/owncloud/ocis/issues/985) Declined shares could be accepted retroactively but accepted shares could not be declined. https://github.com/owncloud/ocis/issues/985 * Enhancement - Show status of accepted shares: [#985](https://github.com/owncloud/ocis/issues/985) The status column of accepted shares was blank. https://github.com/owncloud/ocis/issues/985 * Enhancement - Position of main dom node: [#1052](https://github.com/owncloud/ocis/issues/1052) Div#main is now positioned relative, this way child apps are able to orientate their containers absolute to it. https://github.com/owncloud/ocis/issues/1052 https://github.com/owncloud/web/pull/4489 https://github.com/owncloud/owncloud-design-system/pull/1002 * Enhancement - Add custom configuration to the draw.io app: [#4337](https://github.com/owncloud/phoenix/pull/4337) Added mechanism to specify custom configuration instead of using a hardcoded one. The new settings include support for a custom draw.io server, enabling autosave and using a specific theme. https://github.com/owncloud/phoenix/issues/4328 https://github.com/owncloud/phoenix/pull/4337 * Enhancement - Add support for .vsdx files in the draw.io app: [#4337](https://github.com/owncloud/phoenix/pull/4337) Added the support to open .vsdx files (Microsoft Visio Files) directly from OwnCloud, instead of creating a new diagram to import the file from local storage. https://github.com/owncloud/phoenix/issues/4327 https://github.com/owncloud/phoenix/pull/4337 * Enhancement - Add oc10 app build artifact: [#4427](https://github.com/owncloud/web/pull/4427) We've added a build step to the release process which creates an ownCloud Web bundle which can be deployed as an app to ownCloud 10. https://github.com/owncloud/web/pull/4427 * Enhancement - Update ODS to 2.0.3: [#4488](https://github.com/owncloud/web/pull/4488) We've updated the ownCloud design system to version 2.0.3. https://github.com/owncloud/web/pull/4488 https://github.com/owncloud/owncloud-design-system/releases/tag/v2.0.3 * Enhancement - Extend default apps: [#4493](https://github.com/owncloud/web/pull/4493) When release tarballs are created, we are copying the config.json.dist into them as a default config. In that file were so far only "files" app enabled. This adds also "media viewer" and "draw-io" into apps enabled by default. https://github.com/owncloud/web/pull/4493 * Enhancement - Update ODS to 2.0.4: [#45001](https://github.com/owncloud/web/pull/45001) We've updated the ownCloud design system to version 2.0.4. https://github.com/owncloud/web/pull/45001 https://github.com/owncloud/owncloud-design-system/releases/tag/v2.0.4 Changelog for ownCloud Web [0.29.0] (2020-12-07) ======================================= The following sections list the changes in ownCloud web 0.29.0 relevant to ownCloud admins and users. [0.29.0]: https://github.com/owncloud/web/compare/v0.28.0...v0.29.0 Summary ------- * Bugfix - Public link glitches: [#1028](https://github.com/owncloud/ocis/issues/1028) * Change - Use labels to display share info: [#4410](https://github.com/owncloud/web/pull/4410) * Enhancement - Display full public and private links: [#4410](https://github.com/owncloud/web/pull/4410) Details ------- * Bugfix - Public link glitches: [#1028](https://github.com/owncloud/ocis/issues/1028) We fixed a couple of glitches with public links: - Creating a folder in a public link context was showing an error message although the folder was created correctly. This was happening because reloading the current folder didn't take the public link context into account. - For public links with editor role the batch actions at the top of the files list were not showing. The public links route didn't have a specific flag for showing the batch actions. - Quick actions for sharing are not available in public link contexts by design. The check printed an error in the javascript console though. We made this check silent now. https://github.com/owncloud/ocis/issues/1028 https://github.com/owncloud/web/pull/4425 * Change - Use labels to display share info: [#4410](https://github.com/owncloud/web/pull/4410) We've changed the way of displaying share information for public links and people. Every information is now displayed in its own label. https://github.com/owncloud/web/pull/4410 * Enhancement - Display full public and private links: [#4410](https://github.com/owncloud/web/pull/4410) Below the names of public and private links we've added the respective full URL so that users can copy it without the copy to clipboard button. https://github.com/owncloud/web/pull/4410 Changelog for ownCloud Web [0.28.0] (2020-12-04) ======================================= The following sections list the changes in ownCloud web 0.28.0 relevant to ownCloud admins and users. [0.28.0]: https://github.com/owncloud/web/compare/v0.27.0...v0.28.0 Summary ------- * Bugfix - Don't break file/folder names in text editor: [#4391](https://github.com/owncloud/web/pull/4391) * Change - Configurable home path: [#4411](https://github.com/owncloud/web/pull/4411) * Change - Show dedicated 404 page for invalid resource references: [#4411](https://github.com/owncloud/web/pull/4411) Details ------- * Bugfix - Don't break file/folder names in text editor: [#4391](https://github.com/owncloud/web/pull/4391) The label in the text editor that displays the path of the active file was removing the first character instead of trimming leading slashes. This might have lead to situations where actual characters were removed. We fixed this by only removing leading slashes instead of blindly removing the first character. https://github.com/owncloud/web/pull/4391 * Change - Configurable home path: [#4411](https://github.com/owncloud/web/pull/4411) We introduced a config.json option `homeFolder` which let's you specify a default location when opening the `All files` view. Please refer to the documentation for details. https://github.com/owncloud/web/pull/4411 https://owncloud.github.io/clients/web/getting-started/ * Change - Show dedicated 404 page for invalid resource references: [#4411](https://github.com/owncloud/web/pull/4411) When visiting a public link or the `All files` page with an invalid resource in the URL (e.g. because it was deleted in the meantime) we now show a dedicated page which explains that the resource could not be found and offers a link to go back to the respective root (»All files« home location or the root of the public link). The breadcrumbs have been made available on invalid resources as well, so that those could be used for more precise navigation instead of jumping back to the root. https://github.com/owncloud/web/pull/4411 Changelog for ownCloud Web [0.27.0] (2020-11-24) ======================================= The following sections list the changes in ownCloud web 0.27.0 relevant to ownCloud admins and users. [0.27.0]: https://github.com/owncloud/web/compare/v0.26.0...v0.27.0 Summary ------- * Bugfix - Unavailable extensions causing route duplication: [#4382](https://github.com/owncloud/web/pull/4382) * Change - Load extensions config: [#4380](https://github.com/owncloud/web/pull/4380) * Change - Configurable default extension: [#4382](https://github.com/owncloud/web/pull/4382) Details ------- * Bugfix - Unavailable extensions causing route duplication: [#4382](https://github.com/owncloud/web/pull/4382) There was an error in the extension loading handlers which caused routes to be loaded multiple times when extensions from the config.json were unavailable. We hardened the extension loading handlers to just skip those extensions. https://github.com/owncloud/web/pull/4382 * Change - Load extensions config: [#4380](https://github.com/owncloud/web/pull/4380) We've started loading the config of extensions which can now be defined as an object in the `external_apps` in the config.json. https://github.com/owncloud/web/pull/4380 * Change - Configurable default extension: [#4382](https://github.com/owncloud/web/pull/4382) We introduced a config option in the config.json file which allows to configure the default extension for ownCloud Web. Any of the configured extension ids can be chosen as default extension. If none is provided, we fall back to the files extension. https://github.com/owncloud/web/pull/4382 Changelog for ownCloud Web [0.26.0] (2020-11-23) ======================================= The following sections list the changes in ownCloud web 0.26.0 relevant to ownCloud admins and users. [0.26.0]: https://github.com/owncloud/web/compare/v0.25.0...v0.26.0 Summary ------- * Bugfix - Icon mappings: [#4357](https://github.com/owncloud/web/pull/4357) * Bugfix - Fix edit public link view: [#4374](https://github.com/owncloud/web/pull/4374) * Enhancement - Use handler of file editors: [#4324](https://github.com/owncloud/web/pull/4324) * Enhancement - Theme redirect and access denied pages: [#4373](https://github.com/owncloud/web/pull/4373) * Enhancement - Update ODS to 2.0.0: [#4373](https://github.com/owncloud/web/pull/4373) * Enhancement - Add custom icons in the new file menu: [#4375](https://github.com/owncloud/web/pull/4375) Details ------- * Bugfix - Icon mappings: [#4357](https://github.com/owncloud/web/pull/4357) The file type icon mappings contained some mappings to non-existing icon files. We fixed those. https://github.com/owncloud/ocis/issues/905 https://github.com/owncloud/web/pull/4357 * Bugfix - Fix edit public link view: [#4374](https://github.com/owncloud/web/pull/4374) We've fixed the issue that edit public link view in the sidebar was overlapping with the versions accordion. https://github.com/owncloud/web/pull/4374 * Enhancement - Use handler of file editors: [#4324](https://github.com/owncloud/web/pull/4324) In case the extension is a file editor which defines a custom handler, we are triggering that handler instead of trying to open any assigned route. https://github.com/owncloud/web/pull/4324 * Enhancement - Theme redirect and access denied pages: [#4373](https://github.com/owncloud/web/pull/4373) We've adjusted the theme on OIDC redirect and access denied pages to use correct logo and background. We've also added those two values into the theming capabilities. https://github.com/owncloud/web/pull/4373 * Enhancement - Update ODS to 2.0.0: [#4373](https://github.com/owncloud/web/pull/4373) We've updated the ownCloud design system to version 2.0.0. https://github.com/owncloud/web/pull/4373 https://github.com/owncloud/owncloud-design-system/releases/tag/v2.0.0 * Enhancement - Add custom icons in the new file menu: [#4375](https://github.com/owncloud/web/pull/4375) We've added an option to display own icon in the new file menu. https://github.com/owncloud/web/pull/4375 Changelog for ownCloud Web [0.25.0] (2020-11-16) ======================================= The following sections list the changes in ownCloud web 0.25.0 relevant to ownCloud admins and users. [0.25.0]: https://github.com/owncloud/web/compare/v0.24.0...v0.25.0 Summary ------- * Bugfix - Make available file actions (more) aware of the page context: [#4255](https://github.com/owncloud/web/pull/4255) * Bugfix - Fix loginAsUser: [#4297](https://github.com/owncloud/web/pull/4297) * Change - File actions as accordion item in right sidebar: [#4255](https://github.com/owncloud/web/pull/4255) * Enhancement - Added support for OpenID Connect Dynamic Client Registration 1.0: [#4286](https://github.com/owncloud/web/pull/4286) Details ------- * Bugfix - Make available file actions (more) aware of the page context: [#4255](https://github.com/owncloud/web/pull/4255) The list of available file actions sometimes contained actions which should not be possible and sometimes was missing actions that should be possible. Most important examples are that copy/move should not be available on `shared with me` and `shared with others` pages (but they were) and that the set of file actions from the `All files` page should also be available for the favorites page (but were not). https://github.com/owncloud/web/pull/4255 * Bugfix - Fix loginAsUser: [#4297](https://github.com/owncloud/web/pull/4297) LoginAsUser wasn't waiting until the loading finished. Added an additional check https://github.com/owncloud/web/pull/4297 * Change - File actions as accordion item in right sidebar: [#4255](https://github.com/owncloud/web/pull/4255) We moved the menu items from `file actions` dropdown menu (the "three dots menu") as accordion item into the right sidebar and made it the default item to be opened when clicking the three dots. For the sake of consistency we now also made the right sidebar available for the `Deleted files` page, where we offer the actions accordion item with a `Restore` and `Delete` action. https://github.com/owncloud/web/pull/4255 * Enhancement - Added support for OpenID Connect Dynamic Client Registration 1.0: [#4286](https://github.com/owncloud/web/pull/4286) OwnCloud Web can use the dynamic client registration protocol to exchange client id and client secret with the IdP https://github.com/owncloud/web/pull/4286 https://github.com/owncloud/web/pull/4306 Changelog for ownCloud Web [0.24.0] (2020-11-06) ======================================= The following sections list the changes in ownCloud web 0.24.0 relevant to ownCloud admins and users. [0.24.0]: https://github.com/owncloud/web/compare/v0.23.0...v0.24.0 Summary ------- * Bugfix - Fix browse to files page in the ui tests: [#4281](https://github.com/owncloud/web/issues/4281) * Enhancement - Display collaborators type: [#4203](https://github.com/owncloud/web/pull/4203) Details ------- * Bugfix - Fix browse to files page in the ui tests: [#4281](https://github.com/owncloud/web/issues/4281) When the ui tests where executing the "the user has browsed to the files page" step then it wouldn't wait until the files were loaded. https://github.com/owncloud/web/issues/4281 * Enhancement - Display collaborators type: [#4203](https://github.com/owncloud/web/pull/4203) We've added a new line into the collaborators autocomplete and list in the sidebar to display their type. https://github.com/owncloud/web/pull/4203 Changelog for ownCloud Web [0.23.0] (2020-10-30) ======================================= The following sections list the changes in ownCloud web 0.23.0 relevant to ownCloud admins and users. [0.23.0]: https://github.com/owncloud/web/compare/v0.22.0...v0.23.0 Summary ------- * Change - App sidebar accordion instead of tabs: [#4249](https://github.com/owncloud/web/pull/4249) Details ------- * Change - App sidebar accordion instead of tabs: [#4249](https://github.com/owncloud/web/pull/4249) We replaced the tabs in the right app-sidebar with an accordion. https://github.com/owncloud/web/pull/4249 Changelog for ownCloud Web [0.22.0] (2020-10-26) ======================================= The following sections list the changes in ownCloud web 0.22.0 relevant to ownCloud admins and users. [0.22.0]: https://github.com/owncloud/web/compare/v0.21.0...v0.22.0 Summary ------- * Change - Attach share permission to roles: [#4216](https://github.com/owncloud/web/pull/4216) * Change - Set icon for unknown file types to "file": [#4237](https://github.com/owncloud/web/pull/4237) * Change - Update ODS to v1.12.2: [#4239](https://github.com/owncloud/web/pull/4239) * Enhancement - Auto-close alerts: [#4236](https://github.com/owncloud/web/pull/4236) Details ------- * Change - Attach share permission to roles: [#4216](https://github.com/owncloud/web/pull/4216) We've attached the share permission of collaborators to roles. There is no longer a share additional permission. https://github.com/owncloud/web/pull/4216 * Change - Set icon for unknown file types to "file": [#4237](https://github.com/owncloud/web/pull/4237) We've changed the icon for unknown file types to "file". https://github.com/owncloud/web/pull/4237 https://owncloud.design/#/Design%20Tokens/Icon * Change - Update ODS to v1.12.2: [#4239](https://github.com/owncloud/web/pull/4239) We updated ODS to v1.12.2. Please refer to the changelog of ODS. https://github.com/owncloud/web/pull/4239 https://github.com/owncloud/owncloud-design-system/releases/tag/v1.12.2 * Enhancement - Auto-close alerts: [#4236](https://github.com/owncloud/web/pull/4236) We've added a property which enables alerts to be automatically closed. When enabling the auto-close, it will get assigned timeout of 5 seconds. Default timeout can be overwritten inside of the `autoClose` object. https://github.com/owncloud/web/pull/4236 Changelog for ownCloud Web [0.21.0] (2020-10-21) ======================================= The following sections list the changes in ownCloud web 0.21.0 relevant to ownCloud admins and users. [0.21.0]: https://github.com/owncloud/web/compare/v0.20.0...v0.21.0 Summary ------- * Bugfix - Do not display "empty folder" message when there is any content: [#263](https://github.com/owncloud/product/issues/263) * Bugfix - OIDC logout: [#266](https://github.com/owncloud/product/issues/266) * Change - Sensible default apps in example configs: [#4155](https://github.com/owncloud/web/pull/4155) Details ------- * Bugfix - Do not display "empty folder" message when there is any content: [#263](https://github.com/owncloud/product/issues/263) We've fixed that when some of the file/share lists were being loaded, the "empty folder" message sometimes briefly appeared even though the list wasn't empty. https://github.com/owncloud/product/issues/263 https://github.com/owncloud/web/pull/4162 * Bugfix - OIDC logout: [#266](https://github.com/owncloud/product/issues/266) We've fixed the bug that the user sometimes got immediately logged back into the web UI after clicking on logout. https://github.com/owncloud/product/issues/266 https://github.com/owncloud/web/pull/4211 * Change - Sensible default apps in example configs: [#4155](https://github.com/owncloud/web/pull/4155) We adapted the example configs for oc10 and owncloud so that the files and media-viewer apps are enabled by default. https://github.com/owncloud/web/pull/4155 Changelog for ownCloud Web [0.20.0] (2020-10-08) ======================================= The following sections list the changes in ownCloud web 0.20.0 relevant to ownCloud admins and users. [0.20.0]: https://github.com/owncloud/web/compare/v0.19.0...v0.20.0 Summary ------- * Change - Enable autoredirect to the IdP: [#4138](https://github.com/owncloud/web/pull/4138) Details ------- * Change - Enable autoredirect to the IdP: [#4138](https://github.com/owncloud/web/pull/4138) We've added a key into the theme to enable autoredirect to the IdP when entering ocis-web instead of displaying the login page first. The default value is set to true. https://github.com/owncloud/web/pull/4138 Changelog for ownCloud Web [0.19.0] (2020-10-06) ======================================= The following sections list the changes in ownCloud web 0.19.0 relevant to ownCloud admins and users. [0.19.0]: https://github.com/owncloud/web/compare/v0.18.0...v0.19.0 Summary ------- * Change - Customizable menu association: [#4133](https://github.com/owncloud/web/pull/4133) Details ------- * Change - Customizable menu association: [#4133](https://github.com/owncloud/web/pull/4133) We now allow the redirect navItems and links into the user menu. This can be done by simply assigning the `"menu": "user"` to the respective navItem. It works for both extensions and external links (`applications` key in config.json). https://github.com/owncloud/web/pull/4133 Changelog for ownCloud Web [0.18.0] (2020-10-05) ======================================= The following sections list the changes in ownCloud web 0.18.0 relevant to ownCloud admins and users. [0.18.0]: https://github.com/owncloud/web/compare/v0.17.0...v0.18.0 Summary ------- * Change - Change sharing wording: [#4120](https://github.com/owncloud/web/pull/4120) * Enhancement - Update owncloud-design-system to v1.12.1: [#4120](https://github.com/owncloud/web/pull/4120) Details ------- * Change - Change sharing wording: [#4120](https://github.com/owncloud/web/pull/4120) Renamed "Share" action to "Add people" and header column in the shared with list from "People" to "Shared with". https://github.com/owncloud/web/pull/4120 * Enhancement - Update owncloud-design-system to v1.12.1: [#4120](https://github.com/owncloud/web/pull/4120) We've updated our design system to version 1.12.1. To see all new changes which this update brings, please check the changelog below. https://github.com/owncloud/web/pull/4120 https://github.com/owncloud/owncloud-design-system/releases/tag/v1.12.1 Changelog for ownCloud Web [0.17.0] (2020-09-25) ======================================= The following sections list the changes in ownCloud web 0.17.0 relevant to ownCloud admins and users. [0.17.0]: https://github.com/owncloud/web/compare/v0.16.0...v0.17.0 Summary ------- * Bugfix - Make file previews properly fit: [#232](https://github.com/owncloud/product/issues/232) * Bugfix - Adjust behavior of public link password field: [#4077](https://github.com/owncloud/web/pull/4077) * Bugfix - Added missing tooltips: [#4081](https://github.com/owncloud/web/pull/4081) * Change - Add default action to click on file name: [#234](https://github.com/owncloud/product/issues/234) * Change - Moved bottom actions menu into actions dropdown: [#234](https://github.com/owncloud/product/issues/234) * Change - Renamed collaborators to people: [#4070](https://github.com/owncloud/web/pull/4070) * Change - Rename "trash bin" to "deleted files": [#4071](https://github.com/owncloud/web/pull/4071) * Change - Shortened button label for creating public links: [#4072](https://github.com/owncloud/web/pull/4072) * Change - Adjustments to roles selection dropdown: [#4080](https://github.com/owncloud/web/pull/4080) * Change - Update ODS to 1.11.0: [#4086](https://github.com/owncloud/web/pull/4086) * Change - Improve external links in app switcher: [#4092](https://github.com/owncloud/web/pull/4092) * Change - More descriptive loading state: [#4099](https://github.com/owncloud/web/pull/4099) * Enhancement - Remember public link password on page refresh: [#4083](https://github.com/owncloud/web/pull/4083) Details ------- * Bugfix - Make file previews properly fit: [#232](https://github.com/owncloud/product/issues/232) We've fixed the file preview to prevent overflowing vertically and also added CSS property to make sure the ratio is preserved https://github.com/owncloud/product/issues/232 https://github.com/owncloud/web/pull/4073 * Bugfix - Adjust behavior of public link password field: [#4077](https://github.com/owncloud/web/pull/4077) The UX of the public link password field has been improved. The field is focussed automatically and the enter key submits the password. Also, in case of wrong password, an error message is now displayed. https://github.com/owncloud/product/issues/231 https://github.com/owncloud/web/pull/4077 * Bugfix - Added missing tooltips: [#4081](https://github.com/owncloud/web/pull/4081) We've added tooltips for the following: - top bar: notifications button and application switcher - file list: share indicators and quick actions - sharing in sidebar: action icons like edit, delete, copy https://github.com/owncloud/product/issues/231 https://github.com/owncloud/web/pull/4081 * Change - Add default action to click on file name: [#234](https://github.com/owncloud/product/issues/234) When clicking on the file name in the files list, a default action is triggered which opens the first available file editor or viewer. If no file editor or viewer is available, the default action falls back to download. https://github.com/owncloud/product/issues/234 https://github.com/owncloud/web/pull/4076 https://github.com/owncloud/web/pull/4097 * Change - Moved bottom actions menu into actions dropdown: [#234](https://github.com/owncloud/product/issues/234) We've removed the bottom file actions menu and moved all actions into the actions dropdown in the files list. https://github.com/owncloud/product/issues/234 https://github.com/owncloud/web/pull/4076 * Change - Renamed collaborators to people: [#4070](https://github.com/owncloud/web/pull/4070) All visible occurrences of "collaborator" or "collaborators" have been replaced by "person" or "people" respectively. Additionally, the action "Add Collaborator" was changed to "Share". https://github.com/owncloud/product/issues/231 https://github.com/owncloud/web/pull/4070 * Change - Rename "trash bin" to "deleted files": [#4071](https://github.com/owncloud/web/pull/4071) We've renamed the "trash bin" to the more appropriate wording "deleted files". https://github.com/owncloud/product/issues/231 https://github.com/owncloud/web/pull/4071 * Change - Shortened button label for creating public links: [#4072](https://github.com/owncloud/web/pull/4072) The label of the button for creating public links in the links panel has been shortened to "Public link" instead of "Add public link" since the plus sign already implies adding. An Aria label has been added for clarification when using screen readers. https://github.com/owncloud/web/issues/231 https://github.com/owncloud/web/pull/4072 * Change - Adjustments to roles selection dropdown: [#4080](https://github.com/owncloud/web/pull/4080) The role description text from the roles selection button has been removed, but is still visible when opening the dropdown. The dropdown now also has a chevron icon to make it clearer that it is a dropdown. https://github.com/owncloud/product/issues/231 https://github.com/owncloud/web/pull/4080 * Change - Update ODS to 1.11.0: [#4086](https://github.com/owncloud/web/pull/4086) We updated owncloud design system (ODS) to 1.11.0. This brings some features and required some changes: - Buttons: - require to be placed in a grid or with uk-flex for side by side positioning, - don't have an icon property anymore, - have a slot so that content of the button can be just anything - placement of the content in the button can be modified with new props `justify-content` and `gap` - new icons, which are used in the sidebar and for quick actions - sidebar has a property for hiding the navigation. It doesn't have internal logic anymore for hiding the navigation automatically. https://github.com/owncloud/web/pull/4086 * Change - Improve external links in app switcher: [#4092](https://github.com/owncloud/web/pull/4092) We have added an option to set the link target in external application links (defaults to `_blank`). The app switcher now shows all native extensions first and items based on application links last. https://github.com/owncloud/web/pull/4092 * Change - More descriptive loading state: [#4099](https://github.com/owncloud/web/pull/4099) When browsing the different variations of the files list we removed the loader component at the top in favor of a spinner in the center of the viewport. The spinner has one line of text which describes what kind of data is being loaded. https://github.com/owncloud/web/pull/4099 * Enhancement - Remember public link password on page refresh: [#4083](https://github.com/owncloud/web/pull/4083) When refreshing the page in the file list of a public link share, the user doesn't need to enter the password again. This only applies for the current page and the password is forgotten by the browser again upon closing or switching to another site. https://github.com/owncloud/product/issues/231 https://github.com/owncloud/web/pull/4083 Changelog for ownCloud Web [0.16.0] (2020-08-24) ======================================= The following sections list the changes in ownCloud web 0.16.0 relevant to ownCloud admins and users. [0.16.0]: https://github.com/owncloud/web/compare/v0.15.0...v0.16.0 Summary ------- * Change - Add default external apps for ocis: [#3967](https://github.com/owncloud/web/pull/3967) * Enhancement - Add info about number of selected items and their size: [#122](https://github.com/owncloud/product/issues/122) Details ------- * Change - Add default external apps for ocis: [#3967](https://github.com/owncloud/web/pull/3967) We are enabling the settings-ui and accounts-ui by default now for ocis. https://github.com/owncloud/web/pull/3967 * Enhancement - Add info about number of selected items and their size: [#122](https://github.com/owncloud/product/issues/122) We've added information about the number of selected items and their size above the files list next to batch actions. https://github.com/owncloud/product/issues/122 https://github.com/owncloud/web/pull/3850 Changelog for ownCloud Web [0.15.0] (2020-08-19) ======================================= The following sections list the changes in ownCloud web 0.15.0 relevant to ownCloud admins and users. [0.15.0]: https://github.com/owncloud/web/compare/v0.14.0...v0.15.0 Summary ------- * Change - Adapt to new ocis-settings data model: [#3806](https://github.com/owncloud/web/pull/3806) Details ------- * Change - Adapt to new ocis-settings data model: [#3806](https://github.com/owncloud/web/pull/3806) Ocis-settings introduced UUIDs and less verbose endpoint and message type names. This PR adjusts web accordingly. https://github.com/owncloud/web/pull/3806 https://github.com/owncloud/owncloud-sdk/pull/520 https://github.com/owncloud/ocis-settings/pull/46 Changelog for ownCloud Web [0.14.0] (2020-08-17) ======================================= The following sections list the changes in ownCloud web 0.14.0 relevant to ownCloud admins and users. [0.14.0]: https://github.com/owncloud/web/compare/v0.13.0...v0.14.0 Summary ------- * Bugfix - Fix display name when using oCIS as backend: [#3938](https://github.com/owncloud/web/pull/3938) * Change - Provide option for hiding the search bar: [#116](https://github.com/owncloud/product/issues/116) * Change - Move information about current folder below the files list: [#120](https://github.com/owncloud/product/issues/120) * Change - Move quota indication to the left sidebar: [#121](https://github.com/owncloud/product/issues/121) * Change - Get rid of static "Shared with:" label: [#123](https://github.com/owncloud/product/issues/123) * Change - Differentiate between user-id and username: [#440](https://github.com/owncloud/ocis/issues/440) * Change - Large file downloads support with URL signing: [#3797](https://github.com/owncloud/web/pull/3797) * Change - Use pre-signed URLs in media viewer: [#3803](https://github.com/owncloud/web/pull/3803) * Change - Move docs about hugo usage to ocis: [#3828](https://github.com/owncloud/web/pull/3828) * Enhancement - Enable playing videos in media viewer: [#3803](https://github.com/owncloud/web/pull/3803) Details ------- * Bugfix - Fix display name when using oCIS as backend: [#3938](https://github.com/owncloud/web/pull/3938) We've fixed the display name when running ocis-web with oCIS as backend. The display name is now again displayed in the top bar and in the account page. https://github.com/owncloud/web/pull/3938 * Change - Provide option for hiding the search bar: [#116](https://github.com/owncloud/product/issues/116) We introduced a new `options.hideSearchBar` config variable which can be used to disable the search bar entirely. https://github.com/owncloud/product/issues/116 https://github.com/owncloud/web/pull/3817 * Change - Move information about current folder below the files list: [#120](https://github.com/owncloud/product/issues/120) We've moved the information about current folder directly below the files list. Previously this information was always displayed on the bottom of the screen. https://github.com/owncloud/product/issues/120 https://github.com/owncloud/web/pull/3849 * Change - Move quota indication to the left sidebar: [#121](https://github.com/owncloud/product/issues/121) We've moved the quota indication from the bottom of the files list to the footer of the left sidebar. https://github.com/owncloud/product/issues/121 https://github.com/owncloud/web/pull/3849 * Change - Get rid of static "Shared with:" label: [#123](https://github.com/owncloud/product/issues/123) We removed the static "Shared with:" text label in the indicator row of file items. From now on, if a file item has no indicators, it will fall back to the one-row layout (resource name vertically centered). https://github.com/owncloud/product/issues/123 https://github.com/owncloud/web/pull/3808 * Change - Differentiate between user-id and username: [#440](https://github.com/owncloud/ocis/issues/440) With oCIS user-id and username are not the same as is the case in ownCloud 10. We've started differentiating between them to correctly display all information in the accounts page. If the username is not available (oC10), we fall back to using user-id as the username. https://github.com/owncloud/ocis/issues/440 https://github.com/owncloud/web/pull/3938 * Change - Large file downloads support with URL signing: [#3797](https://github.com/owncloud/web/pull/3797) When the backend supports URL signing we now download with a signed url instead of downloading as BLOB. https://github.com/owncloud/web/pull/3797 * Change - Use pre-signed URLs in media viewer: [#3803](https://github.com/owncloud/web/pull/3803) We've started using pre-signed URLs if supported in media viewer to display images instead of fetching them. https://github.com/owncloud/web/pull/3803 https://github.com/owncloud/web/pull/3844 * Change - Move docs about hugo usage to ocis: [#3828](https://github.com/owncloud/web/pull/3828) Since our documentation about how to work with hugo (for documentation) is a cross-extension topic, we have moved it to our main ocis docs. https://github.com/owncloud/web/pull/3828 * Enhancement - Enable playing videos in media viewer: [#3803](https://github.com/owncloud/web/pull/3803) We've added a capability to the media viewer extension to play videos. https://github.com/owncloud/web/pull/3803 https://github.com/owncloud/web/pull/3833 https://github.com/owncloud/web/pull/3844 https://github.com/owncloud/web/pull/3848 Changelog for ownCloud Web [0.13.0] (2020-07-17) ======================================= The following sections list the changes in ownCloud web 0.13.0 relevant to ownCloud admins and users. [0.13.0]: https://github.com/owncloud/web/compare/v0.12.0...v0.13.0 Summary ------- * Bugfix - Fix translations string: [#3766](https://github.com/owncloud/web/pull/3766) * Enhancement - Add dev docs for releases: [#3186](https://github.com/owncloud/web/pull/3186) * Enhancement - Enable changing sidebar logo via theming: [#3782](https://github.com/owncloud/web/issues/3782) Details ------- * Bugfix - Fix translations string: [#3766](https://github.com/owncloud/web/pull/3766) Allow better translations of various strings. https://github.com/owncloud/web/pull/3766 https://github.com/owncloud/web/pull/3769 * Enhancement - Add dev docs for releases: [#3186](https://github.com/owncloud/web/pull/3186) We added documentation on the steps involved to release web. https://github.com/owncloud/web/pull/3186 https://github.com/owncloud/web/pull/3767 * Enhancement - Enable changing sidebar logo via theming: [#3782](https://github.com/owncloud/web/issues/3782) We've added a key into the theme which enables using different logo in the sidebar. https://github.com/owncloud/web/issues/3782 https://github.com/owncloud/web/pull/3783 Changelog for ownCloud Web [0.12.0] (2020-07-10) ======================================= The following sections list the changes in ownCloud web 0.12.0 relevant to ownCloud admins and users. [0.12.0]: https://github.com/owncloud/web/compare/v0.11.2...v0.12.0 Summary ------- * Bugfix - Fix navigation to the root folder from location picker: [#3756](https://github.com/owncloud/web/pull/3756) * Change - Don't fallback to appId in case the route of file action is not defined: [#69](https://github.com/owncloud/product/issues/69) * Change - No file drop if upload is not allowed or no space is left: [#3677](https://github.com/owncloud/web/pull/3677) * Change - Do not display outline when the files list is focused: [#3747](https://github.com/owncloud/web/issues/3747) * Enhancement - Add ability to move files and folders into a different location: [#101](https://github.com/owncloud/product/issues/101) * Enhancement - Add ability to copy files and folders into a different location: [#102](https://github.com/owncloud/product/issues/102) * Enhancement - Add favorites capabilities: [#354](https://github.com/owncloud/ocis/issues/354) Details ------- * Bugfix - Fix navigation to the root folder from location picker: [#3756](https://github.com/owncloud/web/pull/3756) The target location in the location picker was appending a whitespace when trying to go to root folder. This resulted in an error when trying to load such folder. We've removed the whitespace to fix the navigation. https://github.com/owncloud/web/pull/3756 * Change - Don't fallback to appId in case the route of file action is not defined: [#69](https://github.com/owncloud/product/issues/69) When opening a file in a editor or a viewer the path was falling back to an appId. This made it impossible to navigate via the file actions into an app which doesn't have duplicate appId in the route. We've stopped falling back to this value and in case that the route of the file action is not defined, we use the root path of the app. https://github.com/owncloud/product/issues/69 https://github.com/owncloud/ocis/issues/356 https://github.com/owncloud/web/pull/3740 * Change - No file drop if upload is not allowed or no space is left: [#3677](https://github.com/owncloud/web/pull/3677) https://github.com/owncloud/web/pull/3677 * Change - Do not display outline when the files list is focused: [#3747](https://github.com/owncloud/web/issues/3747) The files list was displaying outline when it received focus after a click. Since the focus is meant only programmatically, the outline was not supposed to be displayed. https://github.com/owncloud/web/issues/3747 https://github.com/owncloud/web/issues/3551 https://github.com/owncloud/web/pull/3752 * Enhancement - Add ability to move files and folders into a different location: [#101](https://github.com/owncloud/product/issues/101) We've added move action to the files list which enables move of resources into different locations. The move operation is executed in a new page called Location picker. https://github.com/owncloud/product/issues/101 https://github.com/owncloud/web/pull/3739 * Enhancement - Add ability to copy files and folders into a different location: [#102](https://github.com/owncloud/product/issues/102) We've added copy action to the files list. The copy action is executed via a new page called location picker. https://github.com/owncloud/product/issues/102 https://github.com/owncloud/product/issues/108 https://github.com/owncloud/web/pull/3749 * Enhancement - Add favorites capabilities: [#354](https://github.com/owncloud/ocis/issues/354) We've added a check of favorites capabilities to enable disabling of favorites list and favorite action. https://github.com/owncloud/ocis/issues/354 https://github.com/owncloud/web/pull/3754 Changelog for ownCloud Web [0.11.2] (2020-07-03) ======================================= The following sections list the changes in ownCloud web 0.11.2 relevant to ownCloud admins and users. [0.11.2]: https://github.com/owncloud/web/compare/v0.11.1...v0.11.2 Summary ------- * Bugfix - Remove anchor on last breadcrumb segment: [#3722](https://github.com/owncloud/web/issues/3722) Details ------- * Bugfix - Remove anchor on last breadcrumb segment: [#3722](https://github.com/owncloud/web/issues/3722) The last segment of the breadcrumb was clickable, while it's expected that nothing happens (as it is the current path). We fixed that, the last breadcrumb element is not clickable anymore. https://github.com/owncloud/web/issues/3722 https://github.com/owncloud/web/issues/2965 https://github.com/owncloud/web/issues/1883 https://github.com/owncloud/web/pull/3723 Changelog for ownCloud Web [0.11.1] (2020-06-29) ======================================= The following sections list the changes in ownCloud web 0.11.1 relevant to ownCloud admins and users. [0.11.1]: https://github.com/owncloud/web/compare/v0.11.0...v0.11.1 Summary ------- * Bugfix - Do not expand the width of resource name over it's content: [#3685](https://github.com/owncloud/web/issues/3685) * Bugfix - Public upload now keeps modified time: [#3686](https://github.com/owncloud/web/pull/3686) * Change - Use "Shared with" as a label for indicators: [#3688](https://github.com/owncloud/web/pull/3688) * Enhancement - Update owncloud-sdk to 1.0.0-663: [#3690](https://github.com/owncloud/web/pull/3690) Details ------- * Bugfix - Do not expand the width of resource name over it's content: [#3685](https://github.com/owncloud/web/issues/3685) The width of the resource name in the files list was expanded more than the actual width of it's content. This caused that when clicked outside of the resource name, the action to navigate or open the resource has been triggered instead of opening the sidebar. We've fixed the width that it is now equal to the width of the content. https://github.com/owncloud/web/issues/3685 https://github.com/owncloud/web/pull/3687 * Bugfix - Public upload now keeps modified time: [#3686](https://github.com/owncloud/web/pull/3686) The public upload for public links now keeps the modification time of local files. This aligns the behavior with non-public file upload. https://github.com/owncloud/web/pull/3686 * Change - Use "Shared with" as a label for indicators: [#3688](https://github.com/owncloud/web/pull/3688) Instead of "State" we've started using the "Shared with" as a label for the indicators in the files list. This is only intermediate solution because the indicators can be extended by other indicators which don't have to be related to sharing. https://github.com/owncloud/web/pull/3688 * Enhancement - Update owncloud-sdk to 1.0.0-663: [#3690](https://github.com/owncloud/web/pull/3690) We've updated the owncloud-sdk to version 1.0.0-663. This version stops rejecting sharing promises if the passed shareID is not an integer. https://github.com/owncloud/web/pull/3690 Changelog for ownCloud Web [0.11.0] (2020-06-26) ======================================= The following sections list the changes in ownCloud web 0.11.0 relevant to ownCloud admins and users. [0.11.0]: https://github.com/owncloud/web/compare/v0.10.0...v0.11.0 Summary ------- * Bugfix - Add missing question mark to delete confirmation dialog in trashbin: [#3566](https://github.com/owncloud/web/pull/3566) * Bugfix - Fix empty settings values: [#3602](https://github.com/owncloud/web/pull/3602) * Bugfix - Fix file type icons for uppercase file extensions: [#3670](https://github.com/owncloud/web/pull/3670) * Bugfix - Set expiration date only if it is supported: [#3674](https://github.com/owncloud/web/issues/3674) * Bugfix - Set default permissions to public link quick action: [#3675](https://github.com/owncloud/web/issues/3675) * Bugfix - Set empty object when resetting current sidebar tab: [#3676](https://github.com/owncloud/web/issues/3676) * Change - Remove sidebar quickAccess: [#80](https://github.com/owncloud/product/issues/80) * Change - Rework account dropdown: [#82](https://github.com/owncloud/product/issues/82) * Change - Use correct logo: [#786](https://github.com/owncloud/owncloud-design-system/issues/786) * Change - Bring new modal component: [#2263](https://github.com/owncloud/web/issues/2263) * Change - Unite files list status indicators: [#3567](https://github.com/owncloud/web/pull/3567) * Change - Move status indicators under the resource name: [#3617](https://github.com/owncloud/web/pull/3617) * Change - Move create new button: [#3622](https://github.com/owncloud/web/pull/3622) * Enhancement - Use TUS settings from capabilities: [#177](https://github.com/owncloud/ocis-reva/issues/177) * Enhancement - Send mtime with uploads: [#2969](https://github.com/owncloud/web/issues/2969) * Enhancement - Dynamically loaded nav items: [#3497](https://github.com/owncloud/web/issues/3497) * Enhancement - Add collaborators quick action: [#3573](https://github.com/owncloud/web/pull/3573) * Enhancement - Load and display quick actions: [#3573](https://github.com/owncloud/web/pull/3573) Details ------- * Bugfix - Add missing question mark to delete confirmation dialog in trashbin: [#3566](https://github.com/owncloud/web/pull/3566) We've added missing question mark to the delete confirmation dialog inside of the trashbin. https://github.com/owncloud/web/pull/3566 * Bugfix - Fix empty settings values: [#3602](https://github.com/owncloud/web/pull/3602) We've updated owncloud-sdk to version 1.0.0-638 which makes sure that an empty array gets returned whenever there are no settings values for the authenticated user. Previously having no settings values broke our detection of whether settings values finished loading. https://github.com/owncloud/ocis-settings/issues/24 https://github.com/owncloud/web/pull/3602 * Bugfix - Fix file type icons for uppercase file extensions: [#3670](https://github.com/owncloud/web/pull/3670) https://github.com/owncloud/web/pull/3670 * Bugfix - Set expiration date only if it is supported: [#3674](https://github.com/owncloud/web/issues/3674) We've stopped setting expiration date in collaborators panel if it is not supported. https://github.com/owncloud/web/issues/3674 https://github.com/owncloud/web/pull/3679 * Bugfix - Set default permissions to public link quick action: [#3675](https://github.com/owncloud/web/issues/3675) We've set a default permissions when creating a new public link via the quick actions. The permissions are set to `1`. https://github.com/owncloud/web/issues/3675 https://github.com/owncloud/web/pull/3678 * Bugfix - Set empty object when resetting current sidebar tab: [#3676](https://github.com/owncloud/web/issues/3676) We've changed the argument from `null` to an empty object when resetting the current tab of the sidebar. https://github.com/owncloud/web/issues/3676 https://github.com/owncloud/web/pull/3678 * Change - Remove sidebar quickAccess: [#80](https://github.com/owncloud/product/issues/80) We have removed the sidebar quickAccess extension point. To create an quick access to the sidebar, we need to use the quickActions extension point. https://github.com/owncloud/product/issues/80 https://github.com/owncloud/web/pull/3586 * Change - Rework account dropdown: [#82](https://github.com/owncloud/product/issues/82) We've removed user avatar, user email and version from the account dropdown. The log out button has been changed into a link. All links in account dropdown are now inside of a list. https://github.com/owncloud/product/issues/82 https://github.com/owncloud/web/pull/3605 * Change - Use correct logo: [#786](https://github.com/owncloud/owncloud-design-system/issues/786) We've changed the ownCloud logo which is used in the default theme. The previous logo had an incorrect font-weight. https://github.com/owncloud/owncloud-design-system/issues/786 https://github.com/owncloud/web/pull/3604 * Change - Bring new modal component: [#2263](https://github.com/owncloud/web/issues/2263) We've updated our modal component with a new one coming from ODS. https://github.com/owncloud/web/issues/2263 https://github.com/owncloud/web/pull/3378 * Change - Unite files list status indicators: [#3567](https://github.com/owncloud/web/pull/3567) We've merged direct and indirect status indicators in the files list. With this change, we focus on the important information of the indicator (e.g. resource is shared). Any additional information can then be displayed in the related tab of the sidebar. https://github.com/owncloud/web/pull/3567 * Change - Move status indicators under the resource name: [#3617](https://github.com/owncloud/web/pull/3617) We've moved the sharing status indicators from an own column in the files list to a second row under the resource name. https://github.com/owncloud/web/pull/3617 * Change - Move create new button: [#3622](https://github.com/owncloud/web/pull/3622) We've moved the create new button in the files app bar to the left directly next to breadcrumbs. https://github.com/owncloud/web/pull/3622 * Enhancement - Use TUS settings from capabilities: [#177](https://github.com/owncloud/ocis-reva/issues/177) The TUS settings advertise the maximum chunk size, so we now use the smallest chunk size from the one configured in config.json and the one from the capabilities. If the capabilities report that one should use the X-HTTP-Override-Method header, the upload will now use a POST request for uploads with that header set instead of PATCH. https://github.com/owncloud/ocis-reva/issues/177 https://github.com/owncloud/web/pull/3568 * Enhancement - Send mtime with uploads: [#2969](https://github.com/owncloud/web/issues/2969) When uploading a file, the modification time is now sent along. This means that the uploaded file will have the same modification time like the one it had on disk. This aligns the behavior with the desktop client which also keeps the mtime. https://github.com/owncloud/web/issues/2969 https://github.com/owncloud/web/pull/3377 * Enhancement - Dynamically loaded nav items: [#3497](https://github.com/owncloud/web/issues/3497) We have moved the navItems from application configuration into a store module. We extended it's functionality by introducing statically and dynamically loaded navItems. This way navItems can be loaded based on extension data, as soon as the extension becomes active. Please note that having at least one static navItem (coming from the appInfo object of an extension) is still a requirement for the extension appearing in the app switcher. https://github.com/owncloud/web/issues/3497 https://github.com/owncloud/web/pull/3570 * Enhancement - Add collaborators quick action: [#3573](https://github.com/owncloud/web/pull/3573) We've added a new quick action which opens the new collaborators tab in the files list sidebar. https://github.com/owncloud/web/pull/3573 * Enhancement - Load and display quick actions: [#3573](https://github.com/owncloud/web/pull/3573) We've added an extension point into files apps for quick actions. By creating and exporting an object called quickActions, developers can define an action which will be then displayed in the files list. https://github.com/owncloud/web/pull/3573 Changelog for ownCloud Web [0.10.0] (2020-05-26) ======================================= The following sections list the changes in ownCloud web 0.10.0 relevant to ownCloud admins and users. [0.10.0]: https://github.com/owncloud/web/compare/v0.9.0...v0.10.0 Summary ------- * Bugfix - Fix share indicators click to open the correct panel: [#3324](https://github.com/owncloud/web/issues/3324) * Bugfix - Set server config to ocis proxy in example config file: [#3454](https://github.com/owncloud/web/pull/3454) * Change - Removed favorite button from file list and added it in the sidebar: [#1987](https://github.com/owncloud/web/issues/1987) * Change - Permanently visible branded left navigation sidebar: [#3395](https://github.com/owncloud/web/issues/3395) * Change - Make settings available in web: [#3484](https://github.com/owncloud/web/pull/3484) * Change - Use language setting: [#3484](https://github.com/owncloud/web/pull/3484) Details ------- * Bugfix - Fix share indicators click to open the correct panel: [#3324](https://github.com/owncloud/web/issues/3324) When clicking on a share indicator inside a file list row, the correct share panel will now be displayed. https://github.com/owncloud/web/issues/3324 https://github.com/owncloud/web/pull/3420 * Bugfix - Set server config to ocis proxy in example config file: [#3454](https://github.com/owncloud/web/pull/3454) We fixed the ocis example config to point to the default oCIS Proxy address instead of the default Web service address. https://github.com/owncloud/web/pull/3454 * Change - Removed favorite button from file list and added it in the sidebar: [#1987](https://github.com/owncloud/web/issues/1987) We've removed the favorite star button in the file list and added instead a functionality to the before non-working star button in the file's sidebar. We also added a new action in the file action dropdown menu which allows you to toggle the favorite status of your file. https://github.com/owncloud/web/issues/1987 https://github.com/owncloud/web/pull/3336 * Change - Permanently visible branded left navigation sidebar: [#3395](https://github.com/owncloud/web/issues/3395) We've made left navigation sidebar permanently visible and moved branding (logo and brand color) into it. https://github.com/owncloud/web/issues/3395 https://github.com/owncloud/web/pull/3442 * Change - Make settings available in web: [#3484](https://github.com/owncloud/web/pull/3484) We upgraded to a new owncloud-sdk version which provides loading settings from the settings service, if available. The settings values are available throughout web and all extensions. https://github.com/owncloud/web/pull/3484 * Change - Use language setting: [#3484](https://github.com/owncloud/web/pull/3484) We've changed web to make use of the language the authenticated user has chosen in the settings. https://github.com/owncloud/web/pull/3484 Changelog for ownCloud Web [0.9.0] (2020-04-27) ======================================= The following sections list the changes in ownCloud web 0.9.0 relevant to ownCloud admins and users. [0.9.0]: https://github.com/owncloud/web/compare/v0.8.0...v0.9.0 Summary ------- * Bugfix - Remove deleted files from search result: [#3266](https://github.com/owncloud/web/pull/3266) * Bugfix - Show token string if link name is empty in FileLinkSidebar: [#3297](https://github.com/owncloud/web/pull/3297) * Bugfix - Remove duplicate error display in input prompt: [#3342](https://github.com/owncloud/web/pull/3342) * Bugfix - Fix translation message extraction from plain javascript files: [#3346](https://github.com/owncloud/web/pull/3346) * Bugfix - Fix name of selected extension on broken apps: [#3376](https://github.com/owncloud/web/pull/3376) * Change - Update owncloud-sdk: [#3369](https://github.com/owncloud/web/pull/3369) * Enhancement - Add chunked upload with tus-js-client: [#67](https://github.com/owncloud/web/issues/67) Details ------- * Bugfix - Remove deleted files from search result: [#3266](https://github.com/owncloud/web/pull/3266) Deleted file has been removed from filesSearched state by adding a new mutation. Also, filter condition in remove file mutations has been changed from object reference to unique file id. https://github.com/owncloud/web/issues/3043 https://github.com/owncloud/web/issues/3044 https://github.com/owncloud/web/pull/3266 * Bugfix - Show token string if link name is empty in FileLinkSidebar: [#3297](https://github.com/owncloud/web/pull/3297) Owncloud-js-client was parsing empty link name xml attribute as empty object. The empty object was changed with an empty string. Also, FileLinkSidebar behaviour fixed by showing token as name for the link shares without a name. https://github.com/owncloud/web/issues/2517 https://github.com/owncloud/web/pull/3297 * Bugfix - Remove duplicate error display in input prompt: [#3342](https://github.com/owncloud/web/pull/3342) Validation errors within the input prompt dialog were showing up twice. One of them is a leftover from the old version. We've fixed the dialog by removing the old validation error type. https://github.com/owncloud/web/pull/3342 * Bugfix - Fix translation message extraction from plain javascript files: [#3346](https://github.com/owncloud/web/pull/3346) https://github.com/Polyconseil/easygettext/issues/81 https://github.com/owncloud/web/pull/3346 * Bugfix - Fix name of selected extension on broken apps: [#3376](https://github.com/owncloud/web/pull/3376) With the edge case of a broken app in config.json, the top bar is broken, because appInfo can't be loaded. We made ocis-web more robust by just showing the extension id in the top bar when the appInfo is not available. https://github.com/owncloud/web/pull/3376 * Change - Update owncloud-sdk: [#3369](https://github.com/owncloud/web/pull/3369) Updated owncloud-sdk to v1.0.0-604 https://github.com/owncloud/web/pull/3369 * Enhancement - Add chunked upload with tus-js-client: [#67](https://github.com/owncloud/web/issues/67) Whenever the backend server advertises TUS support, uploading files will use TUS as well for uploading, which makes it possible to resume failed uploads. It is also possible to optionally set a chunk size by setting a numeric value for "uploadChunkSize" in bytes in config.json. https://github.com/owncloud/web/issues/67 https://github.com/owncloud/web/pull/3345 Changelog for ownCloud Web [0.8.0] (2020-04-14) ======================================= The following sections list the changes in ownCloud web 0.8.0 relevant to ownCloud admins and users. [0.8.0]: https://github.com/owncloud/web/compare/v0.7.0...v0.8.0 Summary ------- * Bugfix - Display errors when saving collaborator fails: [#3176](https://github.com/owncloud/web/issues/3176) * Bugfix - Fix oidc redirect after logout: [#3285](https://github.com/owncloud/web/issues/3285) * Bugfix - Fix media-viewer on private pages: [#3288](https://github.com/owncloud/web/pull/3288) * Bugfix - Update owncloud-sdk 1.0.0-544: [#3292](https://github.com/owncloud/web/pull/3292) * Bugfix - Set a higher timeout for requirejs: [#3293](https://github.com/owncloud/web/pull/3293) * Enhancement - Visual improvement to errors in input prompts: [#1906](https://github.com/owncloud/web/issues/1906) * Enhancement - Add state to app urls: [#3294](https://github.com/owncloud/web/pull/3294) Details ------- * Bugfix - Display errors when saving collaborator fails: [#3176](https://github.com/owncloud/web/issues/3176) When saving a collaborator has failed, the UI was still behaving like it saved everything successfully. This has been fixed by displaying the errors at the top of the collaborator editing form and staying in the editing view. https://github.com/owncloud/web/issues/3176 https://github.com/owncloud/web/pull/3241 * Bugfix - Fix oidc redirect after logout: [#3285](https://github.com/owncloud/web/issues/3285) After the logout the idp sent a redirect to `<redirectUri>?state=` which was then redirected to `<redirectUri>?state=#/login` by web. Having the query parameters in between broke the application. To prevent the whole login url `<baseUrl>#/login` should be sent then the query parameter will be appended to the end. https://github.com/owncloud/web/issues/3285 * Bugfix - Fix media-viewer on private pages: [#3288](https://github.com/owncloud/web/pull/3288) Media-viewer incorrectly assumed it was on a public page when opened from a private page. https://github.com/owncloud/web/pull/3288 * Bugfix - Update owncloud-sdk 1.0.0-544: [#3292](https://github.com/owncloud/web/pull/3292) This sdk version is much smaller in size https://github.com/owncloud/web/pull/3292 * Bugfix - Set a higher timeout for requirejs: [#3293](https://github.com/owncloud/web/pull/3293) In slow networks requirejs requests can timeout. The timeout is now set to a higher value (200 secs) https://github.com/owncloud/web/pull/3293 * Enhancement - Visual improvement to errors in input prompts: [#1906](https://github.com/owncloud/web/issues/1906) We've adjusted the input prompts to show a visually less prominent text below the input field. Also, error messages now appear with a small delay, so that those happening during typing get ignored (e.g. trailing whitespace is not allowed in folder names and previously caused an error to show on every typed blank). https://github.com/owncloud/web/issues/1906 https://github.com/owncloud/web/pull/3240 * Enhancement - Add state to app urls: [#3294](https://github.com/owncloud/web/pull/3294) Currently opened file can be added to app routes so reloading the page can be made to work For now it's only implemented in mediaviewer https://github.com/owncloud/web/pull/3294 Changelog for ownCloud Web [0.7.0] (2020-03-30) ======================================= The following sections list the changes in ownCloud web 0.7.0 relevant to ownCloud admins and users. [0.7.0]: https://github.com/owncloud/web/compare/v0.6.0...v0.7.0 Summary ------- * Bugfix - Fix logout when no tokens are known anymore: [#2961](https://github.com/owncloud/web/pull/2961) * Bugfix - Files list status indicators are now appearing without any delay: [#2973](https://github.com/owncloud/web/issues/2973) * Bugfix - Fix file actions menu when using OCIS backend: [#3214](https://github.com/owncloud/web/issues/3214) * Bugfix - Do not remove first character of etag: [#3274](https://github.com/owncloud/web/pull/3274) * Change - Don't import whole core-js bundle directly into core: [#3173](https://github.com/owncloud/web/pull/3173) * Enhancement - Added thumbnails in file list: [#276](https://github.com/owncloud/web/issues/276) Details ------- * Bugfix - Fix logout when no tokens are known anymore: [#2961](https://github.com/owncloud/web/pull/2961) Single Log Out requires the id_token and in cases where this token is no longer known calling the SLO endpoint will result in an error. This has been fixed. https://github.com/owncloud/web/pull/2961 * Bugfix - Files list status indicators are now appearing without any delay: [#2973](https://github.com/owncloud/web/issues/2973) We've stopped loading file list status indicators asynchronously to prevent them from appearing delayed. They appear now at the same time as the file list. https://github.com/owncloud/web/issues/2973 https://github.com/owncloud/web/pull/3213 * Bugfix - Fix file actions menu when using OCIS backend: [#3214](https://github.com/owncloud/web/issues/3214) When using OCIS as backend, the ids of resources is a string instead of integer. So we cannot embed those into DOM node ids and need to use another alternative. This fix introduces a unique viewId which is only there to provide uniqueness across the current list and should not be used for any data related operation. This fixes the file actions menu when using OCIS as backend. https://github.com/owncloud/web/issues/3214 https://github.com/owncloud/ocis-web/issues/51 * Bugfix - Do not remove first character of etag: [#3274](https://github.com/owncloud/web/pull/3274) When stripping away double quotes in etag of the file thumbnails, we accidentally removed first character as well. We've stopped removing that character. https://github.com/owncloud/web/pull/3274 * Change - Don't import whole core-js bundle directly into core: [#3173](https://github.com/owncloud/web/pull/3173) We've stopped importing whole core-js bundle directly into core and instead load only used parts with babel. https://github.com/owncloud/web/pull/3173 * Enhancement - Added thumbnails in file list: [#276](https://github.com/owncloud/web/issues/276) Thumbnails are now displayed in the file list for known file types. When no thumbnail was returned, fall back to the file type icon. https://github.com/owncloud/web/issues/276 https://github.com/owncloud/web/pull/3187 Changelog for ownCloud Web [0.6.0] (2020-03-16) ======================================= The following sections list the changes in ownCloud web 0.6.0 relevant to ownCloud admins and users. [0.6.0]: https://github.com/owncloud/web/compare/v0.5.0...v0.6.0 Summary ------- * Bugfix - Indirect share info now visible in favorite and other file lists: [#3040](https://github.com/owncloud/web/issues/3040) * Bugfix - Fixed layout of file lists: [#3100](https://github.com/owncloud/web/pull/3100) * Bugfix - Changed share icons to collaborators icons: [#3116](https://github.com/owncloud/web/pull/3116) * Bugfix - Sorted collaborators column, deduplicate public entry: [#3137](https://github.com/owncloud/web/issues/3137) * Bugfix - Use end of the day in expiration date: [#3158](https://github.com/owncloud/web/pull/3158) * Change - Align columns in file lists to the right: [#3036](https://github.com/owncloud/web/issues/3036) * Change - Moved collaborators additional info on own row and removed type row: [#3130](https://github.com/owncloud/web/pull/3130) * Change - New sort order for collaborators and public links: [#3136](https://github.com/owncloud/web/pull/3136) * Change - Stop support for deployment of Web as an ownCloud app: [#3162](https://github.com/owncloud/web/pull/3162) * Enhancement - Expiration date for collaborators: [#2543](https://github.com/owncloud/web/issues/2543) Details ------- * Bugfix - Indirect share info now visible in favorite and other file lists: [#3040](https://github.com/owncloud/web/issues/3040) When open the share panel of other flat file lists like the favorites, the collaborators list and link list are now showing the same entries like in the "All files" list, which includes indirect shares (via) that were previously missing. https://github.com/owncloud/web/issues/3040 https://github.com/owncloud/web/pull/3135 * Bugfix - Fixed layout of file lists: [#3100](https://github.com/owncloud/web/pull/3100) A recent library update in ODS for the recycle scroller seem to have changed the logic or calculation of the height. This fix accommodates for that change and restores the row height to a correct value. The shared file lists are now more responsive, the collaborators/owner and share time columns are now hidden on small screens. https://github.com/owncloud/web/pull/3100 * Bugfix - Changed share icons to collaborators icons: [#3116](https://github.com/owncloud/web/pull/3116) Adjust icon in files app navigation bar and also in the file actions dropdown to use the group icon. https://github.com/owncloud/web/pull/3116 * Bugfix - Sorted collaborators column, deduplicate public entry: [#3137](https://github.com/owncloud/web/issues/3137) The collaborators column that appears in the "shared with others" section are now sorted: first by share type (user, group, link, remote) and then by display name using natural sort. Additionally, if there is more than one public link for the resource, the text "Public" only appears once in the collaborators column. https://github.com/owncloud/web/issues/3137 https://github.com/owncloud/web/pull/3171 * Bugfix - Use end of the day in expiration date: [#3158](https://github.com/owncloud/web/pull/3158) We've changed the expiration date field in the collaborators list to the end of the day. https://github.com/owncloud/web/pull/3158 * Change - Align columns in file lists to the right: [#3036](https://github.com/owncloud/web/issues/3036) We've aligned columns in all file lists to the right so it is easier for the user to compare them. https://github.com/owncloud/web/issues/3036 https://github.com/owncloud/web/pull/3163 * Change - Moved collaborators additional info on own row and removed type row: [#3130](https://github.com/owncloud/web/pull/3130) We've moved collaborators additional info on own row under the name of collaborator and removed collaborator type row. https://github.com/owncloud/web/pull/3130 * Change - New sort order for collaborators and public links: [#3136](https://github.com/owncloud/web/pull/3136) We've changed the sort order for collaborators and public links. Collaborators are now sorted by: collaborator type, is collaborator direct, display name and creation date. Public links are now sorted by: is public link direct, display name and creation date. https://github.com/owncloud/web/pull/3136 * Change - Stop support for deployment of Web as an ownCloud app: [#3162](https://github.com/owncloud/web/pull/3162) We've stopped supporting deployment of Web as an ownCloud app. In the release is no longer available Web ownCloud 10 app package. https://github.com/owncloud/web/pull/3162 * Enhancement - Expiration date for collaborators: [#2543](https://github.com/owncloud/web/issues/2543) We've added an expiration date for collaborators. Users can choose an expiration date for users and groups. After the date is reached the collaborator is automatically removed. Admins can set default expiration date or enforce it. https://github.com/owncloud/web/issues/2543 https://github.com/owncloud/web/pull/3086 Changelog for ownCloud Web [0.5.0] (2020-03-02) ======================================= The following sections list the changes in ownCloud web 0.5.0 relevant to ownCloud admins and users. [0.5.0]: https://github.com/owncloud/web/compare/v0.4.0...v0.5.0 Summary ------- * Bugfix - Various fixes for files app in responsive mode: [#2998](https://github.com/owncloud/web/issues/2998) * Bugfix - Responsive buttons layout in app bar when multiple files are selected: [#3011](https://github.com/owncloud/web/issues/3011) * Bugfix - Fix accessible labels that said $gettext: [#3039](https://github.com/owncloud/web/pull/3039) * Bugfix - Fix console warning about search query in public page: [#3041](https://github.com/owncloud/web/pull/3041) * Bugfix - Moved resharers to the top of owner collaborator entry: [#3850](https://github.com/owncloud/web/issues/3850) * Change - Moved sidebar navigation under top bar: [#3077](https://github.com/owncloud/web/pull/3077) * Enhancement - Added ability to click file list columns for sorting: [#1854](https://github.com/owncloud/web/issues/1854) * Enhancement - Improved collaborators column in shared file lists: [#2924](https://github.com/owncloud/web/issues/2924) * Enhancement - Display decimals in resource size column only for MBs or higher: [#2986](https://github.com/owncloud/web/issues/2986) * Enhancement - Different message in overwrite dialog when versioning is enabled: [#3047](https://github.com/owncloud/web/issues/3047) * Enhancement - Current user entry in collaborators list in sidebar: [#3808](https://github.com/owncloud/web/issues/3808) Details ------- * Bugfix - Various fixes for files app in responsive mode: [#2998](https://github.com/owncloud/web/issues/2998) Fixed properly alignment of header columns with the body of the files table which stays even after resizing. Removed the column label for the actions column as it looks nicer. https://github.com/owncloud/web/issues/2998 https://github.com/owncloud/web/pull/2999 * Bugfix - Responsive buttons layout in app bar when multiple files are selected: [#3011](https://github.com/owncloud/web/issues/3011) We've fixed the responsive buttons layout in files app bar when multiple files are selected where bulk actions where overlapping and height of the buttons was increased. https://github.com/owncloud/web/issues/3011 https://github.com/owncloud/web/pull/3083 * Bugfix - Fix accessible labels that said $gettext: [#3039](https://github.com/owncloud/web/pull/3039) Fixed three accessible aria labels that were saying "$gettext" instead of their actual translated text. https://github.com/owncloud/web/pull/3039 * Bugfix - Fix console warning about search query in public page: [#3041](https://github.com/owncloud/web/pull/3041) Fixed console warning about the search query attribute not being available whenever the search fields are not visible, for example when accessing a public link page. https://github.com/owncloud/web/pull/3041 * Bugfix - Moved resharers to the top of owner collaborator entry: [#3850](https://github.com/owncloud/web/issues/3850) For received shares, the resharers user display names are now shown on top of the owner entry in the collaborators list, with a reshare icon, instead of having their own entry in the collaborators list. This makes the reshare situation more clear and removes the ambiguity about the formerly displayed "resharer" role which doesn't exist. https://github.com/owncloud/web/issues/3850 * Change - Moved sidebar navigation under top bar: [#3077](https://github.com/owncloud/web/pull/3077) We've adjusted the position of the sidebar navigation to be under the top bar. https://github.com/owncloud/web/pull/3077 * Enhancement - Added ability to click file list columns for sorting: [#1854](https://github.com/owncloud/web/issues/1854) The sorting mode of the file list can now be changed by clicking on the column headers. https://github.com/owncloud/web/issues/1854 * Enhancement - Improved collaborators column in shared file lists: [#2924](https://github.com/owncloud/web/issues/2924) Fixed issue with the collaborators column where only one was being displayed in the "shared with you" file list. This is done by properly aggregating all share entries under each file entry for the list, which now also includes group shares and link shares. Improved the look of the collaborators by adding avatars and icons there for the shares in the collaborators and owner columns. https://github.com/owncloud/web/issues/2924 https://github.com/owncloud/web/pull/3049 * Enhancement - Display decimals in resource size column only for MBs or higher: [#2986](https://github.com/owncloud/web/issues/2986) We've stopped displaying decimals in resource size column for sizes smaller than 1 MB. We've also started displaying only one decimal. https://github.com/owncloud/web/issues/2986 https://github.com/owncloud/web/pull/3051 * Enhancement - Different message in overwrite dialog when versioning is enabled: [#3047](https://github.com/owncloud/web/issues/3047) We've added a new message in the overwrite dialog when versioning is enabled. This message is intended to make it clear that the resource won't be overwritten but a new version of it will be created. https://github.com/owncloud/web/issues/3047 https://github.com/owncloud/web/pull/3050 * Enhancement - Current user entry in collaborators list in sidebar: [#3808](https://github.com/owncloud/web/issues/3808) We've added a new entry into the collaborators list in sidebar which contains current user. https://github.com/owncloud/web/issues/3808 https://github.com/owncloud/web/pull/3060 Changelog for ownCloud Web [0.4.0] (2020-02-14) ======================================= The following sections list the changes in ownCloud web 0.4.0 relevant to ownCloud admins and users. [0.4.0]: https://github.com/owncloud/web/compare/v0.3.0...v0.4.0 Summary ------- * Bugfix - Fix collaborator selection on new collaborator shares: [#1186](https://github.com/owncloud/web/issues/1186) * Bugfix - Prevent loader in sidebar on add/remove: [#2937](https://github.com/owncloud/web/issues/2937) * Bugfix - Fix issue with translate function for pending shares: [#3012](https://github.com/owncloud/web/issues/3012) * Bugfix - Properly manage escaping of all translations: [#3032](https://github.com/owncloud/web/pull/3032) * Change - Improve UI/UX of collaborator forms: [#1186](https://github.com/owncloud/web/issues/1186) * Change - Display only items for current extension in sidebar menu: [#2746](https://github.com/owncloud/web/issues/2746) * Change - Removed filter button in files list header: [#2971](https://github.com/owncloud/web/issues/2971) * Change - File actions now always behind three dots button: [#2974](https://github.com/owncloud/web/pull/2974) * Change - Improve ownCloud Design System (ODS): [#2989](https://github.com/owncloud/web/issues/2989) * Change - Improve visual appearance of upload progress: [#3742](https://github.com/owncloud/enterprise/issues/3742) * Enhancement - Add empty folder message in file list views: [#1910](https://github.com/owncloud/web/issues/1910) * Enhancement - Fixed header for files tables: [#1952](https://github.com/owncloud/web/issues/1952) Details ------- * Bugfix - Fix collaborator selection on new collaborator shares: [#1186](https://github.com/owncloud/web/issues/1186) When typing text into the search box for new collaborators, selecting a user and a group with identical names was not possible. This was due to the fact that when one (group or user) got selected, the other was excluded because of a matching name. Fixed by including the share type (group or user) in matching. https://github.com/owncloud/web/issues/1186 * Bugfix - Prevent loader in sidebar on add/remove: [#2937](https://github.com/owncloud/web/issues/2937) When adding or removing a public link or collaborator, the respective list view sidebar panels briefly hid the panel and showed a loader instead. The UI is supposed to show a visual transition of a new list item into the list on adding, as well as a visual transition out of the list on deletion. This is fixed now by not triggering the loading state on add and remove actions anymore. A loading state is only meant to appear when the user navigates to the shares of another file/folder. https://github.com/owncloud/web/issues/2937 https://github.com/owncloud/web/pull/2952 * Bugfix - Fix issue with translate function for pending shares: [#3012](https://github.com/owncloud/web/issues/3012) The pending shares was wrongly passing in a translation function, which caused translations to be missing in the error message but also it broke the general translation sync process with Transifex. Thanks to this change the translations will be up to date again. https://github.com/owncloud/web/issues/3012 https://github.com/owncloud/web/pull/3014 * Bugfix - Properly manage escaping of all translations: [#3032](https://github.com/owncloud/web/pull/3032) We've stopped escaping translations which contained resource names or user names because they can contain special characters which were then not properly displayed. We've done this only with translations which are using mustache syntax which does escaping on its own so we don't introduce potential XSS vulnerability. For all other translations, we've explicitly set the escaping. https://github.com/owncloud/web/pull/3032 * Change - Improve UI/UX of collaborator forms: [#1186](https://github.com/owncloud/web/issues/1186) Applied several UI/UX improvements to the collaborator forms (adding and editing). - Showing avatars for selected collaborators on a new share and fixed styling/layouting of said collaborators in the list. - Added sensible margins on text about missing permissions for re-sharing in the sharing sidebar. - Fixed alignment of displayed collaborator in editing view for collaborators. - Removed separators from the forms that were cluttering the view. - Moved role description on role selection (links and collaborators) into the form element. Not shown below the form element anymore. https://github.com/owncloud/web/issues/1186 * Change - Display only items for current extension in sidebar menu: [#2746](https://github.com/owncloud/web/issues/2746) We've filtered out nav items in the sidebar menu. Now only items for current extension will be displayed. In case the extension has only one nav item, the sidebar menu is hidden and instead of menu button is displayed the name of extension. https://github.com/owncloud/web/issues/2746 https://github.com/owncloud/web/pull/3013 * Change - Removed filter button in files list header: [#2971](https://github.com/owncloud/web/issues/2971) Removed the confusing filter button in the files list header, so the following are now removed as well: - ability to toggle files and folders visibility which wasn't that useful and not really a requirement - filter text box as it is is redundant as one can already use the global search box - ability to hide dot files, we'll look into providing this again in the future with an improved UI https://github.com/owncloud/web/issues/2971 * Change - File actions now always behind three dots button: [#2974](https://github.com/owncloud/web/pull/2974) The inline file actions button didn't look very nice and made the UI look cluttered. This change hides them behind a three dots button on the line, the same that was already visible in responsive mode. The three dots button also now has no more border and looks nicer. https://github.com/owncloud/web/issues/2998 https://github.com/owncloud/web/pull/2974 * Change - Improve ownCloud Design System (ODS): [#2989](https://github.com/owncloud/web/issues/2989) During the work on this release, there have been several changes in ODS which directly affect Web. - Proper text truncate in breadcrumb component. This fixes the mobile view of the current folder breadcrumb in the top bar. - New icon sizes `xlarge` and `xxlarge` in oc-icon component. Those are used for the `No content` messages e.g. when navigating to an empty folder. - Provide new icon size `xsmall` and align spinner-sizes with icon-sizes. The `xsmall` icon size turned out to be prettier in some places. The size alignments fixed layout glitches when removing collaborators or public links. - Fix aria label on spinner in oc-autocomplete. Warning were cluttering the JavaScript console when adding collaborators. - Reset input on selection in oc-autocomplete, when `fillOnSelection=false`. This makes sure that when a new collaborator has been selected, the search input field goes back to being blank for a new search. https://github.com/owncloud/web/issues/2989 https://github.com/owncloud/owncloud-design-system/pull/630 https://github.com/owncloud/owncloud-design-system/pull/632 https://github.com/owncloud/owncloud-design-system/pull/633 https://github.com/owncloud/owncloud-design-system/pull/634 https://github.com/owncloud/owncloud-design-system/pull/635 * Change - Improve visual appearance of upload progress: [#3742](https://github.com/owncloud/enterprise/issues/3742) - Changed the layout of the upload progress to be a narrow standalone full width row below the app top bar. - Transformed textual information into a single row below the progress bar and made it very clear that it can be clicked to show upload progress details. - Changed layout of upload progress details list items, so that the progress bars always have the same width. - Changed visuals of all progress bars in upload context to have a narrow outline and the percentage numbers inside of the progress bars. - Fixed the calculation of the overall upload progress to be weighted by file sizes instead of just adding up percentages and dividing by number of uploads. https://github.com/owncloud/enterprise/issues/3742 * Enhancement - Add empty folder message in file list views: [#1910](https://github.com/owncloud/web/issues/1910) Whenever a folder contains no entries in any of the file list views, a message is now shown indicating that the folder is empty, or that there are no favorites, etc. https://github.com/owncloud/web/issues/1910 https://github.com/owncloud/web/pull/2975 * Enhancement - Fixed header for files tables: [#1952](https://github.com/owncloud/web/issues/1952) We've made the header of files tables fixed so it is easier to know the meaning of table columns. https://github.com/owncloud/web/issues/1952 https://github.com/owncloud/web/pull/2995 Changelog for ownCloud Web [0.3.0] (2020-01-31) ======================================= The following sections list the changes in ownCloud web 0.3.0 relevant to ownCloud admins and users. [0.3.0]: https://github.com/owncloud/web/compare/v0.2.7...v0.3.0 Summary ------- * Bugfix - Transform route titles into real h1 headings: [#2681](https://github.com/owncloud/web/pull/2681) * Bugfix - Prevent jumpy behavior when loading user avatars: [#2921](https://github.com/owncloud/web/issues/2921) * Change - Bring UI/UX of file links sidebar in line with sharing sidebar: [#1907](https://github.com/owncloud/web/issues/1907) * Change - Join users and groups into a single list in collaborators sidebar: [#2900](https://github.com/owncloud/web/issues/2900) * Change - Adjusted labels in files list: [#2902](https://github.com/owncloud/web/pull/2902) * Enhancement - Add share indicator for direct and indirect shares in file list: [#2060](https://github.com/owncloud/web/issues/2060) * Enhancement - Add files list status indicators extension point: [#2895](https://github.com/owncloud/web/issues/2895) * Enhancement - Add theme option to disable default files list status indicators: [#2895](https://github.com/owncloud/web/issues/2895) * Enhancement - Show indirect outgoing shares in shares panel: [#2897](https://github.com/owncloud/web/issues/2897) * Enhancement - Add owner and resharer in collaborators list: [#2898](https://github.com/owncloud/web/issues/2898) Details ------- * Bugfix - Transform route titles into real h1 headings: [#2681](https://github.com/owncloud/web/pull/2681) We transformed spans that held the page title to h1 elements. In the case of the file list, a h1 is existing for accessibility reasons but can only be perceived via a screen reader. https://github.com/owncloud/web/pull/2681 * Bugfix - Prevent jumpy behavior when loading user avatars: [#2921](https://github.com/owncloud/web/issues/2921) When loading a user avatar, the container size was smaller so as soon as the avatar was loaded, it resulted in jumpy behavior. This is fixed now by applying the same size to the loading spinner element. https://github.com/owncloud/web/issues/2921 https://github.com/owncloud/web/pull/2927 * Change - Bring UI/UX of file links sidebar in line with sharing sidebar: [#1907](https://github.com/owncloud/web/issues/1907) We adapted the UI/UX of the file links sidebar to be in line with the UI/UX of the collaborators sidebar. The order of the two sidebars has been reversed (collaborators first, file links second). We added info messages to support a clear understanding of the purpose of both private and public links. Most notably the file links sidebar has no inline forms anymore. https://github.com/owncloud/web/issues/1907 https://github.com/owncloud/web/issues/1307 https://github.com/owncloud/web/pull/2841 https://github.com/owncloud/web/pull/2917 * Change - Join users and groups into a single list in collaborators sidebar: [#2900](https://github.com/owncloud/web/issues/2900) Users and groups were shown as two separate lists (users, then groups) in the collaborators sidebar. This separation is now removed, i.e. there is only one list with all collaborators, sorted by display name (lower case, ascending). On equal names groups are shown first. https://github.com/owncloud/web/issues/2900 * Change - Adjusted labels in files list: [#2902](https://github.com/owncloud/web/pull/2902) Renamed "Modification time" to "Updated" to make it look less technical. Replace "Create new" with "New" in the "New" menu as it makes it look less cluttered when trying to spot a matching entry. https://github.com/owncloud/web/pull/2902 https://github.com/owncloud/web/pull/2905 * Enhancement - Add share indicator for direct and indirect shares in file list: [#2060](https://github.com/owncloud/web/issues/2060) We've added the ability for the user to directly see whether a resource is shared in the file list. For this, share indicators in the form of a group icon and link icon will appear in a new column near the shared resource. The blue color of an icon tells whether outgoing shares exist directly on the resource. The grey color of an icon tells that incoming or outgoing shares exist on any of the parent folders. https://github.com/owncloud/web/issues/2060 https://github.com/owncloud/web/issues/2894 https://github.com/owncloud/web/pull/2877 * Enhancement - Add files list status indicators extension point: [#2895](https://github.com/owncloud/web/issues/2895) We've added the ability for the extension to inject custom status indicator into files list. New indicators will then appear next to the default one. https://github.com/owncloud/web/issues/2895 https://github.com/owncloud/web/pull/2928 * Enhancement - Add theme option to disable default files list status indicators: [#2895](https://github.com/owncloud/web/issues/2895) We've added the option into the theme to disable default files list status indicators. https://github.com/owncloud/web/issues/2895 https://github.com/owncloud/web/pull/2928 * Enhancement - Show indirect outgoing shares in shares panel: [#2897](https://github.com/owncloud/web/issues/2897) Whenever outgoing shares exist on any parent resource from the currently viewed resource, the shares panel will now show these outgoing shares with a link to jump to the matching parent resource. This applies to both indirect collaborators shares and also to indirect public link shares. https://github.com/owncloud/web/issues/2897 https://github.com/owncloud/web/pull/2929 https://github.com/owncloud/web/pull/2932 * Enhancement - Add owner and resharer in collaborators list: [#2898](https://github.com/owncloud/web/issues/2898) The top of the collaborators list now display new entries for the resource owner and the resharer when applicable, and also visible when viewing a child resource of a shared folder (indirect share). https://github.com/owncloud/web/issues/2898 https://github.com/owncloud/web/pull/2915 https://github.com/owncloud/web/pull/2918 Changelog for ownCloud Web [0.2.7] (2020-01-14) ======================================= The following sections list the changes in ownCloud web 0.2.7 relevant to ownCloud admins and users. [0.2.7]: https://github.com/owncloud/web/compare/v0.2.6...v0.2.7 Summary ------- * Bugfix - Display files list only if there is at least one item: [#2745](https://github.com/owncloud/web/issues/2745) * Bugfix - Register store which is imported instead of required: [#2837](https://github.com/owncloud/web/issues/2837) * Enhancement - Internal links in app switcher: [#2838](https://github.com/owncloud/web/issues/2838) Details ------- * Bugfix - Display files list only if there is at least one item: [#2745](https://github.com/owncloud/web/issues/2745) Vue virtual scroll was throwing an error in console in case that the files list was empty. We prevent this error by displaying the files list only if there is at least one item. https://github.com/owncloud/web/issues/2745 * Bugfix - Register store which is imported instead of required: [#2837](https://github.com/owncloud/web/issues/2837) As some extensions export store not as a module we need to handle that case as well. https://github.com/owncloud/web/issues/2837 * Enhancement - Internal links in app switcher: [#2838](https://github.com/owncloud/web/issues/2838) In case extensions integrates itself into Phoenix core and not as own SPA we need to handle the navigation via router-link inside of Web core SPA. https://github.com/owncloud/web/issues/2838 ## [0.2.6] ### Added - Skip to component, id attribute for <main> https://github.com/owncloud/web/pull/2326 - Focus management regarding off canvas main nav https://github.com/owncloud/web/pull/2101 - Publish docker on tag https://github.com/owncloud/web/pull/2485 - New collaborators flow https://github.com/owncloud/web/pull/2450 - Hide quota on external storage https://github.com/owncloud/web/pull/2652 - Focus management for uploads https://github.com/owncloud/web/pull/2542 - File actions can be defined using config settings https://github.com/owncloud/web/pull/2651 - Files table virtual scroller https://github.com/owncloud/web/pull/2280 - Virtual scroll in trash bin https://github.com/owncloud/web/pull/2809 ### Fixed - Wrong method for copy action of public link https://github.com/owncloud/web/pull/2363 - Token refresh flow https://github.com/owncloud/web/pull/2472 - App tar balls need to contain top level folder named like the app itself https://github.com/owncloud/web/pull/2449 - Scroll behavior on mozilla firefox https://github.com/owncloud/web/pull/2475 - Steps order on release/publish https://github.com/owncloud/web/pull/2491 - Don't re-filter autocomplete collaborators results for remote user https://github.com/owncloud/web/pull/2569 - Limit concurrent uploads to one https://github.com/owncloud/web/pull/2653 - Extend share id check in public links https://github.com/owncloud/web/pull/2494 - Made the trashbin table responsive https://github.com/owncloud/web/pull/2287 - Hide checkbox label in files list https://github.com/owncloud/web/pull/2680 - Share flow accessibility https://github.com/owncloud/web/pull/2622 - Remove empty parentheses in shared with others list https://github.com/owncloud/web/pull/2725 - Do not hide collaborator if another entry with the same name exists if they are not the same type https://github.com/owncloud/web/pull/2724 - Display breadcrumb if rootFolder is set with no value https://github.com/owncloud/web/pull/2811 - Include avatar placeholder in relevant places https://github.com/owncloud/web/pull/2783 ### Changed - Decouple base file list into a separate component https://github.com/owncloud/web/pull/2318 - Switched the storage of the auth service from local to session storage https://github.com/owncloud/web/pull/2416 - Don't build the docker image in the release make file https://github.com/owncloud/web/pull/2495 - Use owncloud-sdk for uploading files https://github.com/owncloud/web/pull/2239 - Refactor collaborators to use helper classes and to map permissions https://github.com/owncloud/web/pull/2373 - Moved private link icon to "links" section https://github.com/owncloud/web/pull/2496 - Separate app switcher from app navigation sidebar https://github.com/owncloud/web/pull/2669 ## [0.2.5] ### Added - IE11 support https://github.com/owncloud/web/pull/2082 - Draw.io app integration https://github.com/owncloud/web/pull/2083 - New file menu entries for different file types https://github.com/owncloud/web/pull/2111 - Drone starlark https://github.com/owncloud/web/pull/2112 - Rename and delete will be disallowed in case the parent folder has no permissions fot these two operations https://github.com/owncloud/web/pull/2129 - Progress bar for upload https://github.com/owncloud/web/pull/2176 - Handle errors while deleting and renaming files https://github.com/owncloud/web/pull/2177 - Logout option on access denied page https://github.com/owncloud/web/pull/2178 - Download feedback spinner https://github.com/owncloud/web/pull/2179 - Remove rootFolder from breadcrumbs https://github.com/owncloud/web/pull/2196 - Send header X-Requested-With: XMLHttpRequest in all requests https://github.com/owncloud/web/pull/2197 - X-Frame-Options and Content-Security-Policy https://github.com/owncloud/web/pull/2311 ### Fixed - IE11 support for media viewer app https://github.com/owncloud/web/pull/2086 - Files drop when link password is set https://github.com/owncloud/web/pull/2096 - Detection of public pages despite existing auth https://github.com/owncloud/web/pull/2097 - Public link access in incognito mode https://github.com/owncloud/web/pull/2110 - Password handling in public links https://github.com/owncloud/web/pull/2117 - More close options to file actions menu https://github.com/owncloud/web/pull/2161 - Reset search value on clear action https://github.com/owncloud/web/pull/2198 - Prevent duplicate token refresh calls https://github.com/owncloud/web/pull/2205 - Use PQueue to run only one create folder promise in folder upload https://github.com/owncloud/web/pull/2210 - Upon token refresh do not perform full login on sdk level https://github.com/owncloud/web/pull/2211 - Exit link on access denied page https://github.com/owncloud/web/pull/2220 - Structure of folders in folder upload https://github.com/owncloud/web/pull/2224 - Remove file from progress after download on IE11 https://github.com/owncloud/web/pull/2310 - Properly reset capabilities on logout https://github.com/owncloud/web/pull/2116 ### Changed - For mounted folders use the full url as private link https://github.com/owncloud/web/pull/2170 - Store route in vuex before login in case user is unauthorized https://github.com/owncloud/web/pull/2170 - Use currentFolder path in breadcrumbs https://github.com/owncloud/web/pull/2196 - Switch to show instead of if in upload progress bar https://github.com/owncloud/web/pull/2206 - Key of file action buttons to ariaLabel https://github.com/owncloud/web/pull/2219 - Trigger add to progress before the folders creation https://github.com/owncloud/web/pull/2221 - Handle remove from progress in its own mutation https://github.com/owncloud/web/pull/2225 - Use oidc-client 1.9.1 https://github.com/owncloud/web/pull/2261 ### Security - Added sanitization to markdown editor app https://github.com/owncloud/web/pull/2233 ### Removed - Drag and drop in ie11 because of compatibility issues https://github.com/owncloud/web/pull/2128 ## [0.2.4] ### Added - Private link for the current folder to the app bar https://github.com/owncloud/web/pull/2009 ### Fixed - Clear state in case of error in authorisation https://github.com/owncloud/web/pull/2079 - Hide comma before mdate if there is no size https://github.com/owncloud/web/pull/2073 - Don't perform OIDC logout in case of error in authorisation https://github.com/owncloud/web/pull/2072 ### Changed - Use sharetype keys that are human readable instead of number https://github.com/owncloud/web/pull/2071 ## [0.2.3] ### Added - Set X-Requested-With header - required ownCloud 10.3 https://github.com/owncloud/web/pull/1984 - Use 2 spaces instead of tab for feature files https://github.com/owncloud/web/pull/2004 - Handle OAuth/OpenIdConnect error in callback request query string https://github.com/owncloud/web/pull/2011 - Enable loading apps from external sites https://github.com/owncloud/web/pull/1986 - Add default client side sort https://github.com/owncloud/web/pull/1972 ### Fixed - Public link permissions mix up https://github.com/owncloud/web/pull/1985 - Downgrade vuex-persist to 2.0.1 to fix IE11 issues https://github.com/owncloud/web/pull/2007 ## [0.2.2] ### Added - Show error message when user tries to upload a folder in IE11 https://github.com/owncloud/web/pull/1956 - Error message if the folder or file name is empty in create dialog and added default value https://github.com/owncloud/web/pull/1938 - Bookmarks to menu https://github.com/owncloud/web/pull/1949 ### Fixed - Redirect to access denied page if the user doesn't have access to Web instance https://github.com/owncloud/web/pull/1939 - Redirect to private link after user has logged in https://github.com/owncloud/web/pull/1900 - Breaking of link to help desk on new line https://github.com/owncloud/web/pull/1940 ## [0.2.1] ### Added - Download feedback https://github.com/owncloud/web/pull/1895 ### Fixed - Download of files shared with password-protected public links https://github.com/owncloud/web/issues/1808 - Search button on mobile devices https://github.com/owncloud/web/pull/1893 - Collapsing of alert messages after they have been closed https://github.com/owncloud/web/pull/1881 ## [0.2.0] ### Added - Collaborators (replacement for shares) - Public and private links - Shared with me and Shared with others lists - Favorites page - Trash bin page ## [0.1.0] ### Added - Initial early alpha release [Unreleased]: https://github.com/owncloud/web/compare/0.1.0...master [0.1.0]: https://github.com/owncloud/web/compare/d1cfc2d5f82202ac30c91e903e4810f42650c183...0.1.0
owncloud/web/CHANGELOG.md/0
{ "file_path": "owncloud/web/CHANGELOG.md", "repo_id": "owncloud", "token_count": 186775 }
582
Enhancement: Dynamically loaded nav items We have moved the navItems from application configuration into a store module. We extended it's functionality by introducing statically and dynamically loaded navItems. This way navItems can be loaded based on extension data, as soon as the extension becomes active. Please note that having at least one static navItem (coming from the appInfo object of an extension) is still a requirement for the extension appearing in the app switcher. https://github.com/owncloud/web/issues/3497 https://github.com/owncloud/web/pull/3570
owncloud/web/changelog/0.11.0_2020-06-26/dynamic-nav-items/0
{ "file_path": "owncloud/web/changelog/0.11.0_2020-06-26/dynamic-nav-items", "repo_id": "owncloud", "token_count": 131 }
583
Bugfix: Do not expand the width of resource name over it's content The width of the resource name in the files list was expanded more than the actual width of it's content. This caused that when clicked outside of the resource name, the action to navigate or open the resource has been triggered instead of opening the sidebar. We've fixed the width that it is now equal to the width of the content. https://github.com/owncloud/web/issues/3685 https://github.com/owncloud/web/pull/3687
owncloud/web/changelog/0.11.1_2020-06-29/resource-line-width/0
{ "file_path": "owncloud/web/changelog/0.11.1_2020-06-29/resource-line-width", "repo_id": "owncloud", "token_count": 119 }
584
Change: Move information about current folder below the files list We've moved the information about current folder directly below the files list. Previously this information was always displayed on the bottom of the screen. https://github.com/owncloud/product/issues/120 https://github.com/owncloud/web/pull/3849
owncloud/web/changelog/0.14.0_2020-08-17/information-about-current-folder-under-files-list/0
{ "file_path": "owncloud/web/changelog/0.14.0_2020-08-17/information-about-current-folder-under-files-list", "repo_id": "owncloud", "token_count": 73 }
585
Bugfix: Make file previews properly fit We've fixed the file preview to prevent overflowing vertically and also added CSS property to make sure the ratio is preserved https://github.com/owncloud/product/issues/232 https://github.com/owncloud/web/pull/4073
owncloud/web/changelog/0.17.0_2020-09-25/fix-file-previews-size/0
{ "file_path": "owncloud/web/changelog/0.17.0_2020-09-25/fix-file-previews-size", "repo_id": "owncloud", "token_count": 66 }
586
Bugfix: Do not display "empty folder" message when there is any content We've fixed that when some of the file/share lists were being loaded, the "empty folder" message sometimes briefly appeared even though the list wasn't empty. https://github.com/owncloud/product/issues/263 https://github.com/owncloud/web/pull/4162
owncloud/web/changelog/0.21.0_2020-10-21/flashy-messages-when-loading-folders/0
{ "file_path": "owncloud/web/changelog/0.21.0_2020-10-21/flashy-messages-when-loading-folders", "repo_id": "owncloud", "token_count": 84 }
587
Enhancement: Theme redirect and access denied pages We've adjusted the theme on OIDC redirect and access denied pages to use correct logo and background. We've also added those two values into the theming capabilities. https://github.com/owncloud/web/pull/4373
owncloud/web/changelog/0.26.0_2020-11-23/theme-redirect/0
{ "file_path": "owncloud/web/changelog/0.26.0_2020-11-23/theme-redirect", "repo_id": "owncloud", "token_count": 64 }
588
Enhancement: Show indirect outgoing shares in shares panel Whenever outgoing shares exist on any parent resource from the currently viewed resource, the shares panel will now show these outgoing shares with a link to jump to the matching parent resource. This applies to both indirect collaborators shares and also to indirect public link shares. https://github.com/owncloud/web/issues/2897 https://github.com/owncloud/web/pull/2929 https://github.com/owncloud/web/pull/2932
owncloud/web/changelog/0.3.0_2020-01-31/2897/0
{ "file_path": "owncloud/web/changelog/0.3.0_2020-01-31/2897", "repo_id": "owncloud", "token_count": 115 }
589
Change: Improve visual appearance of upload progress - Changed the layout of the upload progress to be a narrow standalone full width row below the app top bar. - Transformed textual information into a single row below the progress bar and made it very clear that it can be clicked to show upload progress details. - Changed layout of upload progress details list items, so that the progress bars always have the same width. - Changed visuals of all progress bars in upload context to have a narrow outline and the percentage numbers inside of the progress bars. - Fixed the calculation of the overall upload progress to be weighted by file sizes instead of just adding up percentages and dividing by number of uploads. https://github.com/owncloud/enterprise/issues/3742
owncloud/web/changelog/0.4.0_2020-02-14/3742/0
{ "file_path": "owncloud/web/changelog/0.4.0_2020-02-14/3742", "repo_id": "owncloud", "token_count": 159 }
590
Change: Moved collaborators additional info on own row and removed type row We've moved collaborators additional info on own row under the name of collaborator and removed collaborator type row. https://github.com/owncloud/web/pull/3130
owncloud/web/changelog/0.6.0_2020-03-16/3130/0
{ "file_path": "owncloud/web/changelog/0.6.0_2020-03-16/3130", "repo_id": "owncloud", "token_count": 54 }
591
Bugfix: Update owncloud-sdk 1.0.0-544 This sdk version is much smaller in size https://github.com/owncloud/web/pull/3292
owncloud/web/changelog/0.8.0_2020-04-14/3292/0
{ "file_path": "owncloud/web/changelog/0.8.0_2020-04-14/3292", "repo_id": "owncloud", "token_count": 45 }
592
Bugfix: Do not use origin location to open editors When opening the editors view in a new tab, we were using the origin of location. This would break in case we have Web deployed to a different path than root e.g. `http://owncloud/apps/web`. https://github.com/owncloud/web/pull/4500
owncloud/web/changelog/1.0.0_2020-12-16/editors-new-tab/0
{ "file_path": "owncloud/web/changelog/1.0.0_2020-12-16/editors-new-tab", "repo_id": "owncloud", "token_count": 78 }
593
Bugfix: Fix oc10 deployment after switch to rollup Our first release of the oc10 app after the switch to rollup as bundler had a bug as it didn't reflect the new folder structure of the app in the allowed folders. This has been fixed by updating the allowed folders. https://github.com/owncloud/web/pull/4757
owncloud/web/changelog/2.0.1_2021-02-18/fix-php-controller/0
{ "file_path": "owncloud/web/changelog/2.0.1_2021-02-18/fix-php-controller", "repo_id": "owncloud", "token_count": 81 }
594
Enhancement: A11y improvements for files app bar If we select resources in the files list, an action context menu appears, to improve a11y we need an aria live region element to announce that. https://github.com/owncloud/web/issues/4786 https://github.com/owncloud/web/pull/4833
owncloud/web/changelog/3.0.0_2021-04-21/enhancement-a11y-improvements-for-files-app-bar/0
{ "file_path": "owncloud/web/changelog/3.0.0_2021-04-21/enhancement-a11y-improvements-for-files-app-bar", "repo_id": "owncloud", "token_count": 81 }
595
Enhancement: Focus management We added a mixin that makes it able to manage, record and reverse-replay the focus for the current document. The first components that using it are modal and sidebar in the files app. https://github.com/owncloud/web/pull/4993 https://github.com/owncloud/web/issues/4992
owncloud/web/changelog/3.1.0_2021-05-12/enhancement-focus-management/0
{ "file_path": "owncloud/web/changelog/3.1.0_2021-05-12/enhancement-focus-management", "repo_id": "owncloud", "token_count": 84 }
596
Bugfix: Hide "Create new public link" button The button to create new public links was visible even if the user lacked the permissions to create one. It is now being hidden unless the user is allowed to create a share of the respective file. https://github.com/owncloud/web/pull/5126
owncloud/web/changelog/3.3.0_2021-06-23/bugfix-hide-new-link-button/0
{ "file_path": "owncloud/web/changelog/3.3.0_2021-06-23/bugfix-hide-new-link-button", "repo_id": "owncloud", "token_count": 74 }
597
Enhancement: Use a proper definition list for the account settings page https://github.com/owncloud/web/pull/5012
owncloud/web/changelog/3.3.0_2021-06-23/enhancement-account-definition-list/0
{ "file_path": "owncloud/web/changelog/3.3.0_2021-06-23/enhancement-account-definition-list", "repo_id": "owncloud", "token_count": 32 }
598
Enhancement: Improve accessibility on new file menu We now use buttons instead of a-tags in the new file menu. Also fixed the double-focus per item when navigating via tab. https://github.com/owncloud/web/pull/5058
owncloud/web/changelog/3.3.0_2021-06-23/enhancement-new-file-menu-a11y/0
{ "file_path": "owncloud/web/changelog/3.3.0_2021-06-23/enhancement-new-file-menu-a11y", "repo_id": "owncloud", "token_count": 60 }
599
Enhancement: add page size view option We've added a new item into the view options which can be used to set the number of items displayed per page. This value is persisted in the local storage so that the user doesn't have to update it every time he visits the app. https://github.com/owncloud/web/pull/5470
owncloud/web/changelog/3.4.0_2021-07-09/enhancement-add-page-size/0
{ "file_path": "owncloud/web/changelog/3.4.0_2021-07-09/enhancement-add-page-size", "repo_id": "owncloud", "token_count": 78 }
600
Enhancement: New layout for context menu The new context menu in the files list received additional menu items and a clear separation into three sections. https://github.com/owncloud/web/issues/5160 https://github.com/owncloud/web/pull/5576
owncloud/web/changelog/4.0.0_2021-08-04/enhancement-contextmenu-layout/0
{ "file_path": "owncloud/web/changelog/4.0.0_2021-08-04/enhancement-contextmenu-layout", "repo_id": "owncloud", "token_count": 65 }
601
Enhancement: Toggle right sidebar We introduced a button above the files list to toggle the right sidebar (open/close). It always opens for the current selection model. If nothing is selected, the current folder will be shown in the right sidebar. With this we now allow sharing a folder when the user already navigated into it. https://github.com/owncloud/web/issues/5165 https://github.com/owncloud/web/pull/5678 https://github.com/owncloud/web/pull/5709
owncloud/web/changelog/4.1.0_2021-08-20/enhancement-toggle-sidebar/0
{ "file_path": "owncloud/web/changelog/4.1.0_2021-08-20/enhancement-toggle-sidebar", "repo_id": "owncloud", "token_count": 119 }
602
Enhancement: move custom permissions to roles drop We've moved all the custom permissions (previously advanced permissions) in the sharing dialog into a dropdown which gets triggered by selecting the Custom permissions item in the roles dropdown. https://github.com/owncloud/web/issues/5764 https://github.com/owncloud/web/pull/5647
owncloud/web/changelog/4.3.0_2021-10-07/enhancement-move-custom-permissions-to-drop/0
{ "file_path": "owncloud/web/changelog/4.3.0_2021-10-07/enhancement-move-custom-permissions-to-drop", "repo_id": "owncloud", "token_count": 81 }
603
Bugfix: Use search app translations We fixed that the search app was not using its translations properly. https://github.com/owncloud/web/issues/5955 https://github.com/owncloud/web/pull/5956
owncloud/web/changelog/4.5.0_2021-11-16/bugfix-search-app-translations/0
{ "file_path": "owncloud/web/changelog/4.5.0_2021-11-16/bugfix-search-app-translations", "repo_id": "owncloud", "token_count": 56 }
604
Bugfix: Extension casing We fixed file extensions always being shown in lowercase. https://github.com/owncloud/web/issues/5339 https://github.com/owncloud/web/pull/6117
owncloud/web/changelog/4.7.0_2021-12-16/bugfix-extension-casing/0
{ "file_path": "owncloud/web/changelog/4.7.0_2021-12-16/bugfix-extension-casing", "repo_id": "owncloud", "token_count": 52 }
605
Enhancement: Show feedback on startup Instead of displaying an empty page while all components load, display a spiner. Also show an error message if there was an error. https://github.com/owncloud/web/pull/5985
owncloud/web/changelog/4.7.0_2021-12-16/enhancement-feedback-on-startup/0
{ "file_path": "owncloud/web/changelog/4.7.0_2021-12-16/enhancement-feedback-on-startup", "repo_id": "owncloud", "token_count": 55 }
606
Change: Dropped editor route whitelist We've dropped the `routes` key from file extension handlers defined by editor apps. This was used as a whitelist for being rendered as available editor in the files app. The only usage of this was for disabling editors in the trashbin. We've moved that part of the business logic to the files app itself and from now on ignore the `routes` key from editors. https://github.com/owncloud/web/pull/6381
owncloud/web/changelog/5.0.0_2022-02-14/change-drop-editor-routes-whitelist/0
{ "file_path": "owncloud/web/changelog/5.0.0_2022-02-14/change-drop-editor-routes-whitelist", "repo_id": "owncloud", "token_count": 108 }
607
Enhancement: Add URL handling to markdown editor We made the markdown editor URL aware. This enables the close button to return to the source folder of the file being edited and also enables opening the editor again on page reload. https://github.com/owncloud/web/pull/6134 https://github.com/owncloud/web/issues/5928
owncloud/web/changelog/5.0.0_2022-02-14/enhancement-markdown-editor-url-handling/0
{ "file_path": "owncloud/web/changelog/5.0.0_2022-02-14/enhancement-markdown-editor-url-handling", "repo_id": "owncloud", "token_count": 83 }
608
Bugfix: Breadcrumb 'All Files' link The `All Files` link in the breadcrumb now always point to the root of the personal storage home instead of the optional homeFolder. https://github.com/owncloud/web/pull/6467 https://github.com/owncloud/web/issues/6327
owncloud/web/changelog/5.2.0_2022-03-03/bugfix-breadcrumb-root-path/0
{ "file_path": "owncloud/web/changelog/5.2.0_2022-03-03/bugfix-breadcrumb-root-path", "repo_id": "owncloud", "token_count": 76 }
609
Bugfix: File handling in apps We fixed loading and saving files in apps in all contexts. It's now possible to open files in apps in personal files, favorites, share views and spaces. https://github.com/owncloud/web/pull/6456
owncloud/web/changelog/5.3.0_2022-03-23/bugfix-app-file-handling/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/bugfix-app-file-handling", "repo_id": "owncloud", "token_count": 59 }
610
Enhancement: Contextmenu background hover We've added a background hover color for contextmenu actions. https://github.com/owncloud/web/pull/6553 https://github.com/owncloud/web/pull/6559 https://github.com/owncloud/web/issues/6560
owncloud/web/changelog/5.3.0_2022-03-23/enhancement-contextmenu-hover-background/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/enhancement-contextmenu-hover-background", "repo_id": "owncloud", "token_count": 72 }
611
Enhancement: Implement edit quota action in spaces overview We've added the edit quota action to the space context menu in the spaces overview. https://github.com/owncloud/web/pull/6598
owncloud/web/changelog/5.3.0_2022-03-23/enhancement-spaces-overview-edit-quota/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/enhancement-spaces-overview-edit-quota", "repo_id": "owncloud", "token_count": 48 }
612
Enhancement: Customizable feedback link We've added options and documentation for customization of the `href`, `ariaLabel` and `description` of the feedback link in the topbar. See https://owncloud.dev/clients/web/getting-started/ for documentation. https://github.com/owncloud/web/issues/6702 https://github.com/owncloud/web/pull/6761 https://owncloud.dev/clients/web/getting-started/
owncloud/web/changelog/5.4.0_2022-04-11/enhancement-customizable-feedback-link/0
{ "file_path": "owncloud/web/changelog/5.4.0_2022-04-11/enhancement-customizable-feedback-link", "repo_id": "owncloud", "token_count": 111 }
613
Enhancement: Space name in breadcrumb We have updated the breadcrumbs to show a space's name (if available). https://github.com/owncloud/web/pull/6662 https://github.com/owncloud/web/issues/6637
owncloud/web/changelog/5.4.0_2022-04-11/enhancement-spaces-name-breadcrumb/0
{ "file_path": "owncloud/web/changelog/5.4.0_2022-04-11/enhancement-spaces-name-breadcrumb", "repo_id": "owncloud", "token_count": 63 }
614
Bugfix: Not logged out if backend is ownCloud 10 We've fixed an issue, where the user won't be logged out if the backend is ownCloud 10 https://github.com/owncloud/web/pull/6939 https://github.com/owncloud/web/issues/5886 https://github.com/owncloud/web/pull/7128
owncloud/web/changelog/5.5.0_2022-06-20/bugfix-not-logged-out-if-oC10-backend/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/bugfix-not-logged-out-if-oC10-backend", "repo_id": "owncloud", "token_count": 85 }
615
Bugfix: Show message while upload size exceeds quota We fixed a bug where an upload silently failed if the upload size exceeds the space quota. It now displays a detailed message instead https://github.com/owncloud/web/pull/7032 https://github.com/owncloud/web/issues/7025
owncloud/web/changelog/5.5.0_2022-06-20/bugfix-show-message-while-upload-size-exceeds-quota/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/bugfix-show-message-while-upload-size-exceeds-quota", "repo_id": "owncloud", "token_count": 71 }
616
Enhancement: Add Sentry support We've added Sentry support to enable monitoring and error tracking (see docs "getting started"). https://github.com/owncloud/web/pull/6759
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-add-sentry-support/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-add-sentry-support", "repo_id": "owncloud", "token_count": 47 }
617
Enhancement: Introduce user-management app We've added the app "user-management" with the following features: * Listing, creating, deleting and editing users * Listing, creating, deleting and editing group * Universal search in users and groups view https://github.com/owncloud/web/issues/6673 https://github.com/owncloud/web/issues/6674 https://github.com/owncloud/web/issues/6675 https://github.com/owncloud/web/issues/6676 https://github.com/owncloud/web/issues/6677
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-introduce-web-app-user-management/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-introduce-web-app-user-management", "repo_id": "owncloud", "token_count": 140 }
618
Enhancement: Prevent the resource name in the sidebar from being truncated We now prevent the resource name in the right sidebar from being truncated to ensure that the full name can be read at any time. https://github.com/owncloud/web/issues/6776 https://github.com/owncloud/web/pull/7052
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-sidebar-resource-name-truncate/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-sidebar-resource-name-truncate", "repo_id": "owncloud", "token_count": 78 }
619
Bugfix: Map unknown mime types to image rendering in Preview app Mime types that don't start with `video/`, `audio/` or `image/` were not rendered by the preview app. Files with unknown mime type category are now being rendered as images. https://github.com/owncloud/web/pull/7161
owncloud/web/changelog/5.6.1_2022-06-22/bugfix-preview-mimetype-mapping/0
{ "file_path": "owncloud/web/changelog/5.6.1_2022-06-22/bugfix-preview-mimetype-mapping", "repo_id": "owncloud", "token_count": 77 }
620
Bugfix: file size formatting We've fixed file size formatting to respect the language setting of the user. https://github.com/owncloud/web/pull/7443
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-filesize-formatting/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-filesize-formatting", "repo_id": "owncloud", "token_count": 41 }
621
Bugfix: Don't leak oidc callback url into browser history We've made sure that the oidc callback url does not appear in the browser history after the user has been redirected back from the IdP to ownCloud Web. https://github.com/owncloud/web/issues/3071 https://github.com/owncloud/web/pull/7293
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-oidc-callback-browser-history/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-oidc-callback-browser-history", "repo_id": "owncloud", "token_count": 84 }
622
Bugfix: "Shared with others" and "Shared via Link" resource links not working We've fixed a bug where resource links in "Shared with others" and "Shared via Link" page stopped working. https://github.com/owncloud/web/pull/7308 https://github.com/owncloud/web/issues/7303
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-shared-with-others-and-via-link-resource-links/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-shared-with-others-and-via-link-resource-links", "repo_id": "owncloud", "token_count": 82 }
623
Bugfix: Typo when reading public links capabilities https://github.com/owncloud/web/pull/7595
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-typo-reading-capabilities-pl/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-typo-reading-capabilities-pl", "repo_id": "owncloud", "token_count": 28 }
624
Enhancement: Lowlight cut resources We've added a visual indication to show which resources are being cut https://github.com/owncloud/web/pull/7309
owncloud/web/changelog/5.7.0_2022-09-09/enhancement-lowlight-cut-resources/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/enhancement-lowlight-cut-resources", "repo_id": "owncloud", "token_count": 40 }
625
Enhancement: Search improvements We've improved the search, it will show now if no results according to term was found or if the results exceeds the search limit. We've also navigate to the last page while clicking the x in the search input field. https://github.com/owncloud/web/pull/7586 https://github.com/owncloud/web/issues/5644 https://github.com/owncloud/web/issues/7587
owncloud/web/changelog/5.7.0_2022-09-09/enhancement-search-improvements/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/enhancement-search-improvements", "repo_id": "owncloud", "token_count": 106 }
626
Bugfix: Disable shares loading on public and trash locations We've disabled shares loading on public and trash locations as it's not needed. https://github.com/owncloud/web/pull/7739 https://github.com/owncloud/web/issues/7667
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-disable-shares-loading-on-public-and-trash-locations/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-disable-shares-loading-on-public-and-trash-locations", "repo_id": "owncloud", "token_count": 63 }
627
Bugfix: Do not load files from cache in public links When apps (i.e Drawio) try to load a file, the browser caches the request. If the file was modified somewhere else, this causes inconsistent results which prevent saving any changes until the cache is properly cleared. This had previously been fixed for normal files, but not yet for public links - which we took care of now. https://github.com/owncloud/web/pull/7811 https://github.com/owncloud/web/pull/7075
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-nocache-pl/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-nocache-pl", "repo_id": "owncloud", "token_count": 118 }
628
Bugfix: Sidebar without highlighted resource Sidebar panels that require a resource now won't be loaded without such. This fixes a bug where navigating with an open sidebar would break it. https://github.com/owncloud/web/issues/7781 https://github.com/owncloud/web/pull/7826
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-sidebar-without-highlighted-resource/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-sidebar-without-highlighted-resource", "repo_id": "owncloud", "token_count": 73 }
629
Enhancement: Add `X-Request-ID` header to all outgoing requests `X-Request-ID` headers have been added to all outgoing requests to make the tracing of requests easier. https://github.com/owncloud/web/issues/4675 https://github.com/owncloud/web/pull/7800
owncloud/web/changelog/6.0.0_2022-11-29/enhancement-add-x-request-id/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/enhancement-add-x-request-id", "repo_id": "owncloud", "token_count": 76 }
630
Enhancement: Auth context in route meta props The route meta prop has been extended by a new "meta.authContext" property (can be one out of "anonymous", "user", "publicLink" or "hybrid"). With this, app developers can now define anonymous routes, which was hardcoded to a few well known route names before. Anonymous routes are rendered in the application layout, i.e. with the top bar, as the ownCloud Web Chrome should always be visible to the user (except for a few handpicked exceptions in the web runtime, which are still rendered in the plain layout). https://github.com/owncloud/web/issues/7234 https://github.com/owncloud/web/issues/7863 https://github.com/owncloud/web/pull/7874
owncloud/web/changelog/6.0.0_2022-11-29/enhancement-route-meta-props/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/enhancement-route-meta-props", "repo_id": "owncloud", "token_count": 179 }
631
Bugfix: Drop menus with limited vertical screen space We've changed the way how drop menus are positioned when only limited vertical screen space is available. They now fully utilize the available vertical screen space. https://github.com/owncloud/web/issues/8411 https://github.com/owncloud/web/issues/8412 https://github.com/owncloud/web/pull/8453 https://github.com/owncloud/web/pull/8584
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-drop-menus-limited-vertical-space/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-drop-menus-limited-vertical-space", "repo_id": "owncloud", "token_count": 107 }
632
Bugfix: Resource not found and No content message at the same time We've fixed a bug where the "Resource not found" and "Empty folder" messages were shown at the same time. https://github.com/owncloud/web/issues/9061 https://github.com/owncloud/web/pull/9062
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-no-content-not-found/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-no-content-not-found", "repo_id": "owncloud", "token_count": 77 }
633
Bugfix: Re-loading space members panel We've fixed a bug where re-loading the members panel for a space would remove recently added members in the UI. https://github.com/owncloud/web/pull/8300 https://github.com/owncloud/web/issues/8298
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-re-loading-space-members/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-re-loading-space-members", "repo_id": "owncloud", "token_count": 69 }
634
Bugfix: Show space members despite deleted entries The space members panel in the right sidebar was not showing any members anymore if one of the members was deleted. This has been fixed and now shows the remaining members. https://github.com/owncloud/web/issues/8148 https://github.com/owncloud/web/pull/8336
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-space-members-panel-deleted-members/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-space-members-panel-deleted-members", "repo_id": "owncloud", "token_count": 78 }
635
Enhancement: Add context menu to users A context menu has been added to the users management page in the admin settings. It can be toggled via right-click and quick-action. https://github.com/owncloud/web/pull/8324 https://github.com/owncloud/web/issues/8323
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-add-context-menu-to-users/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-add-context-menu-to-users", "repo_id": "owncloud", "token_count": 76 }
636
Enhancement: Beautify form inputs We've updated the styling of text inputs. https://github.com/owncloud/web/pull/8554
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-beautify-form-inputs/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-beautify-form-inputs", "repo_id": "owncloud", "token_count": 37 }
637
Enhancement: Font family in theming We've added support for modifying the font family via theming. Please note that the chosen font needs to be made available as `font-face` via additional CSS. https://github.com/owncloud/web/pull/8797
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-font-family-theming/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-font-family-theming", "repo_id": "owncloud", "token_count": 64 }
638
Enhancement: Enable autoplay in the preview app https://github.com/owncloud/web/pull/7995 https://github.com/owncloud/web/issues/7908
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-preview-app-enable-autoplay/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-preview-app-enable-autoplay", "repo_id": "owncloud", "token_count": 45 }
639
Enhancement: Space group members We've added the option to manage and work with space group members. In detail it contains: * Permission management for space group members * Inherit space group permissions to child resources * Groups appear in the autocomplete list when inviting space members * Selected groups appear in to be invited list * Selected groups are part of the share creation request payload * All group type members of a space are listed in the members section of the space * All users / groups with the "listGrants" permission can see groups which are invited to a space * All users / groups who only have access on a share level inside a sub-resource of a space can not see all groups which are regular members of the space https://github.com/owncloud/web/pull/8161 https://github.com/owncloud/web/pull/8300 https://github.com/owncloud/web/issues/8160 https://github.com/owncloud/web/issues/8177 https://github.com/owncloud/web/issues/8299
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-share-group-members/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-share-group-members", "repo_id": "owncloud", "token_count": 242 }
640
Enhancement: User settings login field We've introduced the new login field in the user settings, where the admin can allow or disallow the login for the respective user. https://github.com/owncloud/web/pull/8433 https://github.com/owncloud/web/pull/8799 https://github.com/owncloud/web/issues/8484 https://github.com/owncloud/web/issues/8467 https://github.com/owncloud/web/issues/8798
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-user-settings-login-field/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-user-settings-login-field", "repo_id": "owncloud", "token_count": 120 }
641
Bugfix: Uploading to folders that contain special characters Uploading resources to folders that contain special characters in their names has been fixed. https://github.com/owncloud/web/issues/9247 https://github.com/owncloud/web/pull/9290
owncloud/web/changelog/7.1.0_2023-08-23/bugfix-uploading-to-folders-with-special-chars/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/bugfix-uploading-to-folders-with-special-chars", "repo_id": "owncloud", "token_count": 63 }
642
Enhancement: Drag & drop on parent folder We've added the possibility to drag & drop files onto the breadcrumb to move items into parent folders in a fast and intuitive way. https://github.com/owncloud/web/pull/9052 https://github.com/owncloud/web/issues/9043
owncloud/web/changelog/7.1.0_2023-08-23/enhancement-drag-drop-parent-folder/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-drag-drop-parent-folder", "repo_id": "owncloud", "token_count": 74 }
643
Enhancement: Shrink table columns We've decided to shrink most table columns in the file list to their absolute minimum (Shares, Size, Modified/Shared/Delete date, Actions) so that the file name can take up more horizontal space. https://github.com/owncloud/web/issues/8599 https://github.com/owncloud/web/pull/8978
owncloud/web/changelog/7.1.0_2023-08-23/enhancement-shrink-table-columns/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-shrink-table-columns", "repo_id": "owncloud", "token_count": 88 }
644
Bugfix: Zoom in preview app not working with all browsers We fixed a bug where zoom in and zoom out not working in preview app with all browsers, for example in Firefox. https://github.com/owncloud/web/pull/10137
owncloud/web/changelog/7.1.3_2023-12-15/bugfix-zoom-in-preview-app-not-working-with-all-browsers/0
{ "file_path": "owncloud/web/changelog/7.1.3_2023-12-15/bugfix-zoom-in-preview-app-not-working-with-all-browsers", "repo_id": "owncloud", "token_count": 56 }
645
Bugfix: Logout page after token expiry Wrongly showing the logout page after revisiting Web with an expired token has been fixed. Users now get redirected to the login page instead. https://github.com/owncloud/web/pull/10065 https://github.com/owncloud/web/issues/10063
owncloud/web/changelog/8.0.0_2024-03-08/bugfix-logout-page-after-token-expiry/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-logout-page-after-token-expiry", "repo_id": "owncloud", "token_count": 76 }
646
Bugfix: Tags are no longer editable for a locked file Tags are no longer editable for files that are currently locked. https://github.com/owncloud/web/pull/9873 https://github.com/owncloud/web/pull/9883 https://github.com/owncloud/web/issues/9789
owncloud/web/changelog/8.0.0_2024-03-08/bugfix-tags-not-editable-locked-files/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-tags-not-editable-locked-files", "repo_id": "owncloud", "token_count": 78 }
647
Enhancement: Add media type filter chip We've added a new filter option in the search list to filter by media type. https://github.com/owncloud/web/pull/9912 https://github.com/owncloud/web/pull/9942 https://github.com/owncloud/web/pull/10030 https://github.com/owncloud/web/issues/9780 https://github.com/owncloud/web/issues/9978
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-add-file-media-filter-chip/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-add-file-media-filter-chip", "repo_id": "owncloud", "token_count": 110 }
648
Enhancement: Enable dark theme on importer We've enabled the dark theme on our importer, so the user will see a dark-themed dialog, whenever they activate the dark mode. https://github.com/owncloud/web/pull/9884 https://github.com/owncloud/web/issues/9452
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-enable-dark-theme-on-importer/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-enable-dark-theme-on-importer", "repo_id": "owncloud", "token_count": 76 }
649
Enhancement: Preview app add reset button for images We've added a reset button in the preview app for images to reset rotation, zoom and position. https://github.com/owncloud/web/pull/10356 https://github.com/owncloud/web/issues/9840
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-preview-app-add-reset-button-for-images/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-preview-app-add-reset-button-for-images", "repo_id": "owncloud", "token_count": 67 }
650
Enhancement: Show webdav information in details view We've added WebDav path and WebDav url information to the details view, this might be usefully when the user wants to add an external WebDav client. By default this view option is disabled but can be enabled via account->preferences view. https://github.com/owncloud/web/pull/10062 https://github.com/owncloud/web/pull/10190 https://github.com/owncloud/web/pull/10196 https://github.com/owncloud/web/issues/9714
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-show-webdav-information-in-details/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-show-webdav-information-in-details", "repo_id": "owncloud", "token_count": 138 }
651
Bugfix: Share sidebar icons We've fixed a bug where the share invite search dropdown didn't have icons in some cases. https://github.com/owncloud/web/pull/10551
owncloud/web/changelog/9.0.0_2024-02-26/bugfix-share-sidebar-icons/0
{ "file_path": "owncloud/web/changelog/9.0.0_2024-02-26/bugfix-share-sidebar-icons", "repo_id": "owncloud", "token_count": 46 }
652
Enhancement: icon for .dcm files We've added a custom icon for medical images of the file type dcm. https://github.com/owncloud/web/issues/9215 https://github.com/owncloud/web/pull/10172
owncloud/web/changelog/9.0.0_2024-02-26/enhancement-medical-icon/0
{ "file_path": "owncloud/web/changelog/9.0.0_2024-02-26/enhancement-medical-icon", "repo_id": "owncloud", "token_count": 62 }
653
{ "server": "https://localhost:9200", "theme": "https://localhost:9200/themes/owncloud/theme.json", "openIdConnect": { "metadata_url": "https://localhost:9200/.well-known/openid-configuration", "authority": "https://localhost:9200", "client_id": "web", "response_type": "code", "scope": "openid profile email" }, "apps": [ "files", "preview", "pdf-viewer", "search", "text-editor", "draw-io", "external", "admin-settings", "epub-reader" ], "options": { "previewFileMimeTypes": [ "image/gif", "image/png", "image/jpeg", "text/plain", "image/tiff", "image/bmp", "image/x-ms-bmp" ], "upload": { "xhr": { "timeout": 60000 } }, "contextHelpersReadMore": true } }
owncloud/web/config/config.json.sample-ocis/0
{ "file_path": "owncloud/web/config/config.json.sample-ocis", "repo_id": "owncloud", "token_count": 384 }
654
clients: - id: web name: ownCloud web app application_type: web insecure: true trusted: true redirect_uris: - https://host.docker.internal:9200/ - https://host.docker.internal:9200/oidc-callback.html - https://host.docker.internal:9200/oidc-silent-redirect.html - https://host.docker.internal:9201/ - https://host.docker.internal:9201/oidc-callback.html - https://host.docker.internal:9201/oidc-silent-redirect.html - https://ocis.owncloud.test:10200/ - https://ocis.owncloud.test:10200/oidc-callback.html - https://ocis.owncloud.test:10200/oidc-silent-redirect.html - https://ocis.owncloud.test:10201/ - https://ocis.owncloud.test:10201/oidc-callback.html - https://ocis.owncloud.test:10201/oidc-silent-redirect.html origins: - https://host.docker.internal:9200 - https://host.docker.internal:9201 - https://ocis.owncloud.test:10200 - https://ocis.owncloud.test:10201 - id: filepicker name: ownCloud file picker application_type: "" trusted: true secret: "" redirect_uris: - https://host.docker.internal:3000 - https://host.docker.internal:3000?redirect=true origins: - https://host.docker.internal:3000
owncloud/web/dev/docker/ocis.idp.config.yaml/0
{ "file_path": "owncloud/web/dev/docker/ocis.idp.config.yaml", "repo_id": "owncloud", "token_count": 532 }
655
--- title: "ownCloud Web" date: 2018-05-02T00:00:00+00:00 weight: -15 geekdocRepo: https://github.com/owncloud/web geekdocEditPath: edit/master/docs geekdocFilePath: _index.md geekdocCollapseSection: true --- This is the next generation ownCloud frontend. If you're new here, head over to the the [getting started guide]({{< ref "getting-started.md" >}}) for a quick introduction.
owncloud/web/docs/_index.md/0
{ "file_path": "owncloud/web/docs/_index.md", "repo_id": "owncloud", "token_count": 133 }
656
--- title: 'Right sidebar panel extensions' date: 2024-01-23T00:00:00+00:00 weight: 60 geekdocRepo: https://github.com/owncloud/web geekdocEditPath: edit/master/docs/extension-system/extension-types geekdocFilePath: right-sidebar-panels.md geekdocCollapseSection: true --- {{< toc >}} ## Extension Type SideBarPanel The right sidebar is supposed to show information and make context specific actions available for single or multiple selected items. It is structured in a hierarchical way: - Panels which are defined as `root` panels get rendered as immediate members of the right sidebar. - Panels which are defined as non-`root` panels receive a navigation item below the `root` panels so that users can navigate into the respective sub panel. ### Configuration An example of a right sidebar panel extension configuration can be found below: ```typescript interface SidebarPanelExtension<R extends Item, P extends Item, T extends Item> { id: string, type: 'sidebarPanel', scopes?: ExtensionScope[], panel: SideBarPanel<R, P, T> // Please check the SideBarPanel section below } ``` For `id`, `type`, and `scopes`, please see [extension base section]({{< ref "../_index.md#extension-base-configuration" >}}) in top level docs. The `panel` object configures the actual sidebar panel. It consists of different properties and functions, where all the functions get called with a `SideBarPanelContext` entity from the integrating extension points. #### SideBarPanelContext ```typescript interface SideBarPanelContext<R extends Item, P extends Item, T extends Item> { root?: R parent?: P items?: T[] } ``` - `items` - The most important member of the panel context, which denotes all selected items. That can mean all selected files in a files listing, all selected users in a user listing, the individual current file in a file editor. - `parent` - The immediate parent of the selected items. For example, if the user selects a file in a file listing, the parent is the parent folder, or if being in a root of a space, the space itself. Can be `null` for non-hierarchical contexts, e.g. a user listing. - `root` - The uppermost parent of the selected items. For example, if the user selects a file in a file listing, the root is always the space in which the selected files reside. Can be `null` for non-hierarchical contexts, e.g. a user listing. #### SideBarPanel ```typescript interface SideBarPanel<R extends Item, P extends Item, T extends Item> { name: string icon: string iconFillType?: IconFillType title(context: SideBarPanelContext<R, P, T>): string isVisible(context: SideBarPanelContext<R, P, T>): boolean component: Component componentAttrs?(context: SideBarPanelContext<R, P, T>): any isRoot?(context: SideBarPanelContext<R, P, T>): boolean } ``` - `name` - A human readable id for the panel. - `icon`, `iconFillType` and `title` - Properties which are used to render the panel itself or right sidebar navigation items for navigating into that panel. - `isVisible` - Determines if the panel is available for the given panel context. - `component` - Provides a component that renders the actual sidebar panel. - `componentAttrs` - Defines additional props for the component with the given panel context. - `isRoot` - Determines if the panel is a root panel for the given panel context. ## Extension Point FileSideBar In the context of files (e.g. file listing, text editor for a single file, etc.) we have a dedicated component `FileSideBar` which can be toggled (shown/hidden) with a button in the top bar. The component queries all extensions of the type `sideBarPanel` from the extension registry that also fulfill the scope `resource`. By registering an custom extension of type `sideBarPanel` and scope `resource`, your extension will automatically become available in all environments that display the `FileSideBar` (i.e. any file viewer, file editor, file listing).
owncloud/web/docs/extension-system/extension-types/right-sidebar-panels.md/0
{ "file_path": "owncloud/web/docs/extension-system/extension-types/right-sidebar-panels.md", "repo_id": "owncloud", "token_count": 1059 }
657
{ "presets": [ "@babel/preset-env" ], "plugins": [ "@babel/plugin-transform-runtime" ], "env": { "test": { "presets": [ "@babel/preset-env" ], "plugins": [ "babel-plugin-require-context-hook" ] } } }
owncloud/web/packages/design-system/.babelrc/0
{ "file_path": "owncloud/web/packages/design-system/.babelrc", "repo_id": "owncloud", "token_count": 144 }
658
Enhancement: Initial release We created the ownCloud Design System to provide developers with well documents and reusable vue.js components. https://github.com/owncloud/owncloud-design-system/issues/10 https://owncloud.github.io/owncloud-design-system/
owncloud/web/packages/design-system/changelog/1.0.1_2020-01-30/initial-version/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.0.1_2020-01-30/initial-version", "repo_id": "owncloud", "token_count": 67 }
659
Change: Option for justify-content on oc-button OcButton now has a property for defining a `justify-content` value out of left, center, right, space-between, space-around and space-evenly. https://github.com/owncloud/owncloud-design-system/pull/878 https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
owncloud/web/packages/design-system/changelog/1.11.0_2020-09-18/button-justify-content/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.11.0_2020-09-18/button-justify-content", "repo_id": "owncloud", "token_count": 100 }
660