-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed nil pointer bug when delete file during storage quota is updating - Fixed force delete lag bug when deleting a lot of large files - Fixed File Manager upload counter and waiting counter bug - Fixed Music App cannot playback filename with hashtag bug - Fixed FTP bug in loading in virtual file system handler - Fixed large file scanner bug - Fixed File Manager cannot open file with two dot bug - Fixed Basic backup cache file bug - Fixed shortcut app selector bug - Fixed AGI file glob and aglob showing hidden file bug - Fixed file operation complete checkmark not shown bug - Fixed desktop clone file bug - Fixed NotepadA load json bug - Fixed file operation dialog bug - Fixed HDSv2 execute URL escape bug - Fixed WebApp reload on non-admin account bug - Fixed Linux netstat bug - Added Screen Capture function - Added Ctrl + C shortcut for desktop file copy - Added experimental upload mode for uploading huge file - Added thumbnail in Music WebApp song list - Added shortcut on Mobile Desktop Interface - Added GET paramter and hash passthrough in login redirection interface - Added File Manager "unzip here" feature - Added localization to shortcut creation interface - Added desktop admin icon after username - Added desktop Ctrl+C and Ctrl+V support - Added file versioning system - Added Makefile - Added Expotential login retry time - Added no-title placeholder for MangaCafe - Added enable overview in non-cloud mode - Added auto tar.gz unzip logic during startup - Added netstat support for MacOS (By jk) - Optimized group unzip logic - Optimized code in file operation dialog - Optimized LDAP logic (By Alanyeung) - Migrated all high abstraction code base to use common module - Moved all trash, cache and versioning file to .metadata folder
- Loading branch information
Showing
396 changed files
with
28,992 additions
and
282,741 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# PLATFORMS := darwin/amd64 darwin/arm64 freebsd/amd64 linux/386 linux/amd64 linux/arm linux/arm64 linux/mipsle windows/386 windows/amd64 windows/arm windows/arm64 | ||
PLATFORMS := darwin/amd64 darwin/arm64 linux/amd64 linux/arm linux/arm64 linux/mipsle windows/amd64 windows/arm64 | ||
temp = $(subst /, ,$@) | ||
os = $(word 1, $(temp)) | ||
arch = $(word 2, $(temp)) | ||
|
||
all: web.tar.gz $(PLATFORMS) fixwindows arozos_file_checksum.sha1 | ||
|
||
binary: $(PLATFORMS) | ||
|
||
hash: arozos_file_checksum.sha1 | ||
|
||
web: web.tar.gz | ||
|
||
clean: | ||
rm -f arozos_*_* | ||
rm -f web.tar.gz | ||
|
||
$(PLATFORMS): | ||
@echo "Building $(os)/$(arch)" | ||
GOROOT_FINAL=Git/ GOOS=$(os) GOARCH=$(arch) go build -o './dist/arozos_$(os)_$(arch)' -ldflags "-s -w" -trimpath | ||
|
||
fixwindows: | ||
-mv ./dist/arozos_windows_amd64 ./dist/arozos_windows_amd64.exe | ||
-mv ./dist/arozos_windows_arm64 ./dist/arozos_windows_arm64.exe | ||
|
||
web.tar.gz: | ||
|
||
@echo "Removing old build resources, if exists" | ||
-rm -rf ./dist/ | ||
-mkdir ./dist/ | ||
|
||
@echo "Moving subfolders to build folder" | ||
-cp -r ./web ./dist/web/ | ||
# cp -r ./subservice ./dist/subservice/ | ||
-cp -r ./system ./dist/system/ | ||
|
||
@ echo "Remove sensitive information" | ||
-rm ./dist/system/dev.uuid | ||
-rm ./dist/system/ao.db | ||
-rm ./dist/system/smtp_conf.json | ||
-rm ./dist/system/storage.json | ||
# -mv ./dist/system/storage.json ./dist/system/storage.json.example | ||
-rm -rf ./dist/system/aecron/ | ||
-rm ./dist/system/cron.json | ||
-rm ./dist/system/bridge.json | ||
-rm ./dist/system/auth/authlog.db | ||
|
||
@ echo "Remove ip2country, todo: Add binary base searching for this function" | ||
-rm -rf "./dist/system/ip2country" | ||
|
||
@ echo "Remove modules that should not go into the build folder" | ||
-rm -rf "./dist/web/Cyinput" | ||
-rm -rf "./dist/web/Label Maker" | ||
-rm -rf "./dist/web/Dummy" | ||
|
||
|
||
@echo "Creating tarball for all required files" | ||
-rm ./dist/web.tar.gz | ||
-cd ./dist/ && tar -czf ./web.tar.gz system/ web/ | ||
|
||
@echo "Clearing up unzipped folder structures" | ||
-rm -rf "./dist/web" | ||
-rm -rf "./dist/system" | ||
|
||
arozos_file_checksum.sha1: | ||
@echo "Generating the checksum, if sha1sum installed" | ||
-sha1sum ./dist/arozos_*_* web.tar.gz > ./dist/arozos_file_checksum.sha1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.