Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sagemath/sagecell

The Sage Cell Server---providing a way to embed Sage computations into any web page.
https://github.com/sagemath/sagecell

Documentation updates for sage mode and javascript changes.

e946d15f384c7cfa0db5d5250f491a443a3b4557 authored over 13 years ago by Alex Kramer <[email protected]>
Adds user-toggled "sage_mode" parameter for code execution

e3390d6ab3bbecd6bb6d0d330944e2f05c5084e8 authored over 13 years ago by Alex Kramer <[email protected]>
File upload size set by nginx

-- updates readme for nginx config on changing file upload limits
-- Flask now only checks for n...

feac785a00aff7c9ed634059c910e7b002df3026 authored over 13 years ago by Alex Kramer <[email protected]>
Adds error message to user code if running in sage mode without sage.

Fixes some html / css styling issues.

5e9cd3d1462724ce36f2cca0b65dd85fa799dd9f authored over 13 years ago by Alex Kramer <[email protected]>
Limits on file uploads

With default values (hard coded for testing) of:
max number of files = 10, max file size (of any...

22749389b134a9ad766ce4d60dbf03b0bc87def1 authored over 13 years ago by Alex Kramer <[email protected]>
File upload limits as configuration parameters.

9ccb3d7e3e16f7f7190d77d8c2adf4f8890bcd0a authored over 13 years ago by Alex Kramer <[email protected]>
Sage code backend.

Needs more refinement, but it works.

1bce34227a6bb10df33ed528694facbda7bfd4ed authored over 13 years ago by Alex Kramer <[email protected]>
Fixes unescaped html in stream output.

37e5f28fa5e3d3c04ca414fbcdf7fedd7b100869 authored over 13 years ago by Alex Kramer <[email protected]>
Cuts down ultraTB libraries.

8bfbc59ceb635abba95f72b297285f9858c4eade authored over 13 years ago by Alex Kramer <[email protected]>
Merge pull request #71 from kramer314/interacts

Merge in more interact controls (input grid, button selectors, checkboxes)

8c9f2b52112fe409f0fff21a0ee0939dec49ceb2 authored over 13 years ago by Alex Kramer <[email protected]>
Autoguessing update for selector buttons.

247b2fdb48e4b19a3553a5afbb8dcb4d53ac69ab authored over 13 years ago by Alex Kramer <[email protected]>
Merge branch 'zmqresponse' of https://github.com/ihanson/simple-python-db-compute into answer

0e5dff1846efa9f5c895c04cdaa8384fb662165b authored over 13 years ago by Jason Grout <[email protected]>
Make simple_computation timing test support parameters from the config file.

b6d730e2fd0240732a206418e0ac7a9207af1158 authored over 13 years ago by Jason Grout <[email protected]>
Documentation for new interact controls.

d5b2dac15d540b86481928883fa798b746a45241 authored over 13 years ago by Alex Kramer <[email protected]>
Add size parameter to input_box and input_grid

1165b18df73e11dad6106b3f1a601405e6f515ac authored over 13 years ago by Alex Kramer <[email protected]>
Input grid frontend + backend fixes

acd479f0de10317dcb5e04750dcf778ca810b10f authored over 13 years ago by Alex Kramer <[email protected]>
Selector ehancements;

- Checks for correct default index value
- Adds support for item labels corresponding to differe...

a1b46825610dd148026e550e9a69738ee31f8967 authored over 13 years ago by Alex Kramer <[email protected]>
Syntactical consistency across input_grid and selector button interacts

changes columns / rows to ncols / nrows and changes "size" to width.

a15417f9c0cfc8df1f9ab4176f51375534ac4e3f authored over 13 years ago by Alex Kramer <[email protected]>
Implements boolean checkbox interact.

e363422a24f670f6195e9a27c101f14955be9853 authored over 13 years ago by Alex Kramer <[email protected]>
adds inputGrid interact backend.

d04f2ea55026ebdaf4bd32b86163f392d46c37a9 authored over 13 years ago by Alex Kramer <[email protected]>
Selector buttons interacts

Call with buttons=True in selector control declaration.

55f79e6dde7fa40ea6ccf8cc9c4a9e4ad1517ea4 authored over 13 years ago by Alex Kramer <[email protected]>
Making suggested changes

c5b763f60ab641c517a81f3d88040193c2f787ee authored over 13 years ago by Ira Hanson <[email protected]>
Ensuring that all messages to trusted_db receive a response to prevent locking of device process. Fixes #60

9f9c5bd822b1464da29dc294689aba797fc24109 authored over 13 years ago by Ira Hanson <[email protected]>
Take care of an import in misc.py that the untrusted user can't do.

e04a4f48cb27128e0ebd3f3d45f69276314dbadd authored over 13 years ago by Jason Grout <[email protected]>
The untrusted account probably can't import the config file, but still needs to know whether to be verbose or not.

bc1205d83a17b1b68c3d6d53afafb5c6931b946e authored over 13 years ago by Jason Grout <[email protected]>
Slight formatting improvement to /config

77bae2fc85f09d7986e048c927dca2b2a8fa8a9c authored over 13 years ago by Jason Grout <[email protected]>
Print out the config information in a more pythonic format, and include info on all active devices.

cd254d06e8825a61d0c298ff7aa18206a0de80ab authored over 13 years ago by Jason Grout <[email protected]>
Provide a way to register a device and clean up the registrations when quitting a device

This also cleans up the signal handling code a bit.

a878900bd3556264eb3d1a55bed887aeedc43f7f authored over 13 years ago by Jason Grout <[email protected]>
Better formatting for /config URL

353730583b59e28be8499705f55418464774d1d4 authored over 13 years ago by Jason Grout <[email protected]>
Make /config return information about the version number of source.

8a0f9aa0e6b5ab3b0ebf39247569d7278a6a6f61 authored over 13 years ago by Jason Grout <[email protected]>
Add a project_config_script to retrieve setup information about the project, which is inserted into the report.

57ae56f46aa1fb89a50cfad2abb13b8269ed0fe2 authored over 13 years ago by Jason Grout <[email protected]>
Return default logging in the /config URL

61c855e065e16a06c16eaaf35350cc10b7ac9606 authored over 13 years ago by Jason Grout <[email protected]>
Move LOGGING default to the configuration file.

578529d76e8f902ca5c3e92b4b8b8dbc86bd896c authored over 13 years ago by Jason Grout <[email protected]>
Fix typo in misc dealing with mongo configuration.

0754c3071c5c81dbdd3273d0b3a8b640258208e7 authored over 13 years ago by Jason Grout <[email protected]>
Add script to start the device.

09a00078932b62975c8555ae29848a90f808aa64 authored over 13 years ago by Jason Grout <[email protected]>
Finished making the singlecell_config.py work, and added a default file.

8f72486d203fe619e735384fab3886e71bbf650c authored over 13 years ago by Jason Grout <[email protected]>
Change the start_web to not include the module argument, as it always stays the same.

1ba04fd98f1dce0889ee650ccc714bc96f22b53b authored over 13 years ago by Jason Grout <[email protected]>
add a /config URL to the webserver to return interesting setup info from a performance perspective.

6a080ff6b3a67270e6d67dcd9c1c2809e7f59fcb authored over 13 years ago by Jason Grout <[email protected]>
Added start_web.py script that starts the uwsgi web server using the options in the configuration file.

0283acd976b4a12974e285f6f7a47bd05206c2ea authored over 13 years ago by Jason Grout <[email protected]>
Move the python unicode arguments bug workaround to handle all cases in trusted_db.py

0ce9478df120576ae065a97bdac5936dff9fa369 authored over 13 years ago by Jason Grout <[email protected]>
Fix merge conflict where the sessionStorage value was checked

Conflicts:
static/compute_server.js

21c63976476bad7316c25374777ed1939c609210 authored over 13 years ago by Jason Grout <[email protected]>
Adding two files that got left out of my last documentation update

b278a925b8f7c8d37b70425e4579e6ea34e4f65f authored over 13 years ago by Ira Hanson <[email protected]>
Upgrade CodeMirror to 2.1.

Other than the CodeMirror files, the only real changes were updating the syntax highlighting (on...

41df726e2b0cf7470c8180e6e2f1fae49e17db85 authored over 13 years ago by Alex Kramer <[email protected]>
wrap sessionStorage in a try/except block in case we can't store something.

6e5266da09c0f3e466c62c02e8ee475ec11ca207 authored over 13 years ago by Jason Grout <[email protected]>
Session storage fixes (fix to use official key methods, and remove key before adding it again).

These bugs were causing major errors in Chrome.

58eec94cc7a8f0d316094bf2bb79a7f190bb8c90 authored over 13 years ago by Jason Grout <[email protected]>
change default theme to sphinxdoc, which looks a bit nicer, I think.

412fc187737124a7b5f897bcf991330da6e63672 authored over 13 years ago by Jason Grout <[email protected]>
Interact documentation

Documents interact backend, autosyntax guessing, and interact usage/syntax in general.
Also reor...

67f859521864b25fda28e50aa891a14c3d66178a authored over 13 years ago by Alex Kramer <[email protected]>
Autoguessing bugfixes

Re-adds support for verbose calling of interact controls.
Also changes slider defaults and ensur...

1b039b2eac086e0066eb2c7035844a89987e0482 authored over 13 years ago by Alex Kramer <[email protected]>
Autoguessing of interacts.

For instance, typing:
@interact.interact
def f(x = ((1,100))):
print x

renders a slider con...

3ad714b943e52f395be76ec436a86d6229286f37 authored over 13 years ago by Alex Kramer <[email protected]>
Added some more documentation

0e8cc9f5ed3abefa2629e09abefe6c3aac69afb1 authored over 13 years ago by Ira Hanson <[email protected]>
Fixes window.sessionStorage bug that would prevent eval / add file / clear files buttons from working.

0062a76acf706673ee0b908eef7137e3b8bafba2 authored over 13 years ago by Alex Kramer <[email protected]>
Combines /eval and /submit in web server.

Guarantees files are uploaded prior to any code being sent for execution.
Updates javascript doc...

123671ee969de8c6ceb9f659957422f7b0eb001a authored over 13 years ago by Alex Kramer <[email protected]>
File uploads -> Database

Supports multiple file uploads.
Stores files in database with Session ID
Execute_request message...

ff7af34d8b4928ba86b2eca5ba8aba75f748b8d5 authored over 13 years ago by Alex Kramer <[email protected]>
Fixing uploaded file access

2349bf330387b3f35200eb5a43ef1e3f6e1d2580 authored over 13 years ago by Ira Hanson <[email protected]>
Make it possible to use uploaded files in code execution

29a0bd3f13d96186ef9873f671d6f35b4357fe76 authored over 13 years ago by Ira Hanson <[email protected]>
Use ØMQ device loops instead of continuously polling.

b03b05f674cb362bfcba20b24611d1aefe70ae90 authored over 13 years ago by Ira Hanson <[email protected]>
wrap javascript if statements in braces

11fecdf75469673fdd8eabe5cdc58655a5e5bd74 authored over 13 years ago by Jason Grout <[email protected]>
Re-implement evaluation on Shift+Enter; Preserve editor contents over page reload

3dfbb259be7c16d39ddf18707bd7830b6a3d3ca0 authored over 13 years ago by Ira Hanson <[email protected]>
Some Javascript cleanup

Fixes a number of implicit global variable declarations.
Also optimizes a couple of for loops.

1a66d336b7e957ac412fd4ec48d123e1f4d73f46 authored over 13 years ago by Alex Kramer <[email protected]>
ReST/Sphinx documentation for static/compute_server.js

139e4b510063a4282647e8b07519d3c3caf9d701 authored over 13 years ago by Alex Kramer <[email protected]>
Use mmap for transfer over 0MQ if filesize>1MiB; fixing a bug in execProcess

c75d35d96c2aae51162914840ae796d471093a94 authored over 13 years ago by Ira Hanson <[email protected]>
Make the timing test against boxen now.

d0e084e1e05a06e4246caf0931c31e3408d07fd6 authored over 13 years ago by Jason Grout <[email protected]>
Add a -q switch to the webserver.

3583b8518b06b24145e54ce3efdd27e0d30f2f71 authored over 13 years ago by Jason Grout <[email protected]>
Stop printing out the mongo db URI

9f10503b41416983150681d34348ac97aa1c9f4b authored over 13 years ago by Jason Grout <[email protected]>
Add mongo indexes

0e7132b8471b88b692585335f8f89021e21c6efd authored over 13 years ago by Jason Grout <[email protected]>
Fix bug in last commit

0e5f504e31ae91bb1b7cee4f00bc4bcc72d6844c authored over 13 years ago by Jason Grout <[email protected]>
Work around python bug in Sage's old python dealing with unicode literals as keywords in functions.

22ef64081d7f340fe713650e6d97c5bf2f4cff3b authored over 13 years ago by Jason Grout <[email protected]>
Massively updated the README with instructions. I haven't explicitly tested these instructions yet, though, but tweaked them from what I actually did as I set things up.

6660c60cdfd35625a1e3ea0ea4cf4222ad44767a authored over 13 years ago by Jason Grout <[email protected]>
Add an option to specify the python for the untrusted user.

98d6e4707159ac9ad08e2e262fb66c19b0613e70 authored over 13 years ago by Jason Grout <[email protected]>
Switch from Argparse to OptionParse; we cannot use Argparse until Sage's python is upgraded.

8afeb2daa5d330f4280e9ab3a6eb4af07be94dad authored over 13 years ago by Jason Grout <[email protected]>
Support a config file for the mongodb database info.

8f47a47059bc526b072a744ccb9cddf6ffab5a68 authored over 13 years ago by Jason Grout <[email protected]>
Deleted extra comma

bdf73a121a45e43f60652262cab92eed7664c33f authored over 13 years ago by Jason Grout <[email protected]>
Make the interact timeout be directly received by the execing process, rather than a message passed back.

This speeds things up because now we don't have to go through the loop several times waiting for...

c3d4706f9147ba07bec263cbf0986e61741e72fe authored over 13 years ago by Jason Grout <[email protected]>
Readme formatting updates

9a2afcfad76ee04caa33ceece0d03d3daffb9a65 authored over 13 years ago by Jason Grout <[email protected]>
Readme formatting updates

fa26197874274b44e68f119ebafd6e180fc31d05 authored over 13 years ago by Jason Grout <[email protected]>
Readme updates

1a2bca67a308a35bca6c328d58900f90245464d7 authored over 13 years ago by Jason Grout <[email protected]>
Updated readme to point out where the old instructions start.

efb608bce467ada3fab15336bb38c16953e0aef1 authored over 13 years ago by Jason Grout <[email protected]>
Catch errors and run our cleanup function. For example, this is triggered if the database goes down.

f9f0160ec1d1d109e10b58a9e5cab0c6a4d2070f authored over 13 years ago by Jason Grout <[email protected]>
Make limit take negative values to mean no limit, since we can't pass None through zmq as easily.

1ebeb74bf3da9993be462b60de2cd0270f716e0b authored over 13 years ago by Jason Grout <[email protected]>
Better help for untrusted accounts

efeb959d4373152979143945029699b496569f18 authored over 13 years ago by Jason Grout <[email protected]>
Make the database call consistent with others

2719074dd9c75e0194a1f8f2f04fdffff7116f50 authored over 13 years ago by Jason Grout <[email protected]>
Add a write_process_id function, but usually I think it is sufficient to look in the database.

72ebc57d8e535c9fca870f51afece885fb47fc2a authored over 13 years ago by Jason Grout <[email protected]>
Add a -q switch to turn off most log printing

3c5f6ab04964aef76b99d2f24d0778048608b07f authored over 13 years ago by Jason Grout <[email protected]>
Make the trusted_db server kill any device processes it launched using the process group of the device. Also, make it possible to pass the untrusted account on the command line.

36b102e045d833ecb2bb1235439f9ee910b775c0 authored over 13 years ago by Jason Grout <[email protected]>
Delete deprecated db methods.

1aeddabbabcc02c3388ba0822dc609c493b7ab55 authored over 13 years ago by Jason Grout <[email protected]>
Progress on a better README.

a7df50949499af25355339c55274320a78706585 authored over 13 years ago by Jason Grout <[email protected]>
Enhance the trusted_db command line arguments to specify the number of workers and whether the untrusted command should be just printed or actually done.

a983c90beeab4d719fecf589c58896a2ebf858a5 authored over 13 years ago by Jason Grout <[email protected]>
Performance tuning: up the number of workers we can get and decrease the default timeout of a session.

735db4d4a6700941eb6b735b9dea0d73497f7067 authored over 13 years ago by Jason Grout <[email protected]>
Validate untrusted calls to db objects. Fixes github issue #38

feea2b16a2799e5ddd05026330e2cd9524a9bafb authored over 13 years ago by Jason Grout <[email protected]>
Convert print statements to log statements so that it is very easy to turn them off.

adcc55ec0ea23eade9f0b6c6e31c8c403f47692d authored over 13 years ago by Jason Grout <[email protected]>
Change default port to 8080, since that is the officially sanctioned "alternate http" port.

79084182f4c53e1fe88d268708ba1567a49c5dd7 authored over 13 years ago by Jason Grout <[email protected]>
Clean up initialization code in web_server.py

7d0333311e1d08dc2e14a79b34fef39c0c056fcb authored over 13 years ago by Jason Grout <[email protected]>
Rewrite the zmq classes so that the context is initialized lazily, right before it is used

We do this since we have to create the context in the same process as it is being used in.

9a6378da0877f187c1598181f2807b23d921cfc9 authored over 13 years ago by Jason Grout <[email protected]>
Rewriting the FileStoreMongo class to use the GridFS API more effectively. NOW REQUIRES PyMongo 1.10.1 or higher (NOT the version in the Ubuntu repository). Fixes #40 and #43.

c840c5030719f764507f6147e819a4f8487331c5 authored over 13 years ago by Ira Hanson <[email protected]>
File links open in new tab/window.

30022e5ac69f34c48561455b9c41f259512a539a authored over 13 years ago by Alex Kramer <[email protected]>
Transmit files over 0MQ from untrusted to trusted side.

e644ce318e52351f2b0e47f4fe2288d3115f21f5 authored over 13 years ago by Ira Hanson <[email protected]>
Only create file in filestore and list filename in 'files' message if the a file is newly created or modified.

f5e866833b1aaf8444ee92c5b0226d1ff7acdf1c authored over 13 years ago by Ira Hanson <[email protected]>
Files are now added in execProcess instead of worker

92d6e55242ec0a5839881a702d99faa3bfaf9cd5 authored over 13 years ago by Ira Hanson <[email protected]>
Some small fixes

83d1c87effdfe4fb0b820fb3665f6d369d329774 authored over 13 years ago by Ira Hanson <[email protected]>
Use list comprehension instead of dict comprehension

60ca398ff606a599b0bb7da8e9bbc2b7c6c98033 authored over 13 years ago by Ira Hanson <[email protected]>