| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* guix-web/render.scm (render-static-asset): Build proper URI.
|
|
|
|
| |
* guix-web/view.scm: Import (ice-9 format).
|
|
|
|
|
|
|
| |
* guix-web/server.scm (file-mime-types, serve-static-asset): Delete.
* guix-web/render.scm (file-mine-types): New variable.
(render-static-asset): New procedure.
* guix-web/controller.scm (controller): Add static asset rendering.
|
|
|
|
| |
* guix-web/controller.scm (controller): Use 'match-lambda'.
|
|
|
|
|
|
| |
* guix-web/config.scm (guix-web-port): New variable.
* guix-web/render.scm (redirect): Use it.
* guix-web/server.scm (start-guix-web): Ditto.
|
|
|
|
|
| |
* package.scm: New file.
* README.md ('Development'): New section.
|
|
|
|
|
| |
* Makefile.am (dev-server): New target.
* README.md ('Use'): Document it.
|
|
|
|
| |
* tests/guix-web/render.scm: New file.
|
|
|
|
| |
* tests/guix-web/util.scm ("directory?"): Use getcwd instead of ".".
|
|
|
|
|
| |
* js/guix-packages.js (guix.view): Extract renderPackageTable and
renderSearchBox functions.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: New file.
* autogen.sh: New file.
* configure.ac: New file.
* env.in: New file.
* guile.am: New file.
* pre-inst-env.in: New file.
* .gitignore: Ignore auto-generated files.
|
|
|
|
| |
* .gitignore: New file.
|
|
|
|
|
| |
* guix-web/package.scm (%store): Delete it.
(package-install): Use with-store.
|
|
|
|
| |
* tests/guix-web/util.scm: New file.
|
|
|
|
| |
* README.md: Add screenshot.
|
|
|
|
|
| |
* README.md ("Dependencies"): Specify guile-json >= 0.4.0.
* guix-web/view.scm (package->json): Use unquote-splicing to dedupe code.
|
|
|
|
| |
* js/guix-packages.js (guix.view): Render abort button in derivation phase.
|
|
|
|
| |
* guix-web/package.scm (%profile): Use the per-user profile of $USER.
|
|
|
|
| |
* js/guix-packages.js (guix.view): Tweak messaging during derivation phase.
|
|
|
|
|
| |
* js/guix-packages.js (guix.controller.prototype.doSearch): Reset
currentPageIndex to 0.
|
|
|
|
| |
* js/guix-packages.js (guix.view): Show close button on the error phase.
|
|
|
|
| |
* scripts/guix-web: Trampoline it.
|
|
|
|
|
|
|
|
|
|
|
| |
* guix-web/controller.scm (controller): Add package installation route.
* guix-web/package.scm: New file.
* guix-web/render.scm (unprocessable-entity, created): New procedures.
* js/guix-packages.js (guix.PHASE_NONE, guix.PHASE_PROMPT,
guix.PHASE_DERIVATION, guix.PHASE_SUCCESS, guix.PHASE_ERROR): New variables.
(guix.controller.phase, guix.controller.selectedPackage): New properties.
(guix.controller.prototype.installSelectedPackage): New method.
(guix.view): Add modal for package installation UI.
|
|
|
|
|
| |
* js/guix-packages.js (guix.Sorter, guix.controller): Use module pattern
to encapsulate data type creation.
|
|
|
|
| |
* guix-web/view.scm (main-layout): Wrap image tag in anchor tag.
|
|
|
|
|
|
|
|
| |
* guix-web/view.scm (<javascript>): New record type.
(javascript, javascript?, javascript-source-uri, javascript-license,
javascript-license-uri): New procedures.
(javascripts): Use javascript constructor.
(script-tag, librejs): Use new javascript procedures.
|
|
|
|
|
|
|
|
|
|
|
| |
* css/guix.css: New file.
* guix-web/view.scm (main-layout): Include guix.css.
* js/guix-packages.js (guix.Sorter.prototype.reverse): New method.
(guix.controller.sorter): Make property.
(guix.controller.columns): New variable.
(guix.controller.prototype.paginate): Use sorter property.
(guix.controller.prototype.sortBy): New method.
(guix.view): Render column sorting UI.
|
|
|
|
|
|
| |
* guix-packages.js (guix.Sorter): New data type.
(guix.Soter.prototype.sort): New method.
(guix.controller): Sort by name by default.
|
|
|
|
|
|
| |
* js/guix-packages.js (guix.paginate): Delete it.
(guix.controller): Use new paginate method.
(guix.controller.prototype.paginate): New method.
|
| |
|
|
|
|
|
|
| |
* guix-web/server.scm (file-extension, directory?,
request-path-components): Delete them.
* guix-web/util.scm: New module.
|
|
|
|
| |
* guix-web/view.scm (view-package): Filter out non-package inputs.
|
|
|
|
| |
* README.md ("Features"): Rephrase.
|
|
|
|
|
|
|
|
| |
* guix-web/controller.scm (controller): Allow use of '.json' file extension.
* guix-web/view.scm (view-package-json, license->json, package->json):
New procedures.
(all-packages-json): Refactor.
(view-package): Filter out non-package inputs.
|
|
|
|
|
| |
* README.md ("Features"): Add LibreJS compatibility.
("Wishlist"): Add more desired features.
|
|
|
|
| |
* README.md ("Copyright"): Fix formatting.
|
|
|
|
| |
README.md ("Features", "Wishlist", "Dependencies"): New sections.
|
|
|
|
|
| |
* guix-web/view.scm (view-package): Display inputs, native inputs, and
propagated inputs when present.
|
|
|
|
| |
* guix-web/config.scm (guix-web-router): Delete it.
|
|
|
|
|
| |
* js/guix-packages.js: Move functions defined on each instance of
guix.controller to guix.controller's prototype.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* js/guix-packages.js: Specify case insensitive mode when creating regexp.
|
|
|
|
| |
* scripts/guix-web: Add it.
|
|
|
|
| |
* scripts/guix-web: Remove them.
|
|
|
|
| |
* js/guix-packages.js (guix.view): Display ctrl.visiblePackages() in badge.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* README.md ("Use"): Update.
* guix-web: Moved.
* pre-inst-env: New file.
* scripts/guix-web: New file.
|
|
|
|
|
|
| |
* guix-web (javascripts): Update.
* js/guix-packages.js: New file.
* js/guix-web.js: Delete it.
|
|
|
|
| |
* guix-web: use INADDR_ANY for http server addr.
|
|
|
|
|
|
| |
* guix-web (run-route): Call librejs.
(weblabels): Renamed.
(librejs): New procedure.
|