Skip to content

Conversation

@ObsessiveOrange
Copy link
Member

No description provided.

ObsessiveOrange and others added 30 commits April 12, 2016 00:26
Server ws management feature merged into test
* 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
* 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
Signed off by Benedict Wong
* 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>
* 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
* turn on travis caching, enable slack notifications in travis

* upgrade go to 1.7
Implemented process functions & data handling. Server is now functionally ready to develop against.

LGTM - ObsessiveOrange
Ported OT logic to server, updated tests to be the same as clientcore
Added authentication and tests, added token validity timeout to server config file
New logger, logs to console and ./data/logs/ by default, changed docker setup script to use Go for extensibility.
Refactored RabbitMQ to allow for commands to be sent, refactored responses/notifications into separate package to prevent circular dependencies.
Changed all control.Exit close commands to use Shutdown
* 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
* first implementation of User.Delete

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

* requested changes for pr
* 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
fix panic errors for sending on closed channel
* 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
Fixed authentication of user.delete
ObsessiveOrange and others added 8 commits November 7, 2016 20:41
Notifications will no longer be sent to the client that sent the originating request
Added scrunching to backend. Will scrunch all but top N changes (currently a local variable)

Dependent on CodeCollaborate/ClientCore#24 - Patch Batching
implement duplicate projectID + file path + filename checking in mysql
* 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
* 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>
@julie-is-late julie-is-late changed the title v 1.0 - MVP v1.0 - MVP Dec 3, 2016
@ObsessiveOrange ObsessiveOrange merged commit 6992968 into prod Dec 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants