text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
const sinon = require('sinon') const { expect } = require('chai') const SandboxedModule = require('sandboxed-module') const isUtf8 = require('utf-8-validate') const Settings = require('@overleaf/settings') const modulePath = '../../../../app/src/Features/Uploads/FileTypeManager.js' describe('FileTypeManager', function () { beforeEach(function () { this.isUtf8 = sinon.spy(isUtf8) this.stats = { isDirectory: sinon.stub().returns(false), size: 100, } const fileContents = 'Ich bin eine kleine Teekanne, kurz und kräftig.' this.fs = { stat: sinon.stub().yields(null, this.stats), readFile: sinon.stub(), } this.fs.readFile .withArgs('utf8.tex') .yields(null, Buffer.from(fileContents, 'utf-8')) this.fs.readFile .withArgs('utf16.tex') .yields(null, Buffer.from(`\uFEFF${fileContents}`, 'utf-16le')) this.fs.readFile .withArgs('latin1.tex') .yields(null, Buffer.from(fileContents, 'latin1')) this.fs.readFile .withArgs('latin1-null.tex') .yields(null, Buffer.from(`${fileContents}\x00${fileContents}`, 'utf-8')) this.fs.readFile .withArgs('utf8-null.tex') .yields(null, Buffer.from(`${fileContents}\x00${fileContents}`, 'utf-8')) this.fs.readFile .withArgs('utf8-non-bmp.tex') .yields(null, Buffer.from(`${fileContents}😈`)) this.fs.readFile .withArgs('utf8-control-chars.tex') .yields(null, Buffer.from(`${fileContents}\x0c${fileContents}`)) this.callback = sinon.stub() this.DocumentHelper = { getEncodingFromTexContent: sinon.stub() } this.FileTypeManager = SandboxedModule.require(modulePath, { requires: { fs: this.fs, 'utf-8-validate': this.isUtf8, '@overleaf/settings': Settings, }, }) }) describe('isDirectory', function () { describe('when it is a directory', function () { beforeEach(function () { this.stats.isDirectory.returns(true) this.FileTypeManager.isDirectory('/some/path', this.callback) }) it('should return true', function () { this.callback.should.have.been.calledWith(null, true) }) }) describe('when it is not a directory', function () { beforeEach(function () { this.stats.isDirectory.returns(false) this.FileTypeManager.isDirectory('/some/path', this.callback) }) it('should return false', function () { this.callback.should.have.been.calledWith(null, false) }) }) }) describe('getType', function () { describe('when the file extension is text', function () { const TEXT_FILENAMES = [ 'file.tex', 'file.bib', 'file.bibtex', 'file.cls', 'file.bst', '.latexmkrc', 'latexmkrc', 'file.lbx', 'file.bbx', 'file.cbx', 'file.m', 'file.TEX', ] TEXT_FILENAMES.forEach(filename => { it(`should classify ${filename} as text`, function (done) { this.FileTypeManager.getType( 'file.tex', 'utf8.tex', (err, { binary }) => { if (err) { return done(err) } binary.should.equal(false) done() } ) }) }) it('should classify large text files as binary', function (done) { this.stats.size = 2 * 1024 * 1024 // 2Mb this.FileTypeManager.getType( 'file.tex', 'utf8.tex', (err, { binary }) => { if (err) { return done(err) } binary.should.equal(true) done() } ) }) it('should not try to determine the encoding of large files', function (done) { this.stats.size = 2 * 1024 * 1024 // 2Mb this.FileTypeManager.getType('file.tex', 'utf8.tex', err => { if (err) { return done(err) } sinon.assert.notCalled(this.isUtf8) done() }) }) it('should detect the encoding of a utf8 file', function (done) { this.FileTypeManager.getType( 'file.tex', 'utf8.tex', (err, { binary, encoding }) => { if (err) { return done(err) } sinon.assert.calledOnce(this.isUtf8) this.isUtf8.returned(true).should.equal(true) encoding.should.equal('utf-8') done() } ) }) it("should return 'latin1' for non-unicode encodings", function (done) { this.FileTypeManager.getType( 'file.tex', 'latin1.tex', (err, { binary, encoding }) => { if (err) { return done(err) } sinon.assert.calledOnce(this.isUtf8) this.isUtf8.returned(false).should.equal(true) encoding.should.equal('latin1') done() } ) }) it('should classify utf16 with BOM as utf-16', function (done) { this.FileTypeManager.getType( 'file.tex', 'utf16.tex', (err, { binary, encoding }) => { if (err) { return done(err) } sinon.assert.calledOnce(this.isUtf8) this.isUtf8.returned(false).should.equal(true) encoding.should.equal('utf-16le') done() } ) }) it('should classify latin1 files with a null char as binary', function (done) { this.FileTypeManager.getType( 'file.tex', 'latin1-null.tex', (err, { binary }) => { if (err) { return done(err) } expect(binary).to.equal(true) done() } ) }) it('should classify utf8 files with a null char as binary', function (done) { this.FileTypeManager.getType( 'file.tex', 'utf8-null.tex', (err, { binary }) => { if (err) { return done(err) } expect(binary).to.equal(true) done() } ) }) it('should classify utf8 files with non-BMP chars as binary', function (done) { this.FileTypeManager.getType( 'file.tex', 'utf8-non-bmp.tex', (err, { binary }) => { if (err) { return done(err) } expect(binary).to.equal(true) done() } ) }) it('should classify utf8 files with ascii control chars as utf-8', function (done) { this.FileTypeManager.getType( 'file.tex', 'utf8-control-chars.tex', (err, { binary, encoding }) => { if (err) { return done(err) } expect(binary).to.equal(false) expect(encoding).to.equal('utf-8') done() } ) }) }) describe('when the file extension is non-text', function () { const BINARY_FILENAMES = ['file.eps', 'file.dvi', 'file.png', 'tex'] BINARY_FILENAMES.forEach(filename => { it(`should classify ${filename} as binary`, function (done) { this.FileTypeManager.getType( 'file.tex', 'utf8.tex', (err, { binary }) => { if (err) { return done(err) } binary.should.equal(false) done() } ) }) }) it('should not try to get the character encoding', function (done) { this.FileTypeManager.getType('file.png', 'utf8.tex', err => { if (err) { return done(err) } sinon.assert.notCalled(this.isUtf8) done() }) }) }) }) describe('shouldIgnore', function () { it('should ignore tex auxiliary files', function (done) { this.FileTypeManager.shouldIgnore('file.aux', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(true) done() }) }) it('should ignore dotfiles', function (done) { this.FileTypeManager.shouldIgnore('path/.git', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(true) done() }) }) it('should not ignore .latexmkrc dotfile', function (done) { this.FileTypeManager.shouldIgnore('path/.latexmkrc', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(false) done() }) }) it('should ignore __MACOSX', function (done) { this.FileTypeManager.shouldIgnore('path/__MACOSX', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(true) done() }) }) it('should not ignore .tex files', function (done) { this.FileTypeManager.shouldIgnore('file.tex', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(false) done() }) }) it('should ignore the case of the extension', function (done) { this.FileTypeManager.shouldIgnore('file.AUX', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(true) done() }) }) it('should not ignore files with an ignored extension as full name', function (done) { this.FileTypeManager.shouldIgnore('dvi', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(false) done() }) }) it('should not ignore directories with an ignored extension as full name', function (done) { this.stats.isDirectory.returns(true) this.FileTypeManager.shouldIgnore('dvi', (err, ignore) => { if (err) { return done(err) } ignore.should.equal(false) done() }) }) }) })
overleaf/web/test/unit/src/Uploads/FileTypeManagerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/Uploads/FileTypeManagerTests.js", "repo_id": "overleaf", "token_count": 5069 }
580
const SandboxedModule = require('sandboxed-module') const path = require('path') const sinon = require('sinon') const { expect } = require('chai') const MODULE_PATH = path.join( __dirname, '../../../../app/src/Features/User/UserPostRegistrationAnalyticsManager' ) describe('UserPostRegistrationAnalyticsManager', function () { beforeEach(function () { this.fakeUserId = '123abc' this.postRegistrationAnalyticsQueue = { add: sinon.stub().resolves(), process: callback => { this.queueProcessFunction = callback }, } this.Queues = { getPostRegistrationAnalyticsQueue: sinon .stub() .returns(this.postRegistrationAnalyticsQueue), } this.UserGetter = { promises: { getUser: sinon.stub().resolves({ _id: this.fakeUserId }), }, } this.InstitutionsAPI = { promises: { getUserAffiliations: sinon.stub().resolves([]), }, } this.AnalyticsManager = { setUserProperty: sinon.stub().resolves(), } this.Features = { hasFeature: sinon.stub().returns(true), } this.init = isSAAS => { this.Features.hasFeature.withArgs('saas').returns(isSAAS) this.UserPostRegistrationAnalyticsManager = SandboxedModule.require( MODULE_PATH, { requires: { '../../infrastructure/Features': this.Features, '../../infrastructure/Queues': this.Queues, './UserGetter': this.UserGetter, '../Institutions/InstitutionsAPI': this.InstitutionsAPI, '../Analytics/AnalyticsManager': this.AnalyticsManager, }, } ) } }) describe('in Server CE/Pro', function () { beforeEach(function () { this.init(false) }) it('should schedule delayed job on queue', function () { this.UserPostRegistrationAnalyticsManager.schedulePostRegistrationAnalytics( { _id: this.fakeUserId } ) expect(this.Queues.getPostRegistrationAnalyticsQueue).to.not.have.been .called expect(this.postRegistrationAnalyticsQueue.add).to.not.have.been.called }) }) describe('in SAAS', function () { beforeEach(function () { this.init(true) }) describe('schedule jobs in SAAS', function () { it('should schedule delayed job on queue', function () { this.UserPostRegistrationAnalyticsManager.schedulePostRegistrationAnalytics( { _id: this.fakeUserId, } ) sinon.assert.calledWithMatch( this.postRegistrationAnalyticsQueue.add, { userId: this.fakeUserId }, { delay: 24 * 60 * 60 * 1000 } ) }) }) describe('process jobs', function () { it('stops without errors if user is not found', async function () { this.UserGetter.promises.getUser.resolves(null) await this.queueProcessFunction({ data: { userId: this.fakeUserId } }) sinon.assert.calledWith(this.UserGetter.promises.getUser, { _id: this.fakeUserId, }) sinon.assert.notCalled( this.InstitutionsAPI.promises.getUserAffiliations ) sinon.assert.notCalled(this.AnalyticsManager.setUserProperty) }) it('sets user property if user has commons account affiliationd', async function () { this.InstitutionsAPI.promises.getUserAffiliations.resolves([ {}, { institution: { commonsAccount: true, }, }, { institution: { commonsAccount: false, }, }, ]) await this.queueProcessFunction({ data: { userId: this.fakeUserId } }) sinon.assert.calledWith(this.UserGetter.promises.getUser, { _id: this.fakeUserId, }) sinon.assert.calledWith( this.InstitutionsAPI.promises.getUserAffiliations, this.fakeUserId ) sinon.assert.calledWith( this.AnalyticsManager.setUserProperty, this.fakeUserId, 'registered-from-commons-account', true ) }) it('does not set user property if user has no commons account affiliation', async function () { this.InstitutionsAPI.promises.getUserAffiliations.resolves([ { institution: { commonsAccount: false, }, }, ]) await this.queueProcessFunction({ data: { userId: this.fakeUserId } }) sinon.assert.notCalled(this.AnalyticsManager.setUserProperty) }) }) }) })
overleaf/web/test/unit/src/User/UserPostRegistrationAnalyticsManagerTests.js/0
{ "file_path": "overleaf/web/test/unit/src/User/UserPostRegistrationAnalyticsManagerTests.js", "repo_id": "overleaf", "token_count": 2014 }
581
const mockModel = require('../MockModel') module.exports = mockModel('File')
overleaf/web/test/unit/src/helpers/models/File.js/0
{ "file_path": "overleaf/web/test/unit/src/helpers/models/File.js", "repo_id": "overleaf", "token_count": 24 }
582
function functionArgsFilter(j, path) { if (path.get('params') && path.get('params').value[0]) { return ['err', 'error'].includes(path.get('params').value[0].name) } else { return false } } function isReturningFunctionCallWithError(path, errorVarName) { return ( path.value.argument && path.value.argument.arguments && path.value.argument.arguments[0] && path.value.argument.arguments[0].name === errorVarName ) } function expressionIsLoggingError(path) { return ['warn', 'error', 'err'].includes( path.get('callee').get('property').value.name ) } function createTagErrorExpression(j, path, errorVarName) { let message = 'error' if (path.value.arguments.length >= 2) { message = path.value.arguments[1].value || message } let info try { info = j.objectExpression( // add properties from original logger info object to the // OError info object, filtering out the err object itself, // which is typically one of the args when doing intermediate // error logging // TODO: this can fail when the property name does not match // the variable name. e.g. { err: error } so need to check // both in the filter path .get('arguments') .value[0].properties.filter( property => property.key.name !== errorVarName ) ) } catch (error) { // if info retrieval fails it remains empty } const args = [j.identifier(errorVarName), j.literal(message)] if (info) { args.push(info) } return j.callExpression( j.memberExpression(j.identifier('OError'), j.identifier('tag')), args ) } function functionBodyProcessor(j, path) { // the error variable should be the first parameter to the function const errorVarName = path.get('params').value[0].name j(path) .find(j.IfStatement) // look for if statements .filter(path => j(path) // find returns inside the if statement where the error from // the args is explicitly returned .find(j.ReturnStatement) .some(path => isReturningFunctionCallWithError(path, errorVarName)) ) .forEach(path => { j(path) .find(j.CallExpression, { callee: { object: { name: 'logger' }, }, }) .filter(path => expressionIsLoggingError(path)) .replaceWith(path => { return createTagErrorExpression(j, path, errorVarName) }) }) } export default function transformer(file, api) { const j = api.jscodeshift let source = file.source // apply transformer to declared functions source = j(source) .find(j.FunctionDeclaration) .filter(path => functionArgsFilter(j, path)) .forEach(path => functionBodyProcessor(j, path)) .toSource() // apply transformer to inline-functions source = j(source) .find(j.FunctionExpression) .filter(path => functionArgsFilter(j, path)) .forEach(path => functionBodyProcessor(j, path)) .toSource() // apply transformer to inline-arrow-functions source = j(source) .find(j.ArrowFunctionExpression) .filter(path => functionArgsFilter(j, path)) .forEach(path => functionBodyProcessor(j, path)) .toSource() // do a plain text search to see if OError is used but not imported if (source.includes('OError') && !source.includes('@overleaf/o-error')) { const root = j(source) // assume the first variable declaration is an import // TODO: this should check that there is actually a require/import here // but in most cases it will be const imports = root.find(j.VariableDeclaration) const importOError = "const OError = require('@overleaf/o-error')\n" // if there were imports insert into list, format can re-order if (imports.length) { j(imports.at(0).get()).insertAfter(importOError) } // otherwise insert at beginning else { root.get().node.program.body.unshift(importOError) } source = root.toSource() } return source }
overleaf/web/transform/o-error/transform.js/0
{ "file_path": "overleaf/web/transform/o-error/transform.js", "repo_id": "overleaf", "token_count": 1479 }
583
"@ownclouders/prettier-config"
owncloud/web/.prettierrc.json/0
{ "file_path": "owncloud/web/.prettierrc.json", "repo_id": "owncloud", "token_count": 13 }
584
Enhancement: Send mtime with uploads 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
owncloud/web/changelog/0.11.0_2020-06-26/3377/0
{ "file_path": "owncloud/web/changelog/0.11.0_2020-06-26/3377", "repo_id": "owncloud", "token_count": 98 }
585
Change: Unite files list status indicators 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
owncloud/web/changelog/0.11.0_2020-06-26/unite-status-indicators/0
{ "file_path": "owncloud/web/changelog/0.11.0_2020-06-26/unite-status-indicators", "repo_id": "owncloud", "token_count": 80 }
586
Enhancement: Enable changing sidebar logo via theming 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
owncloud/web/changelog/0.13.0_2020-07-17/themeable-logo-in-sidebar/0
{ "file_path": "owncloud/web/changelog/0.13.0_2020-07-17/themeable-logo-in-sidebar", "repo_id": "owncloud", "token_count": 64 }
587
Change: Rename "trash bin" to "deleted files" We've renamed the "trash bin" to the more appropriate wording "deleted files". https://github.com/owncloud/web/pull/4071 https://github.com/owncloud/product/issues/231
owncloud/web/changelog/0.17.0_2020-09-25/change-wording-trashbin/0
{ "file_path": "owncloud/web/changelog/0.17.0_2020-09-25/change-wording-trashbin", "repo_id": "owncloud", "token_count": 69 }
588
Enhancement: Internal links in app switcher 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
owncloud/web/changelog/0.2.7_2020-01-14/2838/0
{ "file_path": "owncloud/web/changelog/0.2.7_2020-01-14/2838", "repo_id": "owncloud", "token_count": 61 }
589
Enhancement: Use handler of file editors 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
owncloud/web/changelog/0.26.0_2020-11-23/editor-handler/0
{ "file_path": "owncloud/web/changelog/0.26.0_2020-11-23/editor-handler", "repo_id": "owncloud", "token_count": 57 }
590
Bugfix: Transform route titles into real h1 headings 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
owncloud/web/changelog/0.3.0_2020-01-31/2681/0
{ "file_path": "owncloud/web/changelog/0.3.0_2020-01-31/2681", "repo_id": "owncloud", "token_count": 70 }
591
Change: File actions now always behind three dots button 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/pull/2974 https://github.com/owncloud/web/issues/2998
owncloud/web/changelog/0.4.0_2020-02-14/2974/0
{ "file_path": "owncloud/web/changelog/0.4.0_2020-02-14/2974", "repo_id": "owncloud", "token_count": 103 }
592
Enhancement: Expiration date for collaborators 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
owncloud/web/changelog/0.6.0_2020-03-16/2543/0
{ "file_path": "owncloud/web/changelog/0.6.0_2020-03-16/2543", "repo_id": "owncloud", "token_count": 88 }
593
Enhancement: Visual improvement to errors in input prompts 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
owncloud/web/changelog/0.8.0_2020-04-14/1906/0
{ "file_path": "owncloud/web/changelog/0.8.0_2020-04-14/1906", "repo_id": "owncloud", "token_count": 114 }
594
Enhancement: Add oc10 app build artifact 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
owncloud/web/changelog/1.0.0_2020-12-16/app-build-artifact/0
{ "file_path": "owncloud/web/changelog/1.0.0_2020-12-16/app-build-artifact", "repo_id": "owncloud", "token_count": 60 }
595
Change: Add controllers for oc10 app deployment 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
owncloud/web/changelog/1.0.1_2021-01-08/oc10-app-controllers/0
{ "file_path": "owncloud/web/changelog/1.0.1_2021-01-08/oc10-app-controllers", "repo_id": "owncloud", "token_count": 109 }
596
Bugfix: Only one `<main>` tag per HTML document 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
owncloud/web/changelog/3.0.0_2021-04-21/bugfix-only-one-main-tag/0
{ "file_path": "owncloud/web/changelog/3.0.0_2021-04-21/bugfix-only-one-main-tag", "repo_id": "owncloud", "token_count": 121 }
597
Enhancement: Accessibility improvements 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
owncloud/web/changelog/3.1.0_2021-05-12/enhancement-accessibility-improvements/0
{ "file_path": "owncloud/web/changelog/3.1.0_2021-05-12/enhancement-accessibility-improvements", "repo_id": "owncloud", "token_count": 237 }
598
Bugfix: Avoid duplicate loading of resources 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
owncloud/web/changelog/3.3.0_2021-06-23/bugfix-avoid-duplicate-resource-loading/0
{ "file_path": "owncloud/web/changelog/3.3.0_2021-06-23/bugfix-avoid-duplicate-resource-loading", "repo_id": "owncloud", "token_count": 52 }
599
Bugfix: Remove unnecessary Propfind requests 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
owncloud/web/changelog/3.3.0_2021-06-23/bugfix-unnecessary-webdav-propfind/0
{ "file_path": "owncloud/web/changelog/3.3.0_2021-06-23/bugfix-unnecessary-webdav-propfind", "repo_id": "owncloud", "token_count": 89 }
600
Enhancement: Introduce image cache 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
owncloud/web/changelog/3.3.0_2021-06-23/enhancement-introduce-img-cache/0
{ "file_path": "owncloud/web/changelog/3.3.0_2021-06-23/enhancement-introduce-img-cache", "repo_id": "owncloud", "token_count": 72 }
601
Enhancement: Improve accessibility on user menu 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
owncloud/web/changelog/3.3.0_2021-06-23/enhancement-user-menu-a11y/0
{ "file_path": "owncloud/web/changelog/3.3.0_2021-06-23/enhancement-user-menu-a11y", "repo_id": "owncloud", "token_count": 53 }
602
Bugfix: Send authentication on manifests.json We've changed that requests to manifest.json will use authentication, too. https://github.com/owncloud/web/pull/5553
owncloud/web/changelog/4.0.0_2021-08-04/bugfix-send-cookie-manifests-json/0
{ "file_path": "owncloud/web/changelog/4.0.0_2021-08-04/bugfix-send-cookie-manifests-json", "repo_id": "owncloud", "token_count": 44 }
603
Enhancement: Enable live reload for changes to themes 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
owncloud/web/changelog/4.1.0_2021-08-20/enhancement-enable-live-reload-for-themes/0
{ "file_path": "owncloud/web/changelog/4.1.0_2021-08-20/enhancement-enable-live-reload-for-themes", "repo_id": "owncloud", "token_count": 85 }
604
Enhancement: Download as archive 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/pull/5832 https://github.com/owncloud/web/issues/3913 https://github.com/owncloud/web/issues/5809
owncloud/web/changelog/4.3.0_2021-10-07/enhancement-download-as-archive/0
{ "file_path": "owncloud/web/changelog/4.3.0_2021-10-07/enhancement-download-as-archive", "repo_id": "owncloud", "token_count": 156 }
605
Enhancement: Update ODS to v11.0.0 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
owncloud/web/changelog/4.4.0_2021-10-26/enhancement-update-ods/0
{ "file_path": "owncloud/web/changelog/4.4.0_2021-10-26/enhancement-update-ods", "repo_id": "owncloud", "token_count": 212 }
606
Enhancement: Add tooltips to relative dates Relative dates like "1 day ago" now have a tooltip that shows the absolute date. https://github.com/owncloud/web/pull/6037 https://github.com/owncloud/web/issues/5672
owncloud/web/changelog/4.6.0_2021-12-07/enhancement-relative-date-tooltips/0
{ "file_path": "owncloud/web/changelog/4.6.0_2021-12-07/enhancement-relative-date-tooltips", "repo_id": "owncloud", "token_count": 65 }
607
Enhancement: Adopt oc-table-files from ods 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
owncloud/web/changelog/4.7.0_2021-12-16/enhancement-adopt-oc-table-files/0
{ "file_path": "owncloud/web/changelog/4.7.0_2021-12-16/enhancement-adopt-oc-table-files", "repo_id": "owncloud", "token_count": 108 }
608
Bugfix: Open folder from context menu 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
owncloud/web/changelog/5.0.0_2022-02-14/bugfix-open-folder-context-menu/0
{ "file_path": "owncloud/web/changelog/5.0.0_2022-02-14/bugfix-open-folder-context-menu", "repo_id": "owncloud", "token_count": 61 }
609
Enhancement: File selection simplification 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
owncloud/web/changelog/5.0.0_2022-02-14/enhancement-file-selection/0
{ "file_path": "owncloud/web/changelog/5.0.0_2022-02-14/enhancement-file-selection", "repo_id": "owncloud", "token_count": 124 }
610
Bugfix: Fix closing apps opened from search 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
owncloud/web/changelog/5.1.0_2022-02-18/bugfix-return-to-search/0
{ "file_path": "owncloud/web/changelog/5.1.0_2022-02-18/bugfix-return-to-search", "repo_id": "owncloud", "token_count": 50 }
611
Enhancement: Outsource space readme content modal We've added a new component for space readme content modal and extracted duplicated code. https://github.com/owncloud/web/pull/6509
owncloud/web/changelog/5.2.0_2022-03-03/enhancement-space-readme-content-modal/0
{ "file_path": "owncloud/web/changelog/5.2.0_2022-03-03/enhancement-space-readme-content-modal", "repo_id": "owncloud", "token_count": 51 }
612
Bugfix: TypeErrors when trying to destruct undefined properties 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
owncloud/web/changelog/5.3.0_2022-03-23/bugfix-space-permission-destructing/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/bugfix-space-permission-destructing", "repo_id": "owncloud", "token_count": 54 }
613
Enhancement: Side bar nav tags We have implemented a way to show a tag next to the sidebar navigation item link text https://github.com/owncloud/web/pull/6540 https://github.com/owncloud/web/issues/6259
owncloud/web/changelog/5.3.0_2022-03-23/enhancement-sidebar-nav-tags/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/enhancement-sidebar-nav-tags", "repo_id": "owncloud", "token_count": 61 }
614
Bugfix: TopBar on redirect We fixed a visual glitch that showed the topbar on redirect pages. https://github.com/owncloud/web/pull/6704 https://github.com/owncloud/web/issues/6527
owncloud/web/changelog/5.4.0_2022-04-11/bugfix-topbar-on-redirect/0
{ "file_path": "owncloud/web/changelog/5.4.0_2022-04-11/bugfix-topbar-on-redirect", "repo_id": "owncloud", "token_count": 57 }
615
Enhancement: Spaces quota unlimited option Space quota can now be set to unlimited https://github.com/owncloud/web/pull/6693 https://github.com/owncloud/web/issues/6470
owncloud/web/changelog/5.4.0_2022-04-11/enhancement-space-quota-unlimited-option/0
{ "file_path": "owncloud/web/changelog/5.4.0_2022-04-11/enhancement-space-quota-unlimited-option", "repo_id": "owncloud", "token_count": 52 }
616
Bugfix: Do not load files from cache 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
owncloud/web/changelog/5.5.0_2022-06-20/bugfix-do-not-load-from-cache/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/bugfix-do-not-load-from-cache", "repo_id": "owncloud", "token_count": 246 }
617
Bugfix: Share downloads 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
owncloud/web/changelog/5.5.0_2022-06-20/bugfix-share-downloads/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/bugfix-share-downloads", "repo_id": "owncloud", "token_count": 89 }
618
Bugfix: Parent folder name on public links 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/pull/7104 https://github.com/owncloud/web/issues/7101
owncloud/web/changelog/5.5.0_2022-06-20/bugfix-upload-overlay-public-parent-folder/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/bugfix-upload-overlay-public-parent-folder", "repo_id": "owncloud", "token_count": 74 }
619
Enhancement: EOS links insidebar, fix tooltips 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
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-eos-links-in-sidebar/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-eos-links-in-sidebar", "repo_id": "owncloud", "token_count": 133 }
620
Enhancement: Replace deprecated String.prototype.substr() 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
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-replace-deprecated-substr/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-replace-deprecated-substr", "repo_id": "owncloud", "token_count": 67 }
621
Enhancement: Use event bus for upload related actions Instead of extending Vue, the uppy service now uses our custom `EventBus`. https://github.com/owncloud/web/pull/6853 https://github.com/owncloud/web/pull/6864 https://github.com/owncloud/web/issues/6819
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-uppy-service-event-bus/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-uppy-service-event-bus", "repo_id": "owncloud", "token_count": 81 }
622
Bugfix: External apps fixes 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
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-external-apps/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-external-apps", "repo_id": "owncloud", "token_count": 72 }
623
Bugfix: Missing file icon in details panel 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/pull/7344 https://github.com/owncloud/web/issues/7337
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-missing-file-icon-in-details-panel/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-missing-file-icon-in-details-panel", "repo_id": "owncloud", "token_count": 68 }
624
Bugfix: Repair navigation highlighter 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
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-repair-navigtion-highlighter/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-repair-navigtion-highlighter", "repo_id": "owncloud", "token_count": 76 }
625
Bugfix: File list render performance 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
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-table-render-performance/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-table-render-performance", "repo_id": "owncloud", "token_count": 128 }
626
Enhancement: Drop menu styling in right sidebar 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/pull/7365 https://github.com/owncloud/web/issues/7335
owncloud/web/changelog/5.7.0_2022-09-09/enhancement-drop-menu-styling-right-sidebar/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/enhancement-drop-menu-styling-right-sidebar", "repo_id": "owncloud", "token_count": 67 }
627
Enhancement: Add resource name to the WebDAV properties We've added the resource name to the WebDAV properties. https://github.com/owncloud/web/pull/7485
owncloud/web/changelog/5.7.0_2022-09-09/enhancement-resource-name-webdav-property/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/enhancement-resource-name-webdav-property", "repo_id": "owncloud", "token_count": 46 }
628
Bugfix: Add language param opening external app 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
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-add-language-param-open-external-app/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-add-language-param-open-external-app", "repo_id": "owncloud", "token_count": 55 }
629
Bugfix: Link indicator on "Shared with me"-page 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
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-link-indicator-shared-with-me/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-link-indicator-shared-with-me", "repo_id": "owncloud", "token_count": 69 }
630
Bugfix: Share editing after selecting a space 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/pull/7873 https://github.com/owncloud/web/issues/7872
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-share-editing-not-possible/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-share-editing-not-possible", "repo_id": "owncloud", "token_count": 70 }
631
Change: Drive aliases in URLs 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
owncloud/web/changelog/6.0.0_2022-11-29/change-drive-aliases-in-urls/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/change-drive-aliases-in-urls", "repo_id": "owncloud", "token_count": 173 }
632
Enhancement: Resolve internal links 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
owncloud/web/changelog/6.0.0_2022-11-29/enhancement-internal-links/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/enhancement-internal-links", "repo_id": "owncloud", "token_count": 89 }
633
Bugfix: Opening context menu via keyboard The position of the context menu when opened via keyboard has been fixed. https://github.com/owncloud/web/pull/8827 https://github.com/owncloud/web/issues/8232
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-context-menu-keyboard/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-context-menu-keyboard", "repo_id": "owncloud", "token_count": 58 }
634
Bugfix: Limit amount of concurrent tus requests 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/pull/8987 https://github.com/owncloud/web/issues/8977
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-limit-concurrent-tus-requests/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-limit-concurrent-tus-requests", "repo_id": "owncloud", "token_count": 84 }
635
Bugfix: Prevent deletion of own account 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/pull/7958 https://github.com/owncloud/web/issues/7955
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-prevent-deletion-of-own-account/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-prevent-deletion-of-own-account", "repo_id": "owncloud", "token_count": 83 }
636
Bugfix: "Show more"-action in shares panel 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
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-show-more-share-panel/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-show-more-share-panel", "repo_id": "owncloud", "token_count": 73 }
637
Change: theme colors 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
owncloud/web/changelog/7.0.0_2023-06-02/change-theme-colors/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/change-theme-colors", "repo_id": "owncloud", "token_count": 138 }
638
Enhancement: Admin settings users section details improvement 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
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-admin-settings-user-details-improvement/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-admin-settings-user-details-improvement", "repo_id": "owncloud", "token_count": 65 }
639
Enhancement: Enable guest users We've added a way to allow guest users without a personal drive to use the web ui. https://github.com/owncloud/web/pull/8652 https://github.com/owncloud/web/issues/8663
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-enable-guest-users/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-enable-guest-users", "repo_id": "owncloud", "token_count": 63 }
640
Enhancement: Don't open sidebar when copying quicklink 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
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-no-sidebar-when-copying-quicklink/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-no-sidebar-when-copying-quicklink", "repo_id": "owncloud", "token_count": 69 }
641
Enhancement: Respect user read-only configuration by the server 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/pull/8868 https://github.com/owncloud/web/issues/8840
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-respect-user-readonly-configuration/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-respect-user-readonly-configuration", "repo_id": "owncloud", "token_count": 102 }
642
Enhancement: Update libre-graph-api to v1.0 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
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-update-libregraph/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-update-libregraph", "repo_id": "owncloud", "token_count": 98 }
643
Bugfix: Merging folders 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
owncloud/web/changelog/7.1.0_2023-08-23/bugfix-merging-folders/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/bugfix-merging-folders", "repo_id": "owncloud", "token_count": 55 }
644
Enhancement: Batch actions redesign 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/pull/9346 https://github.com/owncloud/web/issues/9340 https://github.com/owncloud/web/issues/9352
owncloud/web/changelog/7.1.0_2023-08-23/enhancement-batch-actions-redesign/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-batch-actions-redesign", "repo_id": "owncloud", "token_count": 103 }
645
Enhancement: Search breadcrumb The search result page now has a breadcrumb item to tell the user where they are. https://github.com/owncloud/web/pull/9077 https://github.com/owncloud/web/issues/9072
owncloud/web/changelog/7.1.0_2023-08-23/enhancement-search-breadcrumb/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-search-breadcrumb", "repo_id": "owncloud", "token_count": 65 }
646
Bugfix: Internal public link resolving An issue where internally resolved public links instantly triggered the default file action has been fixed. https://github.com/owncloud/web/pull/9587 https://github.com/owncloud/web/issues/9578
owncloud/web/changelog/7.1.3_2023-12-15/bugfix-internal-public-link-resolving/0
{ "file_path": "owncloud/web/changelog/7.1.3_2023-12-15/bugfix-internal-public-link-resolving", "repo_id": "owncloud", "token_count": 60 }
647
Bugfix: Enabling "invite people" for password-protected folder/file Enables selecting "invite people" for password-protected folder/file. Selecting this permission will drop password protection and expiration date. https://github.com/owncloud/web/pull/9931 https://github.com/owncloud/web/issues/9922
owncloud/web/changelog/8.0.0_2024-03-08/bugfix-invite people-password-protected-folder/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-invite people-password-protected-folder", "repo_id": "owncloud", "token_count": 82 }
648
Bugfix: Upload space image Space image upload failed due to some code changes, this fixed and works as expected again. https://github.com/owncloud/web/pull/9844 https://github.com/owncloud/web/issues/9839
owncloud/web/changelog/8.0.0_2024-03-08/bugfix-space-image/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-space-image", "repo_id": "owncloud", "token_count": 60 }
649
Enhancement: File versions tooltip with absolute date We've added a tooltip with the absolute date for file versions in file details https://github.com/owncloud/web/pull/9441
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-absolute-date-file-versions/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-absolute-date-file-versions", "repo_id": "owncloud", "token_count": 45 }
650
Enhancement: Display locking information We've added indicators and information in case a file is locked. https://github.com/owncloud/web/pull/9566 https://github.com/owncloud/web/pull/9658 https://github.com/owncloud/web/issues/6682
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-display-lock-information/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-display-lock-information", "repo_id": "owncloud", "token_count": 72 }
651
Enhancement: Manage tags in details panel 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/pull/9905 https://github.com/owncloud/web/pull/10138 https://github.com/owncloud/web/issues/9783 https://github.com/owncloud/web/issues/10115 https://github.com/owncloud/web/issues/10114
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-manage-tags-in-details-panel/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-manage-tags-in-details-panel", "repo_id": "owncloud", "token_count": 137 }
652
Enhancement: Shared by filter 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
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-shared-by-filter/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-shared-by-filter", "repo_id": "owncloud", "token_count": 67 }
653
Bugfix: Folder replace 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
owncloud/web/changelog/9.0.0_2024-02-26/bugfix-folder-replace/0
{ "file_path": "owncloud/web/changelog/9.0.0_2024-02-26/bugfix-folder-replace", "repo_id": "owncloud", "token_count": 69 }
654
Enhancement: Enable user preferences in public links 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
owncloud/web/changelog/9.0.0_2024-02-26/enhancement-enable-user-preferences-in-public-links/0
{ "file_path": "owncloud/web/changelog/9.0.0_2024-02-26/enhancement-enable-user-preferences-in-public-links", "repo_id": "owncloud", "token_count": 65 }
655
# Changelog We are using [calens](https://github.com/restic/calens) to properly generate a changelog before we are tagging a new release. ## Create Changelog items Create a file according to the [template](TEMPLATE) for each changelog in the [unreleased](./unreleased) folder. The following change types are possible: `Bugfix, Change, Enhancement, Security`. ## Automated Changelog build and commit - After each merge to master, the CHANGELOG.md file is automatically updated and the new version will be committed to master while skipping CI. ## Create a new Release - copy the files from the [unreleased](./unreleased) folder into a folder matching the schema `0.3.0_2020-01-10` ## Test the Changelog generator manually - execute `docker run --rm -v $(pwd):$(pwd) -w $(pwd) toolhippie/calens:latest` in the root folder of the project.
owncloud/web/changelog/README.md/0
{ "file_path": "owncloud/web/changelog/README.md", "repo_id": "owncloud", "token_count": 244 }
656
# # This config is based on https://github.com/cs3org/wopiserver/blob/master/wopiserver.conf # # wopiserver.conf # # Default configuration file for the WOPI server for oCIS # ############################################################## [general] # Storage access layer to be loaded in order to operate this WOPI server # only "cs3" is supported with oCIS storagetype = cs3 # Port where to listen for WOPI requests port = 8880 # Logging level. Debug enables the Flask debug mode as well. # Valid values are: Debug, Info, Warning, Error. loglevel = Error loghandler = stream logdest = stdout # URL of your WOPI server or your HA proxy in front of it wopiurl = https://wopiserver.owncloud.test # URL for direct download of files. The complete URL that is sent # to clients will include the access_token argument downloadurl = https://wopiserver.owncloud.test/wopi/iop/download # The internal server engine to use (defaults to flask). # Set to waitress for production installations. internalserver = waitress # List of file extensions deemed incompatible with LibreOffice: # interoperable locking will be disabled for such files nonofficetypes = .md .zmd .txt .epd # List of file extensions to be supported by Collabora (deprecated) codeofficetypes = .odt .ott .ods .ots .odp .otp .odg .otg .doc .dot .xls .xlt .xlm .ppt .pot .pps .vsd .dxf .wmf .cdr .pages .number .key # WOPI access token expiration time [seconds] tokenvalidity = 86400 # WOPI lock expiration time [seconds] wopilockexpiration = 3600 # WOPI lock strict check: if True (default), WOPI locks will be compared according to specs, # that is their representation must match. False allows for a more relaxed comparison, # which compensates incorrect lock requests from Microsoft Office Online 2016-2018 # on-premise setups. wopilockstrictcheck = True # Enable support of rename operations from WOPI apps. This is currently # disabled by default as it has been observed that both MS Office and Collabora # Online do not play well with this feature. # Not supported with oCIS, must always be set to "False" enablerename = False # Detection of external Microsoft Office or LibreOffice locks. By default, lock files # compatible with Office for Desktop applications are detected, assuming that the # underlying storage can be mounted as a remote filesystem: in this case, WOPI GetLock # and SetLock operations return such locks and prevent online apps from entering edit mode. # This feature can be disabled in order to operate a pure WOPI server for online apps. # Not supported with oCIS, must always be set to "False" detectexternallocks = False # Location of the webconflict files. By default, such files are stored in the same path # as the original file. If that fails (e.g. because of missing permissions), # an attempt is made to store such files in this path if specified, otherwise # the system falls back to the recovery space (cf. io|recoverypath). # The keywords <user_initial> and <username> are replaced with the actual username's # initial letter and the actual username, respectively, so you can use e.g. # /your_storage/home/user_initial/username #conflictpath = / # ownCloud's WOPI proxy configuration. Disabled by default. #wopiproxy = https://external-wopi-proxy.com #wopiproxysecretfile = /path/to/your/shared-key-file #proxiedappname = Name of your proxied app [security] # Location of the secret files. Requires a restart of the # WOPI server when either the files or their content change. wopisecretfile = /etc/wopi/wopisecret # iop secret is not used for cs3 storage type #iopsecretfile = /etc/wopi/iopsecret # Use https as opposed to http (requires certificate) usehttps = no # Certificate and key for https. Requires a restart # to apply a change. wopicert = /etc/grid-security/host.crt wopikey = /etc/grid-security/host.key [bridge] # SSL certificate check for the connected apps sslverify = True # Minimal time interval between two consecutive save operations [seconds] #saveinterval = 200 # Minimal time interval before a closed file is WOPI-unlocked [seconds] #unlockinterval = 90 # CodiMD: disable creating zipped bundles when files contain pictures #disablezip = False [io] # Size used for buffered reads [bytes] chunksize = 4194304 # Path to a recovery space in case of I/O errors when reaching to the remote storage. # This is expected to be a local path, and it is provided in order to ease user support. # Defaults to the indicated spool folder. recoverypath = /var/spool/wopirecovery [cs3] # Host and port of the Reva(-like) CS3-compliant GRPC gateway endpoint revagateway = ocis:9142 # Reva/gRPC authentication token expiration time [seconds] # The default value matches Reva's default authtokenvalidity = 3600 # SSL certificate check for Reva sslverify = True
owncloud/web/deployments/examples/ocis_web/config/wopiserver/wopiserver.conf.dist/0
{ "file_path": "owncloud/web/deployments/examples/ocis_web/config/wopiserver/wopiserver.conf.dist", "repo_id": "owncloud", "token_count": 1356 }
657
--- title: "Extension Types" date: 2024-01-25T00:00:00+00:00 weight: 50 geekdocRepo: https://github.com/owncloud/web geekdocEditPath: edit/master/docs/extension-system geekdocFilePath: _index.md geekdocCollapseSection: true --- This section is a guide about the different predefined extension types of ownCloud Web. Please refer to the respective subpages to learn more about the individual extension types.
owncloud/web/docs/extension-system/extension-types/_index.md/0
{ "file_path": "owncloud/web/docs/extension-system/extension-types/_index.md", "repo_id": "owncloud", "token_count": 125 }
658
<!DOCTYPE html> <html lang="en"> <head></head> <body> <script> window.onload = function () { const base = document.querySelector('base') const path = base ? new URL(base.href).pathname.split('/') : [...window.location.pathname.split('/').slice(0, -1), 'index.html#'] const url = new URL([...path, 'web-oidc-silent-redirect'].filter(Boolean).join('/'), window.location.origin) window.location.href = url.href + window.location.search } </script> </body> </html>
owncloud/web/oidc-silent-redirect.html/0
{ "file_path": "owncloud/web/oidc-silent-redirect.html", "repo_id": "owncloud", "token_count": 180 }
659
'use strict' const path = require('path') const config = require('../config') const MiniCssExtractPlugin = require('mini-css-extract-plugin') const packageConfig = require('../package.json') exports.assetsPath = function (_path) { const assetsSubDirectory = process.env.NODE_ENV === 'production' ? config.build.assetsSubDirectory : config.dev.assetsSubDirectory return path.posix.join(assetsSubDirectory, _path) } exports.assetsSystemPath = function (_path) { return path.posix.join(config.system.assetsSubDirectory, _path) } exports.cssLoaders = function (options) { options = options || {} const cssLoader = { loader: 'css-loader', options: { sourceMap: options.sourceMap } } const postcssLoader = { loader: 'postcss-loader', options: { sourceMap: options.sourceMap } } // generate loader string to be used with extract text plugin function generateLoaders(loader, loaderOptions) { const loaders = [] // Extract CSS when that option is specified // (which is the case during production build) if (options.extract) { loaders.push(MiniCssExtractPlugin.loader) } loaders.push(cssLoader) if (options.usePostCSS) { loaders.push(postcssLoader) } if (loader) { loaders.push({ loader: loader + '-loader', options: Object.assign({}, loaderOptions, { sourceMap: options.sourceMap }) }) } return loaders } const sassResourcesConfig = { loader: 'sass-resources-loader', options: { resources: [ path.resolve(__dirname, '../src/assets/tokens/ods.scss'), path.resolve(__dirname, '../src/styles/styles.scss') ] } } // https://vue-loader.vuejs.org/guide/extract-css.html return { css: generateLoaders(), postcss: generateLoaders(), sass: generateLoaders('sass', Object.assign({ indentedSyntax: true })).concat( sassResourcesConfig ), scss: generateLoaders('sass').concat(sassResourcesConfig) } } // Generate loaders for standalone style files (outside of .vue) exports.styleLoaders = function (options) { const output = [] const loaders = exports.cssLoaders(options) for (const extension in loaders) { const loader = loaders[extension] output.push({ test: new RegExp('\\.' + extension + '$'), use: loader }) } return output } exports.createNotifierCallback = () => { const notifier = require('node-notifier') return (severity, errors) => { if (severity !== 'error') { return } const error = errors[0] const filename = error.file && error.file.split('!').pop() notifier.notify({ title: packageConfig.name, message: severity + ': ' + error.name, subtitle: filename || '', icon: path.join(__dirname, 'logo.png') }) } }
owncloud/web/packages/design-system/build/utils.js/0
{ "file_path": "owncloud/web/packages/design-system/build/utils.js", "repo_id": "owncloud", "token_count": 1080 }
660
Bugfix: Fix wrong extend syntax We've fixed the wrong extend syntax in oc-user-menu which was written in LESS. This syntax caused an issue with loading all styles and e.g. margin utility classes were not working. https://github.com/owncloud/owncloud-design-system/pull/870
owncloud/web/packages/design-system/changelog/1.10.1_2020-09-17/wrong-extend/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.10.1_2020-09-17/wrong-extend", "repo_id": "owncloud", "token_count": 73 }
661
Change: Remove fill color for document icon We've removed the hardcoded fill color of the document icon. https://github.com/owncloud/owncloud-design-system/pull/902
owncloud/web/packages/design-system/changelog/1.12.2_2020-10-26/document-icon-fill/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.12.2_2020-10-26/document-icon-fill", "repo_id": "owncloud", "token_count": 46 }
662
Change: Deprecated application menu component We've deprecated the application menu component in favor of the sidebar component. https://github.com/owncloud/owncloud-design-system/pull/735
owncloud/web/packages/design-system/changelog/1.5.0_2020-05-13/deprecated-application-menu-component/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.5.0_2020-05-13/deprecated-application-menu-component", "repo_id": "owncloud", "token_count": 45 }
663
Enhancement: Add mainContent slot to the sidebar We've added slot called mainContent into the sidebar component. This slot replaces the navigation if defined. https://github.com/owncloud/owncloud-design-system/pull/804
owncloud/web/packages/design-system/changelog/1.8.0_2020-07-03/sidebar-main-content/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.8.0_2020-07-03/sidebar-main-content", "repo_id": "owncloud", "token_count": 56 }
664
Bugfix: Drag and Drop triggers wrong actions We addressed the problem when a user tries to upload a file via drag and drop which falsely triggered the drag and drop move in the files table. https://github.com/owncloud/web/issues/5808 https://github.com/owncloud/owncloud-design-system/pull/1732
owncloud/web/packages/design-system/changelog/11.1.0_2021-11-03/bugfix-upload-drag-drop-triggers-files-table/0
{ "file_path": "owncloud/web/packages/design-system/changelog/11.1.0_2021-11-03/bugfix-upload-drag-drop-triggers-files-table", "repo_id": "owncloud", "token_count": 79 }
665
Bugfix: Missing OcDrop shadow In certain situations, other DOM elements made the OcDrop shadow invisible. This has been resolved. https://github.com/owncloud/owncloud-design-system/pull/1926 https://github.com/owncloud/owncloud-design-system/pull/1931
owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/bugfix-oc-drop-shadow/0
{ "file_path": "owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/bugfix-oc-drop-shadow", "repo_id": "owncloud", "token_count": 74 }
666
Enhancement: make Vue-Composition-API available To support upcoming Vue composition-api we`ve added the compatibility layer from the creators. From now on all features described here `https://github.com/vuejs/composition-api` can be used. https://github.com/owncloud/owncloud-design-system/pull/1848
owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/enhancement-add-composition-api/0
{ "file_path": "owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/enhancement-add-composition-api", "repo_id": "owncloud", "token_count": 85 }
667
Enhancement: Apply outstanding background color to oc-card We've adjusted he background color to oc-card to have an outstanding look https://github.com/owncloud/owncloud-design-system/pull/1974
owncloud/web/packages/design-system/changelog/12.2.0_2022-02-28/enhancement-card-background-color/0
{ "file_path": "owncloud/web/packages/design-system/changelog/12.2.0_2022-02-28/enhancement-card-background-color", "repo_id": "owncloud", "token_count": 52 }
668
Enhancement: Polish OcSwitch We've adjusted the OcSwitch to fit the redesign https://github.com/owncloud/owncloud-design-system/pull/2018 https://github.com/owncloud/web/issues/6492
owncloud/web/packages/design-system/changelog/13.0.0_2022-03-23/enhancement-polish-oc-switch/0
{ "file_path": "owncloud/web/packages/design-system/changelog/13.0.0_2022-03-23/enhancement-polish-oc-switch", "repo_id": "owncloud", "token_count": 59 }
669
Enhancement: OcModal input type We've added an option to set the input type for input fields in the OcModal component. https://github.com/owncloud/owncloud-design-system/pull/2077
owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/enhancement-modal-input-type/0
{ "file_path": "owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/enhancement-modal-input-type", "repo_id": "owncloud", "token_count": 56 }
670
Change: Remove OcAlert component https://github.com/owncloud/owncloud-design-system/pull/2210
owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/change-remove-oc-alert/0
{ "file_path": "owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/change-remove-oc-alert", "repo_id": "owncloud", "token_count": 30 }
671
Enhancement: oc-card style We've enhanced the oc-card style classes, to fit better in the corporate design https://github.com/owncloud/owncloud-design-system/pull/2306 https://github.com/owncloud/web/issues/7537 https://github.com/owncloud/owncloud-design-system/pull/2321
owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-oc-card-style/0
{ "file_path": "owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-oc-card-style", "repo_id": "owncloud", "token_count": 90 }
672
Enhancement: Create new files table component We've built a new files table component which has a set of pre-defined fields. Which fields will be displayed depends on the provided resources. This component also wraps a few other components: - OcResource - OcAvatarGroup https://github.com/owncloud/ocis/issues/1177 https://github.com/owncloud/owncloud-design-system/pull/1034 https://github.com/owncloud/owncloud-design-system/pull/1050
owncloud/web/packages/design-system/changelog/2.1.0_2021-01-19/files-table/0
{ "file_path": "owncloud/web/packages/design-system/changelog/2.1.0_2021-01-19/files-table", "repo_id": "owncloud", "token_count": 125 }
673
Change: Use resources instead of ids in selection model We changed the selection model of the `oc-table-files` component to use resources instead of their ids. https://github.com/owncloud/owncloud-design-system/pull/1095
owncloud/web/packages/design-system/changelog/3.0.0_2021-02-24/table-files-selection-model/0
{ "file_path": "owncloud/web/packages/design-system/changelog/3.0.0_2021-02-24/table-files-selection-model", "repo_id": "owncloud", "token_count": 60 }
674
Change: Add properties to make icons and images a11y-compliant https://github.com/owncloud/owncloud-design-system/pull/1161
owncloud/web/packages/design-system/changelog/4.0.0_2021-03-25/change-icon-and-image-accessibility/0
{ "file_path": "owncloud/web/packages/design-system/changelog/4.0.0_2021-03-25/change-icon-and-image-accessibility", "repo_id": "owncloud", "token_count": 37 }
675
Enhancement: Datepicker input style The input style of the datepicker now matches with the ones we use in other components (like text input e.g.). https://github.com/owncloud/owncloud-design-system/pull/1176
owncloud/web/packages/design-system/changelog/4.1.0_2021-03-26/enhancement-datepicker-input-style/0
{ "file_path": "owncloud/web/packages/design-system/changelog/4.1.0_2021-03-26/enhancement-datepicker-input-style", "repo_id": "owncloud", "token_count": 59 }
676
Change: Use peerDependencies instead of dependencies In the past we used dependencies in package.json which can blow up the bundle size a lot. Expect this, it is also possible that the same package with 2 versions is part of the bundle. From now on dependencies that are required to use ODS are added to the peerDependencies section in package.json. Then the consuming application has to add the dependency on it's own and can decide which minor or bugfix version to use. https://github.com/owncloud/owncloud-design-system/pull/1202
owncloud/web/packages/design-system/changelog/5.0.0_2021-04-08/change-peer-dependencies/0
{ "file_path": "owncloud/web/packages/design-system/changelog/5.0.0_2021-04-08/change-peer-dependencies", "repo_id": "owncloud", "token_count": 130 }
677
Enhancement: Accessibility improvements on the sidebar component Added a current page indicator and an overall aria label to the sidebar. Also implemented an alt property for the logo. It used the product name previously which is problematic because alt needs to describe the link rather than the image. https://github.com/owncloud/owncloud-design-system/pull/1231
owncloud/web/packages/design-system/changelog/6.1.0_2021-04-22/enhancement-sidebar-a11y/0
{ "file_path": "owncloud/web/packages/design-system/changelog/6.1.0_2021-04-22/enhancement-sidebar-a11y", "repo_id": "owncloud", "token_count": 82 }
678
Enhancement: Remove uk-drop from OcDrop We've used uikit to manage oc-drop before, now tippy.js acts as a drop in replacement. The api stays the same. https://github.com/owncloud/owncloud-design-system/pull/1269
owncloud/web/packages/design-system/changelog/6.4.0_2021-05-06/enhancement-oc-drop/0
{ "file_path": "owncloud/web/packages/design-system/changelog/6.4.0_2021-05-06/enhancement-oc-drop", "repo_id": "owncloud", "token_count": 71 }
679