facundobatista / kilink

A next generation pastebin
GNU General Public License v3.0
25 stars 30 forks source link

Updates and Organization #101

Closed matibarriento closed 8 years ago

matibarriento commented 8 years ago

This is the first PR on upgrades and organization.

In this PR the main code was divided into API and Webclient.

The API code is the core of Kilink and Webclient code will consume the API. Templates and Statics should go in the Webclient blueprint (module)

There is a decorator called "json_return" to convert API returns in JSON and preserve the original return to the WebClient.

I upgraded the libraries to Jquery 2.2.4, ToolTipster 4.0.4 and CoderMirror 5.16, but I had to remove Rust from options for a bug in CodeMirror.

There is an empty file called Main.js, which plans to have all the js in a module for better use and maintenance, in addition to the use of API Kilink.

There is code that can optimize and remove, is a work in progress.

Also, there are some minor fixes in templates

Hope you like

screenshot_20160706_214405

facundobatista commented 8 years ago

Hello!

Great cleaning up! Thanks for this.

Some issues you should address before merging:

matibarriento commented 8 years ago

Undid some changes to make the test pass. Fix pylint errors Fix the editor area size