Skip to content

Releases: CodeCollaborate/Server

V1.0.0, Release Candidate 3

Pre-release

Choose a tag to compare

@ObsessiveOrange ObsessiveOrange released this 24 Dec 07:12
Updated from test

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

V1.0.0, Release Candidate 2

Pre-release

Choose a tag to compare

@ObsessiveOrange ObsessiveOrange released this 17 Dec 21:05

Bugfixes regarding synchronization

v1.0-RC1: v1.0 - MVP (#38)

Pre-release

Choose a tag to compare

@ObsessiveOrange ObsessiveOrange released this 04 Dec 01:03
* Merge pull request from CodeCollaborate/ServerWSManager to test

Server ws management feature merged into test

* Added new RunFormatter script  (#3)

* Added new RunFormatter script that prints any golint/govet errors, and auto-formats the source code

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Updated the Git hook to use RunFormatter instead of CheckFormatting

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

PR signed-off by Joel Shapiro

* Signed off by @ObsessiveOrange

* add parsing of top level JSON, begin work on dynamic parsing of request specific data

* Finished factory methods for request lookup and creation. Have a single unit test.

* Finalized design layout, reorganized abstract map constructor function placement to respective resource files, added tests

* add separate function-space for unauthenticated request type and build appropriate framework around it

* added the remaining user methods to the maps

* Fixed some method signature issues.

* fix minor naming issues and add missing todos

* reduce unnecessary exporting

* rename authenticated map

* add new Request interface requrements to eliminate duplicate code

* changed to new format for entering into the authentication map

* Implemented new key format and new interface method for requests

* fixed problems I forgot to fix before pushing

* fixed reference issue

* Made several optimizations through addition of several parameters as pointers.

* add major tests to function map

* fixed formatting issues

Signed off by @ObsessiveOrange

* added tests for invalid JSON (#5)

Signed off by Benedict Wong

* Update RabbitMQ tests (#7)

* Updated RabbitMQ Tests, will error on failed RabbitMQ Conn

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Removed setup for better test clarity

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

PR signed off by: Joel Shapiro <joel.shapiro7@gmail.com>

* DB/FS  (#9)

* added functions for relevant interactions with couchbase

* mysql work

* Updated Travis config for Couchbase setup

* Disabled couchbase install for now

* Couchbase (#8)

* Test

* Added bucket creation

* Reduced sleep time

* Reduced sleep time

* Changed download file name

Signed off by Joel Shapiro (jshap70)

* fixed ben's dumb file endings

* add all mysql functions and unify errors, lots of work

* changed msyql config

* added MySQL setup script, adding more errors for file storage prep

added file system implementations
still TODO: lookup file info by FileID, delete file

This is a combination of 15 commits.
tyring to fix mysql not being setup in travis

* setting up mysql schema for travis

* added lookup file metadata function to mysql, travis attempts

fix linting issue

update mysql schema

* fix .gitignore issue

* added schema switching based on config, fixed lots of issues w/ readability as well as file path joining

Signed off by @ObsessiveOrange

* fixed travis image in readme (#10)

LGTM

* Turn on travis caching, enable slack notifications in travis (#12)

* turn on travis caching, enable slack notifications in travis

* upgrade go to 1.7

* fix caching issue where we cached our own old code base (#13)

* Intgoprocdandeling - aka: server function processing (#11)

Implemented process functions & data handling. Server is now functionally ready to develop against.

LGTM - ObsessiveOrange

* Patching (#14)

Ported OT logic to server, updated tests to be the same as clientcore

* Authentication (#15)

Added authentication and tests, added token validity timeout to server config file

* add changes to RunTest.sh to allow for error printing to console (#16)

* Logging (#17)

New logger, logs to console and ./data/logs/ by default, changed docker setup script to use Go for extensibility.

* change type assertion to type conversion, *mumble mumble* golang types are weird (#18)

* Rabbitmq refactor unmerged (#20)

Refactored RabbitMQ to allow for commands to be sent, refactored responses/notifications into separate package to prevent circular dependencies.

* Resolve panic issue for subscribers and publishers killing each other

Changed all control.Exit close commands to use Shutdown

* api permissions (#19)

* update mysql to add permission value map

* reset changes to mysql, rename files

* add permissions to config, add mysql sproc for permission lookup by project

* implement go to mysql storedproc implementation, fix user permission stored proc to work for owner, fix erronious int8-int32 casting

* reformat to follow go conventions

* fix sproc definer hostname bug which was causing travis errors

* setup framework for permissions probing

* implement permission checking in required process functions

* implement projectGetPermissionConstants

* fix request plurality

* add catch to reject adding an ownership permission

* rebase cleanup

* allow users to remove themselves

* make error code more clear that changing owner is ready

* fix foreign key on user deletion

* add error catching if a user tries to revoke the permission of the owner

* User.Delete request (#22)

* first implementation of User.Delete

* add project.delete notifications for all projects that are deleted with a user

* requested changes for pr

* hotfix to fix issues with mysql connection  (#23)

* resolve nil pointer reference panic on mysql error

* change mysql permissions to execute only by default

* add retries to mysql

* add error on file.create error

* change couchbase to ignore previously written files for now

* add retry timeout

* track todo

* fix off by one error

* Rabbitmq panic hotfix (#24)

fix panic errors for sending on closed channel

* fix runtests, revert couchbase to use insert

* project revoke permission hotfix(es) (#26)

* implement sending a notification to the user who's permissions are getting revoked

* unsubscribe a user when their project permissions are revoked

* run the server on travis build

* Changed User.Projects to return full map of project objects (#27)

* make delete require authentication

* add password generation abilities outside of the user regiser request

* reorganize

* update command flag

* Notification dedup (#31)

Notifications will no longer be sent to the client that sent the originating request

* Scrunching (#30)

Added scrunching to backend. Will scrunch all but top N changes (currently a local variable)

Dependent on CodeCollaborate/ClientCore#24 - Patch Batching

* ensure unique filepaths per project (#32)

implement duplicate projectID + file path + filename checking in mysql

* travis yaml fixes for mysql version changes (#34)

* update couchbase driver version (#36)

* Script cleanup (#37)

* rename and move scripts

* cleanup formatter's formatting

* make run_tests run parallel

* fix formatter to only run commands once

* cleanup prints

* update commit hook

* Add SSL to server (#35)

* Added TLS if /config/TLS directory found

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Added update script

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Updated permissions

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Updated server script

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Removed git pulling

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Added init.d script, updated server script

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Updated permissions

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Updated init.d installer script

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>

* Updated init.d installer script

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>