-
Notifications
You must be signed in to change notification settings - Fork 1
v1.0 - MVP #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v1.0 - MVP #38
Conversation
This file contains hidden or 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
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
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
Password recovery
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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.