Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload to multiple locations (new Attempt) #73

Merged
merged 66 commits into from
May 23, 2020
Merged
Show file tree
Hide file tree
Changes from 63 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
0b9de82
Update README.md
JonathanTreffler Nov 12, 2019
80fd588
Create locations.php
JonathanTreffler Nov 17, 2019
a581d22
Update routes.php
JonathanTreffler Nov 17, 2019
50d30d0
Update main.php
JonathanTreffler Nov 17, 2019
62552b8
Create part.navigation.php
JonathanTreffler Nov 17, 2019
824d9a8
Create part.content.php
JonathanTreffler Nov 17, 2019
8579827
integrated js code from NastuzziSamy
JonathanTreffler Nov 20, 2019
6627e1f
Update main.php
JonathanTreffler Nov 20, 2019
11b641a
first working version
JonathanTreffler Nov 20, 2019
f1d32d2
changed add location design
JonathanTreffler Nov 20, 2019
2ca6728
Update main.php
JonathanTreffler Nov 20, 2019
dc06de9
moved add File and Folder Buttons to original place
JonathanTreffler Nov 20, 2019
621c934
Merge branch 'multiple-locations' of https://github.com/TessyPowder/f…
JonathanTreffler Nov 20, 2019
213bcc9
renamed result to uploadTarget
JonathanTreffler Nov 21, 2019
3d2548c
renamed path to fileRelativePath
JonathanTreffler Nov 21, 2019
05534ea
upload.php cleanup
JonathanTreffler Nov 23, 2019
7f5b14a
upload.php cleanup
JonathanTreffler Nov 23, 2019
00f18d2
update.php cleanup
JonathanTreffler Nov 23, 2019
c8bd09e
fix for #71
JonathanTreffler Nov 24, 2019
32a64c4
removed unneccesary attributes of location data
JonathanTreffler Nov 24, 2019
2b0544f
UI improvements
JonathanTreffler Nov 24, 2019
74f09ed
implemented Folder Picker
JonathanTreffler Nov 24, 2019
6cb516e
app.js cleanup
JonathanTreffler Nov 24, 2019
174aafc
UI improvements
JonathanTreffler Nov 24, 2019
f7c4774
added drag and drop; cleaned up upload buttons
JonathanTreffler Nov 25, 2019
e101d64
seprerated permanent and non permanent locations, added message if no…
JonathanTreffler Nov 28, 2019
641d780
added starring location frontend; added removing location feature
JonathanTreffler Nov 29, 2019
ce42ca6
Update README.md
JonathanTreffler Nov 29, 2019
6d7e633
added translations
JonathanTreffler Nov 29, 2019
ed5ec3e
added external storage support
JonathanTreffler Dec 1, 2019
3fc982d
minor cleanup
JonathanTreffler Dec 1, 2019
b617fdd
Merge branch 'multiple-locations' of https://github.com/TessyPowder/f…
JonathanTreffler Dec 1, 2019
ddef0b2
added open directory in files app button to the sidebar
JonathanTreffler Dec 1, 2019
d5895c0
Removed file locking from Flow.js backend
JonathanTreffler Dec 9, 2019
d6e80b2
added missing htmlspecialchars to main template
JonathanTreffler Dec 12, 2019
88c21da
fixed bug ...
JonathanTreffler Dec 20, 2019
94a2400
Rename locations.php to getStarredLocations.php
JonathanTreffler Jan 6, 2020
a29813f
fixed bug
JonathanTreffler Jan 6, 2020
c9e38a0
Changed version code
JonathanTreffler Jan 11, 2020
8981840
Update info.xml
JonathanTreffler Feb 1, 2020
1c0d7d0
first dev version upload
JonathanTreffler May 8, 2020
45e6478
added Db Migration
JonathanTreffler May 8, 2020
50e4c50
database connection works. Starring Frontend and loading starred dire…
JonathanTreffler May 8, 2020
8e84801
made the Flow Libary a valid app service
JonathanTreffler May 8, 2020
46f7bf7
uploading controller is done, moved Flow/Basic into UploadController
JonathanTreffler May 9, 2020
3101e90
Merge pull request #6 from TessyPowder/multiple-locations-dev
JonathanTreffler May 9, 2020
1b5ce9b
started migration to vue.js
JonathanTreffler May 9, 2020
fac0344
started migration to webpack
JonathanTreffler May 10, 2020
012ebb9
added flow.js libary, formatted and fixed App.vue, disabled scss
JonathanTreffler May 10, 2020
447bc80
imported Flow.js correctly, fixed vuejs undefined errors
JonathanTreffler May 10, 2020
bfa8487
now using the vue libary for the App Navigation
JonathanTreffler May 10, 2020
5aefc25
fixed many errors, starring and unstarring UI done, Started implement…
JonathanTreffler May 12, 2020
0835bb3
deleted old files, used ESLint to fix some mixed tabs and spaces errors
JonathanTreffler May 12, 2020
a8f539a
moved vue filters to functions, fixed uploads geting cancelled instan…
JonathanTreffler May 13, 2020
f2cc898
Merge pull request #7 from TessyPowder/multiple-locations-webpack
JonathanTreffler May 13, 2020
96b1299
fixed open in files button
JonathanTreffler May 14, 2020
40241aa
added sorting; fixed most eslint errors
JonathanTreffler May 14, 2020
71af6fd
added a file search filter
JonathanTreffler May 14, 2020
140d0bb
creating the same location twice in the frontend is no longer possible
JonathanTreffler May 14, 2020
fd912bb
fixed the folder icon in the App Navigation
JonathanTreffler May 14, 2020
61c0549
removed stuff left from angular
JonathanTreffler May 14, 2020
12a7608
added myself to the authors :)
JonathanTreffler May 14, 2020
ad86aaf
Update README.md
JonathanTreffler May 14, 2020
8967a11
Update README.md
JonathanTreffler May 23, 2020
857794b
bumped the max Nextcloud version to 19
JonathanTreffler May 23, 2020
ad9e070
fixed wrong indentation
JonathanTreffler May 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
39 changes: 39 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:vue/essential"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"vue"
],
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
};
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.DS_Store
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln

.marginalia

js/
build/
coverage/
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
26 changes: 26 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
extends: 'stylelint-config-recommended-scss',
rules: {
indentation: 'tab',
'selector-type-no-unknown': null,
'number-leading-zero': null,
'rule-empty-line-before': [
'always',
{
ignore: ['after-comment', 'inside-block']
}
],
'declaration-empty-line-before': [
'never',
{
ignore: ['after-declaration']
}
],
'comment-empty-line-before': null,
'selector-type-case': null,
'selector-list-comma-newline-after': null,
'no-descending-specificity': null,
'string-quotes': 'single'
},
plugins: ['stylelint-scss']
}
51 changes: 51 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
all: dev-setup lint build-js-production test

# Dev env management
dev-setup: clean clean-dev npm-init

npm-init:
npm ci

npm-update:
npm update

# Building
build-js:
npm run dev

build-js-production:
npm run build

watch-js:
npm run watch

# Testing
test:
npm run test

test-watch:
npm run test:watch

test-coverage:
npm run test:coverage

# Linting
lint:
npm run lint

lint-fix:
npm run lint:fix

# Style linting
stylelint:
npm run stylelint

stylelint-fix:
npm run stylelint:fix

# Cleaning
clean:
rm -f js/*

clean-dev:
rm -rf node_modules
32 changes: 8 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,26 @@
Description
-----------
Large File Uploader to upload files and folders* with unlimited size. It uses Angular File Upload (https://github.com/flowjs/ng-flow) for handling.
Large File Uploader to upload files and folders* with unlimited size. It uses [flow.js](https://github.com/flowjs/flow.js) for handling.

Early alpha state, not approved for security. This app does not support server side encryption at the moment.
This app is in a stable state, but not thoroughly tested for security

*) Folder upload only works with Firefox, Edge and Chromium-based (Google Chrome, Opera, Vivaldi) browsers
*) Folder upload only works with Firefox, Edge and Chromium-based (Google Chrome, Opera, Brave, Vivaldi) browsers

![](https://raw.githubusercontent.com/e-alfred/flowupload/master/appinfo/flowupload.gif)

Installation
------------
Clone the contents of the repository into your `apps` directory and rename it to `flowupload`, if necessary. Otherwise simply download it from the Nextcloud app store within your Nextcloud instance: https://apps.nextcloud.com/apps/flowupload

Version information
-------------

Version 0.0.9:
- Added Russian translation (thanks to @DmDS)
- Added support for Nextcloud 15
- Fix deprecated calls for compatibility with new Nextcloud releases

Version 0.0.8:
- Fixed deprecated calls for compatibility with Nextcloud 14
- Added translation for Polish, Czech, Spanish (thanks to @joebordes @CHazz @mzary)
- Updated Angular.js to version 1.6.9

Version 0.0.7:
- Added localisation (thanks @NastuzziSamy)
- Added folder upload support for Firefox, Chrome and Edge
- Updated ng-flow-standalone.js version to 2.7.7
- Added character sanitation to prevent upload of files with unsupported characters (especially foreign languages)
Known Bugs
------------
- External Storage is generally supported, but problems can still appear.
- This app does not support server side encryption at the moment.

Licenses
-------
Flowupload: [GNU Affero General Public License](http://www.gnu.org/licenses/agpl-3.0.html)

Flowjs/NG-Flow: [MIT License](https://opensource.org/licenses/MIT)
Flowjs: [MIT License](https://opensource.org/licenses/MIT)

Angularjs: [MIT License](https://opensource.org/licenses/MIT)

Bootstrap: [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0)
67 changes: 0 additions & 67 deletions ajax/Flow/Autoloader.php

This file was deleted.

53 changes: 0 additions & 53 deletions ajax/Flow/Basic.php

This file was deleted.

Loading