winstonli / writelatex-git-bridge Goto Github PK
View Code? Open in Web Editor NEWBridge between WriteLatex and Git.
License: MIT License
Bridge between WriteLatex and Git.
License: MIT License
Currently, the server appears to generate the postback URL automatically, based on an IP address of the machine it's running on. If the machine has multiple IP addresses, it may pick up a private IP address, so the API can't post back to it. It's probably easiest to let the postback root be specified as a config setting.
It looks like we may want to be able to specify an SSL certificate to Jetty after all. Is this easy to do?
How to reproduce: see test in pull request to follow shortly (#11).
As I reported in overleaf/overleaf#765, the git bridge Overleaf uses (which I believe to be this one? their fork does not accept issues) changes the filemode from 100755 to 100644 without asking the user. This creates tension between overleaf and non-overleaf users of the same git repository---people add executable permissions intentionally, and the bridge undoes them.
Since protected projects aren't yet supported, you can't yet clone them. At the moment, we seem to give the generic 'fatal: remote error: Overleaf server not available. Please try again later.' message. It would be better to give a more specific message if possible.
Does this require additional API support?
At the moment, all of the files from the current snap shot are stored in the repo directory. If we can avoid storing them, that will reduce disk usage and give us more options for how we store the repos.
Maybe something like this would be safer:
start-stop-daemon --stop --quiet --retry=TERM/60/KILL/5 --pidfile $PIDFILE --name $NAME
We'll just use the basic auth settings to restrict access for now. Better overleaf API support is coming soon, and we can add the appropriate settings then.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.