diff --git a/Makefile b/Makefile
index 5e8595ba..589215de 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,22 @@
docker_dev:
- @docker rm -f nuage_dev || true 2> /dev/null
- @docker run -ti --net=host -v /home/mickael/Documents/projects/go/src/github.com/mickael-kerjean/nuage:/tmp/go/src/github.com/mickael-kerjean/nuage nuage_dev sh
+ @docker rm -f filestash_dev || true 2> /dev/null
+ @docker run -ti --net=host -v /home/mickael/Documents/projects/go/src/github.com/mickael-kerjean/filestash:/tmp/go/src/github.com/mickael-kerjean/filestash filestash_dev sh
docker_prd:
- docker build --no-cache -t machines/nuage docker/prod/
- docker push machines/nuage
+ docker build --no-cache -t machines/filestash docker/prod/
+ docker push machines/filestash
build_frontend:
NODE_ENV=production npm run build
build_backend:
- PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ CGO_CFLAGS_ALLOW='-fopenmp' go build -ldflags "-X github.com/mickael-kerjean/nuage/server/common.BUILD_NUMBER=`date -u +%Y%m%d`" -o dist/nuage server/main.go
+ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ CGO_CFLAGS_ALLOW='-fopenmp' go build -ldflags "-X github.com/mickael-kerjean/filestash/server/common.BUILD_NUMBER=`date -u +%Y%m%d`" -o dist/filestash server/main.go
package:
rm -rf dist/
make build_backend
make build_frontend
cp -R config dist/data/config
- mv dist nuage
- tar -zcvf nuage.tar.gz nuage
- rm -rf nuage
+ mv dist filestash
+ tar -zcvf filestash.tar.gz filestash
+ rm -rf filestash
diff --git a/README.md b/README.md
index 53333fdd..ce6e2aa3 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-
+
A Dropbox-like file manager that let you manage your data anywhere it is located:
@@ -6,19 +6,19 @@
Dropbox • Google Drive
-
-
+
+
# Features
- Manage your files from a browser
-- Org mode friendly ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Release-0.1:-Org-Mode-everywhere))
-- Photo management ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Release-0.2:-Photo-Management))
+- Org mode friendly ([documentation](https://github.com/mickael-kerjean/filestash/wiki/Release-0.1:-Org-Mode-everywhere))
+- Photo management ([documentation](https://github.com/mickael-kerjean/filestash/wiki/Release-0.2:-Photo-Management))
- Flexible Share mechanism
- User friendly
- Mobile friendly
-- Customisable ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Customisation))
+- Customisable ([documentation](https://github.com/mickael-kerjean/filestash/wiki/Customisation))
- Super fast
- Works offline
- Upload files and folders
@@ -32,32 +32,32 @@
# Screenshots
-
-
+
+
- Navigating in Nuage
+ Navigating in Filestash
-
-
+
+
Works great with your medias
# Getting started - Installation
-Nuage can be used in different settings:
-- Selfhosting ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Installation:-Selfhosting)): install it somewhere you have full control (with docker, without docker, on a server or even android)
-- Saas ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Installation:-SaaS)): official instance or private instance fully managed
+Filestash can be used in different settings:
+- Selfhosting ([documentation](https://github.com/mickael-kerjean/filestash/wiki/Installation:-Selfhosting)): install it somewhere you have full control (with docker, without docker, on a server or even android)
+- Saas ([documentation](https://github.com/mickael-kerjean/filestash/wiki/Installation:-SaaS)): official instance or private instance fully managed
# Support the project
- Bitcoin: `3LX5KGmSmHDj5EuXrmUvcg77EJxCxmdsgW`
- [Patreon](https://www.patreon.com/mickaelk)
# Documentation
-- [FAQ](https://github.com/mickael-kerjean/nuage/wiki)
-- [Customisation](https://github.com/mickael-kerjean/nuage/wiki/Customisation)
-- [Release Notes](https://github.com/mickael-kerjean/nuage/wiki/Releases)
+- [FAQ](https://github.com/mickael-kerjean/filestash/wiki)
+- [Customisation](https://github.com/mickael-kerjean/filestash/wiki/Customisation)
+- [Release Notes](https://github.com/mickael-kerjean/filestash/wiki/Releases)
# Credits
-- [Contributors](https://github.com/mickael-kerjean/nuage/graphs/contributors) and folks developing awesome libraries (libvips, libraw, ...)
+- [Contributors](https://github.com/mickael-kerjean/filestash/graphs/contributors) and folks developing awesome libraries (libvips, libraw, ...)
- Logo derived from the work of [ssnjrthegr8](https://github.com/ssnjrthegr8), Iconography from [flaticon](https://www.flaticon.com/), [fontawesome](https://fontawesome.com) and [material](https://material.io/icons/)
diff --git a/client/helpers/cache.js b/client/helpers/cache.js
index bb363d1d..aa529aec 100644
--- a/client/helpers/cache.js
+++ b/client/helpers/cache.js
@@ -10,7 +10,7 @@ function Data(){
const DB_VERSION = 3;
Data.prototype._init = function(){
- const request = indexedDB.open('nuage', DB_VERSION);
+ const request = indexedDB.open('filestash', DB_VERSION);
request.onupgradeneeded = (e) => this._setup(e);
this.db = new Promise((done, err) => {
diff --git a/client/index.html b/client/index.html
index 332c27b2..765e272d 100644
--- a/client/index.html
+++ b/client/index.html
@@ -4,7 +4,7 @@
Filestash
-
+
diff --git a/client/pages/connectpage.js b/client/pages/connectpage.js
index 7102c326..91766c95 100644
--- a/client/pages/connectpage.js
+++ b/client/pages/connectpage.js
@@ -88,7 +88,7 @@ export class ConnectPage extends React.Component {
return (
-
+
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index b87900b6..b470d75e 100644
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -31,8 +31,8 @@ RUN mkdir -p $GOPATH/src/github.com/mickael-kerjean/ && \
#################
# Prepare Build
cd $GOPATH/src/github.com/mickael-kerjean && \
- git clone --depth 1 https://github.com/mickael-kerjean/nuage && \
- cd nuage && \
+ git clone --depth 1 https://github.com/mickael-kerjean/filestash && \
+ cd filestash && \
mkdir -p ./dist/data/ && \
mv config ./dist/data/ && \
#################
@@ -42,15 +42,15 @@ RUN mkdir -p $GOPATH/src/github.com/mickael-kerjean/ && \
NODE_ENV=production npm run build && \
#################
# Compile Backend
- cd $GOPATH/src/github.com/mickael-kerjean/nuage/server && go get && cd ../ && \
- go build -ldflags "-X github.com/mickael-kerjean/nuage/server/common.BUILD_NUMBER=`date -u +%Y%m%d`" -o ./dist/nuage ./server/main.go && \
+ cd $GOPATH/src/github.com/mickael-kerjean/filestash/server && go get && cd ../ && \
+ go build -ldflags "-X github.com/mickael-kerjean/filestash/server/common.BUILD_NUMBER=`date -u +%Y%m%d`" -o ./dist/filestash ./server/main.go && \
#################
# Compile Plugins
mkdir -p ./dist/data/plugin && \
go build -buildmode=plugin -o ./dist/data/plugin/image.so server/plugin/plg_image_light/index.go && \
#################
# Finalise the build
- cd $GOPATH/src/github.com/mickael-kerjean/nuage/ && \
+ cd $GOPATH/src/github.com/mickael-kerjean/filestash/ && \
apk --no-cache add ca-certificates && \
mv dist /app && \
cd /app && \
@@ -62,4 +62,4 @@ RUN mkdir -p $GOPATH/src/github.com/mickael-kerjean/ && \
EXPOSE 8334
VOLUME ["/app/data/config/"]
WORKDIR "/app"
-CMD ["/app/nuage"]
\ No newline at end of file
+CMD ["/app/filestash"]
\ No newline at end of file
diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml
index a1db27e4..3810d82e 100644
--- a/docker/prod/docker-compose.yml
+++ b/docker/prod/docker-compose.yml
@@ -1,8 +1,8 @@
version: '2'
services:
app:
- container_name: nuage
- image: machines/nuage
+ container_name: filestash
+ image: machines/filestash
restart: always
environment:
- APPLICATION_URL=
diff --git a/package.json b/package.json
index 63475229..963d2e84 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
- "name": "nuage",
+ "name": "filestash",
"version": "0.0.0",
"description": "An app to manage your files in the cloud",
- "repository": "https://github.com/mickael-kerjean/nuage",
+ "repository": "https://github.com/mickael-kerjean/filestash",
"main": "server/index.js",
"scripts": {
"dev": "webpack --watch",
diff --git a/server/ctrl/admin.go b/server/ctrl/admin.go
index e31a14c1..4ccb0163 100644
--- a/server/ctrl/admin.go
+++ b/server/ctrl/admin.go
@@ -2,7 +2,7 @@ package ctrl
import (
"encoding/json"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"golang.org/x/crypto/bcrypt"
"io/ioutil"
"net/http"
diff --git a/server/ctrl/config.go b/server/ctrl/config.go
index 279111fc..13842203 100644
--- a/server/ctrl/config.go
+++ b/server/ctrl/config.go
@@ -1,7 +1,7 @@
package ctrl
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io"
"io/ioutil"
"net/http"
diff --git a/server/ctrl/files.go b/server/ctrl/files.go
index 4fdac87e..eb498305 100644
--- a/server/ctrl/files.go
+++ b/server/ctrl/files.go
@@ -2,8 +2,8 @@ package ctrl
import (
"encoding/json"
- . "github.com/mickael-kerjean/nuage/server/common"
- "github.com/mickael-kerjean/nuage/server/model"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ "github.com/mickael-kerjean/filestash/server/model"
"io"
"net/http"
"path/filepath"
diff --git a/server/ctrl/session.go b/server/ctrl/session.go
index fbb6f865..c9b43c74 100644
--- a/server/ctrl/session.go
+++ b/server/ctrl/session.go
@@ -4,8 +4,8 @@ import (
"encoding/json"
"fmt"
"github.com/gorilla/mux"
- . "github.com/mickael-kerjean/nuage/server/common"
- "github.com/mickael-kerjean/nuage/server/model"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ "github.com/mickael-kerjean/filestash/server/model"
"net/http"
"time"
)
diff --git a/server/ctrl/share.go b/server/ctrl/share.go
index a2681ef9..4ad0de4b 100644
--- a/server/ctrl/share.go
+++ b/server/ctrl/share.go
@@ -4,8 +4,8 @@ import (
"encoding/json"
"fmt"
"github.com/gorilla/mux"
- . "github.com/mickael-kerjean/nuage/server/common"
- "github.com/mickael-kerjean/nuage/server/model"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ "github.com/mickael-kerjean/filestash/server/model"
"net/http"
"strings"
)
diff --git a/server/ctrl/static.go b/server/ctrl/static.go
index e0e78463..13905911 100644
--- a/server/ctrl/static.go
+++ b/server/ctrl/static.go
@@ -3,7 +3,7 @@ package ctrl
import (
"crypto/md5"
"encoding/base32"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io"
"text/template"
"net/http"
@@ -71,7 +71,7 @@ func AboutHandler(ctx App, res http.ResponseWriter, req *http.Request) {
App []string
Plugins [][]string
}{
- App: []string{"Nuage " + APP_VERSION + "." + BUILD_NUMBER, hashFile(filepath.Join(GetCurrentDir(), "/nuage"), 6)},
+ App: []string{"Filestash " + APP_VERSION + "." + BUILD_NUMBER, hashFile(filepath.Join(GetCurrentDir(), "/filestash"), 6)},
Plugins: func () [][]string {
pPath := filepath.Join(GetCurrentDir(), PLUGIN_PATH)
file, err := os.Open(pPath)
diff --git a/server/ctrl/webdav.go b/server/ctrl/webdav.go
index f73d0e12..44a1a0bf 100644
--- a/server/ctrl/webdav.go
+++ b/server/ctrl/webdav.go
@@ -1,8 +1,8 @@
package ctrl
import (
- . "github.com/mickael-kerjean/nuage/server/common"
- "github.com/mickael-kerjean/nuage/server/model"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ "github.com/mickael-kerjean/filestash/server/model"
"github.com/mickael-kerjean/net/webdav"
"net/http"
)
diff --git a/server/main.go b/server/main.go
index dff8732d..ab253b54 100644
--- a/server/main.go
+++ b/server/main.go
@@ -2,10 +2,10 @@ package main
import (
"github.com/gorilla/mux"
- . "github.com/mickael-kerjean/nuage/server/common"
- . "github.com/mickael-kerjean/nuage/server/ctrl"
- . "github.com/mickael-kerjean/nuage/server/middleware"
- _ "github.com/mickael-kerjean/nuage/server/plugin"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ . "github.com/mickael-kerjean/filestash/server/ctrl"
+ . "github.com/mickael-kerjean/filestash/server/middleware"
+ _ "github.com/mickael-kerjean/filestash/server/plugin"
"net/http"
"net/http/pprof"
"os"
diff --git a/server/middleware/context.go b/server/middleware/context.go
index fc6be5c3..ad3de6f1 100644
--- a/server/middleware/context.go
+++ b/server/middleware/context.go
@@ -2,7 +2,7 @@ package middleware
import (
"encoding/json"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io/ioutil"
"net/http"
)
diff --git a/server/middleware/http.go b/server/middleware/http.go
index df8ce23d..dd0e440f 100644
--- a/server/middleware/http.go
+++ b/server/middleware/http.go
@@ -1,7 +1,7 @@
package middleware
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"net/http"
"path/filepath"
)
diff --git a/server/middleware/index.go b/server/middleware/index.go
index 6a488b4e..c5f58072 100644
--- a/server/middleware/index.go
+++ b/server/middleware/index.go
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"net/http"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"time"
"sync"
)
diff --git a/server/middleware/session.go b/server/middleware/session.go
index fcba8a2f..293fd1d6 100644
--- a/server/middleware/session.go
+++ b/server/middleware/session.go
@@ -2,8 +2,8 @@ package middleware
import (
"encoding/json"
- . "github.com/mickael-kerjean/nuage/server/common"
- "github.com/mickael-kerjean/nuage/server/model"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ "github.com/mickael-kerjean/filestash/server/model"
"github.com/gorilla/mux"
"net/http"
"strings"
diff --git a/server/model/backend/dropbox.go b/server/model/backend/dropbox.go
index 3bf6c687..f1449bfc 100644
--- a/server/model/backend/dropbox.go
+++ b/server/model/backend/dropbox.go
@@ -2,7 +2,7 @@ package backend
import (
"encoding/json"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io"
"io/ioutil"
"net/http"
diff --git a/server/model/backend/ftp.go b/server/model/backend/ftp.go
index 79436add..95ac3db4 100644
--- a/server/model/backend/ftp.go
+++ b/server/model/backend/ftp.go
@@ -1,7 +1,7 @@
package backend
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"github.com/secsy/goftp"
"io"
"os"
diff --git a/server/model/backend/gdrive.go b/server/model/backend/gdrive.go
index 36fc08ff..b85b156e 100644
--- a/server/model/backend/gdrive.go
+++ b/server/model/backend/gdrive.go
@@ -1,7 +1,7 @@
package backend
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"golang.org/x/net/context"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
diff --git a/server/model/backend/git.go b/server/model/backend/git.go
index 418cb585..0bd99d80 100644
--- a/server/model/backend/git.go
+++ b/server/model/backend/git.go
@@ -2,7 +2,7 @@ package backend
import (
"fmt"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"golang.org/x/crypto/ssh"
"gopkg.in/src-d/go-git.v4"
"gopkg.in/src-d/go-git.v4/plumbing"
@@ -81,16 +81,16 @@ func (git Git) Init(params map[string]string, app *App) (IBackend, error) {
p.commit = "{action} ({filename}): {path}"
}
if p.authorName == "" {
- p.authorName = "Nuage"
+ p.authorName = "Filestash"
}
if p.authorEmail == "" {
- p.authorEmail = "https://nuage.kerjean.me"
+ p.authorEmail = "https://filestash.app"
}
if p.committerName == "" {
- p.committerName = "Nuage"
+ p.committerName = "Filestash"
}
if p.committerEmail == "" {
- p.committerEmail = "https://nuage.kerjean.me"
+ p.committerEmail = "https://filestash.app"
}
if len(params["password"]) > 2700 {
return nil, NewError("Your password doesn't fit in a cookie :/", 500)
diff --git a/server/model/backend/s3.go b/server/model/backend/s3.go
index ace7c2e5..83b27e07 100644
--- a/server/model/backend/s3.go
+++ b/server/model/backend/s3.go
@@ -7,7 +7,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3manager"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io"
"os"
"path/filepath"
diff --git a/server/model/backend/sftp.go b/server/model/backend/sftp.go
index 39477586..705b26c0 100644
--- a/server/model/backend/sftp.go
+++ b/server/model/backend/sftp.go
@@ -2,7 +2,7 @@ package backend
import (
"fmt"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"github.com/pkg/sftp"
"golang.org/x/crypto/ssh"
"io"
diff --git a/server/model/backend/webdav.go b/server/model/backend/webdav.go
index 6237df5b..9e6d20a6 100644
--- a/server/model/backend/webdav.go
+++ b/server/model/backend/webdav.go
@@ -2,7 +2,7 @@ package backend
import (
"encoding/xml"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io"
"net/http"
"net/url"
diff --git a/server/model/files.go b/server/model/files.go
index 0514d602..289baaef 100644
--- a/server/model/files.go
+++ b/server/model/files.go
@@ -2,8 +2,8 @@ package model
import (
"fmt"
- . "github.com/mickael-kerjean/nuage/server/common"
- _ "github.com/mickael-kerjean/nuage/server/model/backend"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ _ "github.com/mickael-kerjean/filestash/server/model/backend"
"strings"
)
diff --git a/server/model/files_test.go b/server/model/files_test.go
index 1e3c34d7..30356c62 100644
--- a/server/model/files_test.go
+++ b/server/model/files_test.go
@@ -1,7 +1,7 @@
package model
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io/ioutil"
"strings"
"testing"
diff --git a/server/model/index.go b/server/model/index.go
index d5ea3a1b..65c46df0 100644
--- a/server/model/index.go
+++ b/server/model/index.go
@@ -3,7 +3,7 @@ package model
import (
"database/sql"
_ "github.com/mattn/go-sqlite3"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"path/filepath"
"os"
"time"
diff --git a/server/model/permissions.go b/server/model/permissions.go
index db2be18e..0bbdd8cd 100644
--- a/server/model/permissions.go
+++ b/server/model/permissions.go
@@ -1,7 +1,7 @@
package model
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
)
func CanRead(ctx *App) bool {
diff --git a/server/model/share.go b/server/model/share.go
index a3de6fc1..3845fc0f 100644
--- a/server/model/share.go
+++ b/server/model/share.go
@@ -1,7 +1,7 @@
package model
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"bytes"
"crypto/tls"
"database/sql"
@@ -592,7 +592,7 @@ func TmplEmailVerification() string {
diff --git a/server/model/share_test.go b/server/model/share_test.go
index 9745bef7..29b7e3a2 100644
--- a/server/model/share_test.go
+++ b/server/model/share_test.go
@@ -2,7 +2,7 @@ package model
import (
"testing"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"github.com/stretchr/testify/assert"
)
diff --git a/server/model/webdav.go b/server/model/webdav.go
index 11025bb7..5a0bc4e0 100644
--- a/server/model/webdav.go
+++ b/server/model/webdav.go
@@ -3,7 +3,7 @@ package model
import (
"os"
"context"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"github.com/mickael-kerjean/net/webdav"
"path/filepath"
"strings"
diff --git a/server/plugin/index.go b/server/plugin/index.go
index d7bf6497..51fc1589 100644
--- a/server/plugin/index.go
+++ b/server/plugin/index.go
@@ -1,7 +1,7 @@
package plugin
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"os"
"path/filepath"
plg "plugin"
diff --git a/server/plugin/plg_image_heavy/index.go b/server/plugin/plg_image_heavy/index.go
index b91a9297..15465c2a 100644
--- a/server/plugin/plg_image_heavy/index.go
+++ b/server/plugin/plg_image_heavy/index.go
@@ -2,7 +2,7 @@ package main
import (
"bytes"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"github.com/nfnt/resize"
"image/jpeg"
"io"
diff --git a/server/plugin/plg_image_light/index.go b/server/plugin/plg_image_light/index.go
index c617ae04..579212ef 100644
--- a/server/plugin/plg_image_light/index.go
+++ b/server/plugin/plg_image_light/index.go
@@ -2,8 +2,8 @@ package main
import (
"fmt"
- . "github.com/mickael-kerjean/nuage/server/common"
- "github.com/mickael-kerjean/nuage/server/plugin/plg_image_light/lib"
+ . "github.com/mickael-kerjean/filestash/server/common"
+ "github.com/mickael-kerjean/filestash/server/plugin/plg_image_light/lib"
"io"
"net/http"
"os"
diff --git a/server/plugin/plg_image_light/lib/raw.go b/server/plugin/plg_image_light/lib/raw.go
index e485dd80..2991c676 100644
--- a/server/plugin/plg_image_light/lib/raw.go
+++ b/server/plugin/plg_image_light/lib/raw.go
@@ -6,7 +6,7 @@ package lib
import "C"
import (
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"math/rand"
"time"
"unsafe"
diff --git a/server/plugin/plg_image_light/lib/resizer.c b/server/plugin/plg_image_light/lib/resizer.c
index 54781545..8306bf13 100644
--- a/server/plugin/plg_image_light/lib/resizer.c
+++ b/server/plugin/plg_image_light/lib/resizer.c
@@ -2,7 +2,7 @@
#include
int resizer_init(const int ncpu, const int cache_max, const int cache_mem){
- if(VIPS_INIT("nuage")){
+ if(VIPS_INIT("filestash")){
return 1;
}
vips_concurrency_set(100);
diff --git a/server/plugin/plg_image_light/lib/resizer.go b/server/plugin/plg_image_light/lib/resizer.go
index ce8a57ce..73590340 100644
--- a/server/plugin/plg_image_light/lib/resizer.go
+++ b/server/plugin/plg_image_light/lib/resizer.go
@@ -7,7 +7,7 @@ import "C"
import (
"bytes"
- . "github.com/mickael-kerjean/nuage/server/common"
+ . "github.com/mickael-kerjean/filestash/server/common"
"io"
"runtime"
"unsafe"