Coder Social home page Coder Social logo

gnowledge / gstudio Goto Github PK

View Code? Open in Web Editor NEW
33.0 21.0 126.0 110.11 MB

gstudio is a node description framework (NDF) to create knowledge networks. We are recreating gnowsys-studio with mongodb as storage. This scaled up version with support for multiple projects will be used for the several OER and open courseware projects.

License: GNU Affero General Public License v3.0

Ruby 0.01% Python 50.68% HTML 18.84% CSS 28.22% JavaScript 2.25% Shell 0.01%
ndf cms-framework

gstudio's People

Contributors

91ranjan avatar adityamangla avatar akazuko avatar anujag avatar ashgkwd avatar ashutoshmokal avatar avadootnachankar avatar dakemanu avatar dhiru avatar g31pranjal avatar gnowgi avatar katkamrachana avatar kedar2a avatar krishna31 avatar lakshit07 avatar makfire avatar olympian94 avatar planemad avatar prachirb avatar rohanbadlani avatar saavrabh avatar saieswarepuri avatar sheetalkashid avatar shuchitabanthia avatar snehalw7 avatar somya12 avatar stestrepo avatar sunnychaudhari avatar supriyasawant avatar tulisiddhant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gstudio's Issues

rcs restore function not working as expected

Tried the rcs restore function got this error @katkamrachana Please check

root@school-server:/home/docker/code/gstudio/gnowsys-ndf# python manage.py shell
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> execfile('../doc/deployer/restore_dump.py')

Path -- Node

/data/rcs-repo/Nodes/3/3/3/575333e1c71f85026d3e3833.json

============= in get_json_file():

/data/rcs-repo/Nodes/3/3/3/575333e1c71f85026d3e3833.json,v --> /data/rcs-repo/Nodes/3/3/3/575333e1c71f85026d3e3833.json
revision 1.1 (locked)
co: writable /data/rcs-repo/Nodes/3/3/3/575333e1c71f85026d3e3833.json exists; checkout aborted
Exception while getting JSON: [Errno 2] No such file or directory: '575333e1c71f85026d3e3833.json'
Traceback (most recent call last):
File "", line 1, in
File "../doc/deployer/restore_dump.py", line 238, in
run()
File "../doc/deployer/restore_dump.py", line 52, in run
print "======= _id : ", data['_id']
TypeError: 'NoneType' object has no attribute 'getitem'
======= _id : >>>

root@school-server:/home/docker/code/gstudio/gnowsys-ndf# cd /data/rcs-repo/Nodes/
root@school-server:/data/rcs-repo/Nodes# ls
0 1 2 3 4 5 6 7 8 9 a b c d e f
root@school-server:/data/rcs-repo/Nodes# cd 3/3/3/
root@school-server:/data/rcs-repo/Nodes/3/3/3# ls
575333e1c71f85026d3e3633.json 575333e1c71f85026d3e3733.json 575333e1c71f85026d3e3833.json 575333e1c71f85026d3e3933.json
575333e1c71f85026d3e3633.json,v 575333e1c71f85026d3e3733.json,v 575333e1c71f85026d3e3833.json,v 575333e1c71f85026d3e3933.json,v
root@school-server:/data/rcs-repo/Nodes/3/3/3# ls -l
total 32
-rw-r--r-- 1 500 500 1846 Jun 27 19:13 575333e1c71f85026d3e3633.json
-rw-r--r-- 1 500 500 2102 Jun 27 19:13 575333e1c71f85026d3e3633.json,v
-rw-r--r-- 1 500 500 1848 Jun 27 19:13 575333e1c71f85026d3e3733.json
-rw-r--r-- 1 500 500 2100 Jun 27 19:13 575333e1c71f85026d3e3733.json,v
-rw-r--r-- 1 500 500 1851 Jun 27 19:13 575333e1c71f85026d3e3833.json
-rw-r--r-- 1 500 500 2109 Jun 27 19:13 575333e1c71f85026d3e3833.json,v
-rw-r--r-- 1 500 500 1852 Jun 27 19:13 575333e1c71f85026d3e3933.json
-rw-r--r-- 1 500 500 2112 Jun 27 19:13 575333e1c71f85026d3e3933.json,v
root@school-server:/data/rcs-repo/Nodes/3/3/3# ls -l575333e1c71f85026d3e3833.json
ls: invalid option -- '5'
Try 'ls --help' for more information.
root@school-server:/data/rcs-repo/Nodes/3/3/3# ls -l 575333e1c71f85026d3e3833.json
-rw-r--r-- 1 500 500 1851 Jun 27 19:13 575333e1c71f85026d3e3833.json
root@school-server:/data/rcs-repo/Nodes/3/3/3# ls 575333e1c71f85026d3e3833.json
575333e1c71f85026d3e3833.json
root@school-server:/data/rcs-repo/Nodes/3/3/3#

Alpha: Filters not working properly in gallery and raw material

Filter not working properly in gallery and raw material as:
1. Though selected filter type not having next level values, still its loading next level fileter
2. Selected "Users" filter file not getting listed, even though its present
3. After removing applied filters, popup comes for reload but files are not getting listed back.

Restructure top bar navigation links

Proposal below requires approval.

Current structure

  • metaStudio (#home)
  • home (#home)
    • IF logged in: Group name(#group home) []
  • Page (#page list)
  • File (#file list)
  • Group (#group list)
  • Image
  • Video
  • Forum
  • Quiz

Optimized structure

  • metaStudio (#home)
  • Groups (#group list)
    • IF logged in: Group name(#group home) []
  • Pages (#page list)
  • Gallery (#file list; view filters for video and images)
  • Forum
  • Quiz

group data_dump and group restore script bugs

group data_dump and group restore script does not restore the interaction settings and help pages. Also the group start date, end date and enrollment dates are not getting set that are set in original group

Interactions not visible

When a resource hold multiple has_thread grelations, fetch the PUBLISHED grelation and thread node associated with it, in order to add comments on it.
Also need a script to move replies added to older thread nodes to published version of thread nodes.

Quiz attempts are not getting calculated properly

Quiz attempts are not getting proeprly counted.
E.g: For multiple choice quiz having all the options as correct options, and if user tick on either all option or some of them, attempt is going in wrong attempt count.

Test

Testing gitbot

Functionality to restore data dump with schema mapping.

For import-export of data between platforms that have distinct schema:

  1. While exporting a data dump, create a schema-mapping json file that will hold ObjectIds and names of schema types.

  2. While importing this dump, read the schema-maping file and update the fields that hold schema types' ObjectIds like member_of, type_of fields.

Specify django version in requirements.txt

From IRC conversations I learnt that we should be using django 1.6 but it is not specified in requirements.txt. On my text development, 1.7 got installed and it was causing some errors.

dump-restore script locations

Move dump and restore scripts to same level i.e under management/commands/
Also, rename them as group_dump.py and group_restore.py, respectively

Make file upload and file description creation asynchronous

Current user flow

  • Select files to upload
  • Fill out file details form
  • Click submit

    File is uploaded
    open file list page view
    END

IF file has been previously uploaded > Message "Following files have been previously uploaded" > END

Required user flow

  • Select or drop files to be uploaded in dropzone > Files start uploading to server > END

IF file has been previously uploaded > Mark as duplicate in dropzone > END

  • Fill out file details form
  • Click submit

    open file list page view
    END

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.