Skip to content

Commit 294dbb1

Browse files
committed
Merge branch 'develop'
2 parents 23dbbaf + d9a5d84 commit 294dbb1

18 files changed

+72
-22
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v2.0.6
2+
- FIX: Correctly escape paths in tags
3+
- FIX: Wait a certain time before starting sync when detecting changes
4+
- FIX: first run routine was called on every startup
5+
16
## v2.0.5
27
- FIX: Display sync folder path
38

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ You can [install it via the Chrome Web store](https://chrome.google.com/webstore
2222
Alternatively, you can still install it by [downloading the Chrome package from the latest release](https://github.com/marcelklehr/floccus/releases/) and dropping it into Chrome's extension page.
2323

2424

25+
2526
#### Updating from 1.x to v2.0
2627
It is recommended to remove all of your bookmarks from your accounts before updating floccus, deleting them and after updating to reconnect them again, in order to prevent unforeseen problems!
2728

@@ -75,7 +76,7 @@ Nonetheless, I've chosen to utilize the WebExtensions API for implementing this
7576
4. The incomplete data format (\#3) is an open problem, but doesn't impact the synchronization of the remaining accessible data.
7677
5. The inability to exclude folders from sync in 3rd-party extensions (\#4) is a problem, but manageable when users are able to manually choose folders to ignore. (Currently not implemented)
7778
6. The lack of safe write operations (\#5) can be dealt with similarly to the missing transaction support: Changes made during sync could lead to an unintended but consistent state, which can be resolved manually. Additionally, precautions are taken to prevent this.
78-
7. In order to avoid syncing prematurely (\#6) floccus can employ a timeout to wait until all pending bookmarks operations are done. (Currently not implemented.)
79+
7. In order to avoid syncing prematurely (\#6) floccus employs a timeout to wait until all pending bookmarks operations are done.
7980

8081
## What's with the name?
8182
[Cirrus floccus](https://en.wikipedia.org/wiki/Cirrus_floccus) is a type of cloud, that <del>can sync your browser data</del> looks very nice.

gulpfile.js

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,29 @@ var gulp = require('gulp')
22
var browserify = require('browserify')
33
var babelify = require('babelify')
44
var tap = require('gulp-tap')
5+
var zip = require('gulp-zip')
6+
7+
const VERSION = require('./package.json').version
8+
const paths = {
9+
zip: [
10+
'dist/*'
11+
, 'icons/*'
12+
, 'views/*'
13+
, 'CHANGELOG.md'
14+
, 'README.md'
15+
, 'manifest.json'
16+
, 'package.json'
17+
, 'LICENSE.txt'
18+
]
19+
, views: './views/*.html'
20+
, entries: 'src/entries/*.js'
21+
, js: 'src/*'
22+
}
523

624
gulp.task('default', ['html', 'js', '3rd-party'])
725

826
gulp.task('js', function () {
9-
return gulp.src('src/entries/*.js', {read: false}) // no need of reading file because browserify does.
27+
return gulp.src(paths.entries, {read: false}) // no need of reading file because browserify does.
1028
// transform file objects using gulp-tap plugin
1129
.pipe(tap(function (file) {
1230
// replace file contents with browserify's bundle stream
@@ -28,7 +46,7 @@ gulp.task('js', function () {
2846
})
2947

3048
gulp.task('html', function () {
31-
return gulp.src('./views/*.html').pipe(gulp.dest('./dist/html/'))
49+
return gulp.src(paths.views).pipe(gulp.dest('./dist/html/'))
3250
})
3351

3452
gulp.task('3rd-party', ['polyfill', 'mocha'])
@@ -45,3 +63,22 @@ gulp.task('mochajs', function () {
4563
gulp.task('mochacss', function () {
4664
return gulp.src('./node_modules/mocha/mocha.css').pipe(gulp.dest('./dist/css/'))
4765
})
66+
67+
gulp.task('release', ['zip', 'xpi'])
68+
69+
gulp.task('zip', ['default'], function () {
70+
gulp.src(paths.zip)
71+
.pipe(zip(`floccus-build-v${VERSION}.zip`))
72+
.pipe(gulp.dest('../'))
73+
})
74+
75+
gulp.task('xpi', ['default'], function () {
76+
gulp.src(paths.zip)
77+
.pipe(zip(`floccus-build-v${VERSION}.xpi`))
78+
.pipe(gulp.dest('../'))
79+
})
80+
81+
gulp.task('watch', function () {
82+
gulp.watch(paths.js, ['js'])
83+
gulp.watch(paths.views, ['html'])
84+
})

icons/logo_128.png

-510 Bytes
Loading

img/promotional-tile-maqruee.xcf

81.2 KB
Binary file not shown.

img/promotional-tile-marquee.png

34 KB
Loading

img/promotional-tile-medium.png

23.3 KB
Loading

img/promotional-tile-medium.xcf

45.4 KB
Binary file not shown.

img/promotional-tile-small.png

14 KB
Loading

img/promotional-tile-small.xcf

28.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)