summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused variable guix-web-router.David Thompson2014-08-091-16/+1
| | | | * guix-web/config.scm (guix-web-router): Delete it.
* Move controller methods to prototype.David Thompson2014-08-091-24/+24
| | | | | * js/guix-packages.js: Move functions defined on each instance of guix.controller to guix.controller's prototype.
* Add pagination.David Thompson2014-08-091-7/+95
| | | | | | | | | | | | * js/guix-packages.js: (guix.chunk): New function. (guix.paginate): New function. (guix.controller.pages, guix.controller.currentPageIndex, guix.controller.pageSize): New variables. (guix.controller.currentPage, guix.controller.isFirstPage, guix.controller.isLastPage, guix.controller.isCurrentPage, guix.controller.packageCount): New functions. (guix.controller.doSearch): Paginate. (guix.view): Render pagination UI.
* Perform case insensitive search.David Thompson2014-08-081-1/+1
| | | | * js/guix-packages.js: Specify case insensitive mode when creating regexp.
* Add Emacs local variable compile-command setting.David Thompson2014-08-081-0/+1
| | | | * scripts/guix-web: Add it.
* Remove extraneous parens.David Thompson2014-08-081-1/+1
| | | | * scripts/guix-web: Remove them.
* Display visible packages in badge on package search page.David Thompson2014-08-071-1/+1
| | | | * js/guix-packages.js (guix.view): Display ctrl.visiblePackages() in badge.
* Break guix-web script into many modules.David Thompson2014-08-076-239/+361
| | | | | | | | | * guix-web/config.scm: New file. * guix-web/controller.scm: New file. * guix-web/render.scm: New file. * guix-web/server.scm: New file. * guix-web/view.scm: New file. * scripts/guix-web: Remove extracted code.
* Move guix-web to scripts directory.David Thompson2014-08-073-2/+8
| | | | | | | * README.md ("Use"): Update. * guix-web: Moved. * pre-inst-env: New file. * scripts/guix-web: New file.
* Rename guix-web.js to guix-packages.js.David Thompson2014-08-072-3/+8
| | | | | | * guix-web (javascripts): Update. * js/guix-packages.js: New file. * js/guix-web.js: Delete it.
* Allow connections from any computer on the network.David Thompson2014-08-071-1/+4
| | | | * guix-web: use INADDR_ANY for http server addr.
* Rename weblabels to librejs.David Thompson2014-08-071-3/+4
| | | | | | * guix-web (run-route): Call librejs. (weblabels): Renamed. (librejs): New procedure.
* Extract common page layout to procedure.David Thompson2014-08-071-34/+38
| | | | | * guix-web (main-layout): New procedure. (all-packages, view-package, weblabels): Use main-layout.
* Add "versions" to package count badge.David Thompson2014-08-071-1/+9
| | | | | * guix-web (view-package): Pluralize "version" if needed and render next to package count.
* Add /package endpoint.David Thompson2014-08-072-9/+44
| | | | | | | | | * guix-web (file-mime-types): Add image/png. (run-route): Add /package endpoint. (license-link): Delete it. (render-package-license): New procedure. (view-package): New procedure. * images/logo.png: New file.
* Allow binary files to be served.David Thompson2014-08-071-2/+2
| | | | * guix-web (serve-static-asset): Read file as bytevector instead of string.
* js: Add form-control class to search input.David Thompson2014-08-071-12/+9
| | | | * js/guix-web.js (guix.view): Add it.
* js: Apply search terms to package synopsis.David Thompson2014-08-071-1/+2
| | | | | * js/guix-web.js (guix.controller.doSearch): Test regexp against package synopsis.
* Add LibreJS weblabels page.David Thompson2014-08-071-3/+31
| | | | | | | * guix-web (javascripts): Use absolute paths. (run-route): Add weblabels route. (all-packages): Add js license information link. (weblabels): New procedure.
* Render JSON directly to client port.David Thompson2014-08-071-2/+2
| | | | * guix-web (render-json): Output to port instead of string.
* Render HTML directly to client port rather than to string.David Thompson2014-08-071-5/+3
| | | | * guix-web (render-html): Render to port.
* Use uncompressed source code for mithril.js.David Thompson2014-08-073-9/+675
| | | | | | * guix-web: Update javascripts. * js/mithril.js: New file. * js/mithril.min.js: Delete it.
* Move Emacs local variables to bottom of file.David Thompson2014-08-071-5/+5
| | | | * guix-web: Move local variable commnents.
* Fix shebang.David Thompson2014-08-071-1/+2
| | | | * guix-web: Fix it.
* Add copyright information to source files.David Thompson2014-08-072-0/+34
| | | | | * guix-web: * js/guix-web.js: Add it.
* README: Add brief usage information.David Thompson2014-08-071-0/+5
| | | | * README.md ("Use"): New section.
* Add AGPL 3.0 license.David Thompson2014-08-072-1/+677
| | | | | * COPYING: New file. * README.md ("Copyright"): Expand licensing information.
* The license is really AGPLv3.David Thompson2014-08-061-1/+1
|
* First commit.David Thompson2014-08-067-0/+8271