Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
b83aec8
fix: sanitise binding names
tpluscode May 1, 2023
1970221
fix: sanitise endpoint selection
tpluscode May 1, 2023
0802410
chore: make it compatible with NodeJS 18 and start upgrading some dep…
ludovicm67 May 23, 2023
edbea0b
Merge remote-tracking branch 'origin/sanitize-binding-name'
ludovicm67 May 24, 2023
cf7f9be
Merge remote-tracking branch 'origin/sanitize-endpoint'
ludovicm67 May 24, 2023
82033e7
chore: serve some static assets
ludovicm67 May 24, 2023
e55c741
chore: rename packages
ludovicm67 Jun 6, 2023
8d5022c
chore: configure publish script
ludovicm67 Jun 6, 2023
3b8e617
v4.2.29
ludovicm67 Jun 6, 2023
8092364
fix: remove broken style
ludovicm67 Jun 6, 2023
15afc4c
chore(deps): upgrade self deps
ludovicm67 Jun 6, 2023
59222d8
v4.2.30
ludovicm67 Jun 6, 2023
d83f28d
chore(deps): upgrade self deps
ludovicm67 Jun 6, 2023
af4cc44
sanitize additional parts
ludovicm67 Aug 13, 2023
eb3e023
v4.2.31
ludovicm67 Aug 13, 2023
91c7d26
sanitize getAsValue strings
ludovicm67 Aug 13, 2023
c3d0658
v4.2.32
ludovicm67 Aug 13, 2023
8dc7efc
chore: regenerate lock file
ludovicm67 Dec 6, 2023
e1e11e4
chore(deps): upgrade superagent to 8.1.2
ludovicm67 Dec 6, 2023
f275da2
chore: fix the checkPackageVersions script so that it can be run on M…
ludovicm67 Dec 6, 2023
a6322f8
chore(deps): upgrade @types/node to 20.10.3
ludovicm67 Dec 6, 2023
72a6f80
chore(deps): use @json2csv/plainjs instead of json2csv
ludovicm67 Dec 6, 2023
e0883eb
v4.2.33
ludovicm67 Dec 6, 2023
3480b63
chore(deps): upgrade superagent to 8.1.2
ludovicm67 Dec 6, 2023
e39f9b0
chore: remove package-lock.json
ludovicm67 Dec 7, 2023
917f95d
chore: update yarn.lock
ludovicm67 Dec 7, 2023
d8696ef
chore(deps): upgrade lerna to v5
ludovicm67 Dec 7, 2023
009ffee
chore(deps): upgrade lerna to v6
ludovicm67 Dec 7, 2023
98d3911
chore(deps): upgrade lerna to v7
ludovicm67 Dec 7, 2023
7abdb1c
chore(deps): upgrade lerna to v8
ludovicm67 Dec 7, 2023
bb77544
docs: replace with zazuko namespace
ludovicm67 Dec 7, 2023
ea70c0f
chore: remove yarn specific files
ludovicm67 Dec 7, 2023
e642294
chore: use npm instead of yarn
ludovicm67 Dec 7, 2023
2f062d0
chore: configure the stack to be run using npm
ludovicm67 Dec 7, 2023
4e47ccb
chore: remove npm-check
ludovicm67 Dec 7, 2023
cbfb4cc
chore: upgrade mocha to 10.2.0
ludovicm67 Dec 7, 2023
b5db3d8
chore: upgrade some dependencies
ludovicm67 Dec 7, 2023
cffeb57
chore: upgrade postcss and other loaders
ludovicm67 Dec 7, 2023
c917a35
prefixes: use prefix.zazuko.com
ludovicm67 Dec 9, 2023
ccc4707
yasgui: display safe URLs
ludovicm67 Feb 6, 2024
90e90d5
Revert "prefixes: use prefix.zazuko.com"
ludovicm67 Feb 6, 2024
aa987b3
yasgui: fix displayed endpoint
ludovicm67 Feb 6, 2024
3fb9dde
v4.2.34
ludovicm67 Feb 6, 2024
298a6ce
chore(deps): upgrade some dependencies
ludovicm67 Apr 17, 2024
f75a67f
chore(deps): upgrade datatables to v2
ludovicm67 Apr 17, 2024
82e5096
chore: upgrade puppeteer + some webpack dependencies
ludovicm67 Apr 17, 2024
7d6ea34
Merge pull request #1 from zazuko/deps-upgrade
ludovicm67 Apr 17, 2024
ae82031
ci: add test step
ludovicm67 Apr 17, 2024
bd1069e
Merge pull request #2 from zazuko/ci-test
ludovicm67 Apr 17, 2024
abb23b4
chore: upgrade husky to v9
ludovicm67 Apr 17, 2024
823a6dc
Merge pull request #3 from zazuko/husky-9
ludovicm67 Apr 17, 2024
0484956
chore: remove checkPackageVersions
ludovicm67 Apr 17, 2024
df50203
chore: remove lerna
ludovicm67 Apr 17, 2024
d32bc33
docs: add newline
ludovicm67 Apr 17, 2024
5f6bad6
chore: remove .txt extension for LICENSE file
ludovicm67 Apr 17, 2024
c9de159
chore: configure changesets
ludovicm67 Apr 17, 2024
6122a61
ci: configure changesets
ludovicm67 Apr 17, 2024
981b776
chore(release): upgraded datatables to v2
ludovicm67 Apr 17, 2024
b14ed24
chore: update repo to zazuko/Yasgui
ludovicm67 Apr 17, 2024
755b518
chore: remove peerdependencies
ludovicm67 Apr 17, 2024
f2f6350
chore: various improvements
ludovicm67 Apr 17, 2024
fe77a8d
Merge pull request #4 from zazuko/changesets
ludovicm67 Apr 17, 2024
56f1f26
ci: add missing GITHUB_TOKEN
ludovicm67 Apr 17, 2024
dcfaf46
chore: release
github-actions[bot] Apr 17, 2024
f8327d7
Merge pull request #5 from zazuko/changeset-release/main
ludovicm67 Apr 17, 2024
be10ee7
ci: upload artifacts
ludovicm67 Apr 17, 2024
b53ce9d
Merge pull request #6 from zazuko/artifact
ludovicm67 Apr 18, 2024
c28aa40
chore: remove prepublish step
ludovicm67 Apr 18, 2024
92a8fda
ci: contents write permission
ludovicm67 Apr 18, 2024
cbf8286
fix: use the right config type for DataTables
ludovicm67 Apr 29, 2024
2bebd1c
Merge pull request #7 from zazuko/dt-config-type
ludovicm67 Apr 29, 2024
8aef253
chore: upgrade datatables to 2.0.5
ludovicm67 Apr 29, 2024
c057456
ci: allow PR writes for release job
ludovicm67 Apr 29, 2024
873952b
Merge pull request #10 from zazuko/ci-allow-pr
ludovicm67 Apr 29, 2024
c8b0672
Merge pull request #9 from zazuko/dt-2-0-5
ludovicm67 Apr 29, 2024
6e78f30
fix: use the new layout property from DataTables
ludovicm67 Apr 29, 2024
679a789
Merge pull request #12 from zazuko/dt-use-layout
ludovicm67 Apr 29, 2024
83abbde
chore: release
github-actions[bot] Apr 29, 2024
19c39d7
Merge pull request #11 from zazuko/changeset-release/main
ludovicm67 Apr 29, 2024
3ebdda8
ci: set GH_TOKEN env var
ludovicm67 Apr 30, 2024
b6502e1
ci: no need to pack each module
ludovicm67 Apr 30, 2024
574b86f
chore: trigger a release
ludovicm67 Apr 30, 2024
7209f20
Merge pull request #13 from zazuko/ci-gh-env
ludovicm67 Apr 30, 2024
b6d3aea
chore: release
github-actions[bot] Apr 30, 2024
3b9d4c5
Merge pull request #14 from zazuko/changeset-release/main
ludovicm67 Apr 30, 2024
d402f09
ci: fix the cleanup step
ludovicm67 Apr 30, 2024
599def2
Merge pull request #15 from zazuko/ci-rm-tgz
ludovicm67 Apr 30, 2024
3e31635
Add a queryBefore event on Yasgui and Yasqe, a bit like the query eve…
vemonet Jul 18, 2024
c98904d
Fixed the webpack/config.ts file to properly generate the build/utils…
vemonet Sep 5, 2024
daaff8e
Merge pull request #16 from vemonet/add-queryBefore-event
ludovicm67 Sep 9, 2024
8a2b03f
Merge pull request #17 from vemonet/fix-yasgui-utils-build
ludovicm67 Sep 9, 2024
f8adc7c
chore(deps): update lock file
ludovicm67 Sep 9, 2024
081a408
chore(deps): npm upgrade
ludovicm67 Sep 9, 2024
540fa70
ci: upgrade to node 22
ludovicm67 Sep 9, 2024
d918c63
chore(release): add some release notes
ludovicm67 Sep 9, 2024
52196d1
chore(deps): upgrade @types/node to 22.5.4
ludovicm67 Sep 9, 2024
d72f4c2
chore: release
github-actions[bot] Sep 9, 2024
0454e90
Merge pull request #18 from zazuko/changeset-release/main
ludovicm67 Sep 9, 2024
d8c35e3
perf: remove dependency on superagent, replaced by the standard fetch…
vemonet Oct 8, 2024
f113fd6
chore: remove forgotten console.log
vemonet Oct 8, 2024
2109d10
fix: issues with migration from SuperAgent to fetch: better handling …
vemonet Oct 15, 2024
1febcad
fix: queryResponse event expect to get the result object, not the fet…
vemonet Oct 15, 2024
f52e9ab
feat: grouped the controlbar and Yasqe div elements in a div with cla…
vemonet Oct 21, 2024
fff5f0d
Merge pull request #19 from vemonet/replace-superagent-with-fetch
ludovicm67 Oct 29, 2024
cfec5d9
Merge pull request #20 from vemonet/group-yasgui-divs-for-customization
ludovicm67 Oct 29, 2024
7f9208d
tests: allow more time for a test, to avoid failures
ludovicm67 Oct 29, 2024
ab3d201
chore: improve types and checks for abortController
ludovicm67 Oct 29, 2024
2489238
chore(release): add release notes
ludovicm67 Oct 29, 2024
3fc828b
chore: release
github-actions[bot] Oct 29, 2024
5cfcbaa
Merge pull request #21 from zazuko/changeset-release/main
ludovicm67 Oct 29, 2024
3417336
chore: npm upgrade
ludovicm67 Nov 18, 2024
7db4686
fix typing issues to build the demo
ludovicm67 Nov 18, 2024
d4a0a87
fix: use `encodeURI` in CORS error message
ludovicm67 Nov 18, 2024
491061d
Merge pull request #22 from zazuko/cors-message-fix
ludovicm67 Nov 18, 2024
4480d44
chore: release
github-actions[bot] Nov 18, 2024
0bdd05e
Merge pull request #23 from zazuko/changeset-release/main
ludovicm67 Nov 18, 2024
8a5eab9
chore: update lock file
ludovicm67 Nov 18, 2024
982e367
fix: how the fetch request headers are defined to avoid empty string …
vemonet Nov 21, 2024
c7ae45e
chore: add release notes
ludovicm67 Nov 26, 2024
c29a16a
Merge pull request #24 from vemonet/fix-fetch-get
ludovicm67 Nov 26, 2024
84979b1
chore: release
github-actions[bot] Nov 26, 2024
09f4acd
Merge pull request #25 from zazuko/changeset-release/main
ludovicm67 Nov 26, 2024
1473ed1
chore(deps): upgrade dependencies
ludovicm67 Dec 11, 2024
b835764
fix: support for CONSTRUCT queries
ludovicm67 Dec 11, 2024
a0ae918
Merge pull request #26 from zazuko/fix-construct
ludovicm67 Dec 11, 2024
d36854a
chore: release
github-actions[bot] Dec 11, 2024
fdac77c
Merge pull request #27 from zazuko/changeset-release/main
ludovicm67 Dec 11, 2024
1acbf8c
feat: clear the endpoint select autocomplete input text field when it…
vemonet Jan 20, 2025
432a40e
Merge pull request #28 from vemonet/clear-autocomplete-input-on-focus
ludovicm67 Mar 9, 2025
638c89e
ci: fix puppeteer issues
ludovicm67 Mar 10, 2025
8ad503f
chore(deps): move some deps into dev deps
ludovicm67 Mar 10, 2025
fe8599a
chore(deps): upgrade dompurify
ludovicm67 Mar 10, 2025
c767029
chore: release
github-actions[bot] Mar 10, 2025
919d197
Merge pull request #30 from zazuko/changeset-release/main
ludovicm67 Mar 10, 2025
13d595a
Fix reponse parser to handle construct response. Await the response t…
vemonet Mar 10, 2025
65cb573
improve the response handling
vemonet Mar 10, 2025
a39336a
Remove Parser getOriginalResponse() method that was never used (getDa…
vemonet Mar 11, 2025
2e04999
chore(deps): upgrade dependencies
ludovicm67 Nov 4, 2025
4ea129e
ci: upgrade GitHub actions
ludovicm67 Nov 4, 2025
7a0faa7
Merge pull request #46 from zazuko/deps-2025-11-04
ludovicm67 Nov 4, 2025
cf42516
Merge pull request #45 from zazuko/ci-upgrades-2025-11-04
ludovicm67 Nov 4, 2025
3f1170c
docs: point to the new documentation endpoints
ludovicm67 Nov 4, 2025
0866c3f
Merge pull request #47 from zazuko/36-wrong-hyperlink-to-documentatio…
ludovicm67 Nov 4, 2025
7031f99
chore(deps): use sass and upgrade sass-loader to v16
ludovicm67 Nov 4, 2025
d75d791
chore: fix some sass deprecations
ludovicm67 Nov 4, 2025
afd4a29
Merge pull request #49 from zazuko/sass-upgrade
ludovicm67 Nov 4, 2025
0cd6b8e
fix: documentation link in yasr
ludovicm67 Nov 4, 2025
50ea097
Merge pull request #50 from zazuko/34-info-icon-link-404
ludovicm67 Nov 4, 2025
f6cb66e
feat: add a clear button for the endpoint field
ludovicm67 Nov 4, 2025
fb9eb91
Merge pull request #51 from zazuko/clear-endpoint-btn
ludovicm67 Nov 4, 2025
4735210
chore(dev-deps): bump postcss-loader to v8
ludovicm67 Nov 4, 2025
3efb039
chore(deps): upgrade various dependencies
ludovicm67 Nov 4, 2025
c1b2067
chore: release
github-actions[bot] Nov 4, 2025
3d5cc2e
Merge pull request #48 from zazuko/changeset-release/main
ludovicm67 Nov 4, 2025
5d5fed4
Merge pull request #33 from vemonet/fix-response-parser-to-handle-con…
ludovicm67 Nov 27, 2025
d0e16fc
chore(deps): upgrade dependencies
ludovicm67 Nov 27, 2025
da9c81d
Revert "Merge pull request #33 from vemonet/fix-response-parser-to-ha…
ludovicm67 Nov 27, 2025
a1f09ab
Revert "chore(deps): upgrade dependencies"
ludovicm67 Nov 27, 2025
6955cec
chore(deps): upgrade dependencies
ludovicm67 Nov 27, 2025
2f476d9
fix: merge `fetch` `Response` metadata (headers, status) with the awa…
vemonet Nov 28, 2025
267e8d0
Merge pull request #52 from vemonet/fix-response-parser-to-handle-con…
ludovicm67 Nov 28, 2025
2285bff
chore: add release notes for #52
ludovicm67 Nov 28, 2025
b33e8dd
chore: release
github-actions[bot] Nov 28, 2025
0d3c816
Merge pull request #54 from zazuko/changeset-release/main
ludovicm67 Nov 28, 2025
01efd03
fix: fix the `json.ts` parser for ASK queries when the `queryResponse…
vemonet Dec 8, 2025
ceb6338
Merge pull request #55 from vemonet/fix-json-results-parser-for-ask
ludovicm67 Dec 8, 2025
41370f2
add a new checkbox to the yasgui settings, allow using password prote…
SimonBin Dec 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [["@zazuko/*"]],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
69 changes: 69 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release

runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:
- name: Checkout Repo
uses: actions/checkout@v5
with:
# Fetch all history for all tags and branches, so that Changesets can determine the version bump
fetch-depth: 0

- uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: npm

- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

- name: Install Dependencies
run: npm ci

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
commit: "chore: release"
title: "Merge to release"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Add build archives to new release
if: steps.changesets.outputs.published == 'true'
run: |
# Create an archive for the `build` directory (zip and tar.gz formats)
zip -r build.zip build
tar -czvf build.tar.gz build

# Upload the archive to all published packages
echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -r '.[]|[.name, .version] | @tsv' |
while IFS=$'\t' read -r name version; do
tag="$name@$version"

# Upload the archives to the release
gh release upload $tag build.zip --clobber
gh release upload $tag build.tar.gz --clobber
done

# Clean up the archive files
rm build.zip build.tar.gz
env:
GH_TOKEN: ${{ github.token }}
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run tests

on: push

jobs:
tests:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Set up NodeJS
uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: npm

- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Run tests
run: npm run test
11 changes: 1 addition & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
tsconfig-webpack.tsbuildinfo
node_modules
build
lerna-debug.log

# Based on https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
yarn.lock
1 change: 1 addition & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./bin/hooks/postMerge.sh
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

783 changes: 0 additions & 783 deletions .yarn/releases/yarn-3.2.2.cjs

This file was deleted.

19 changes: 0 additions & 19 deletions .yarnrc.yml

This file was deleted.

File renamed without changes.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,43 @@

Useful links:

- User documentation: https://triply.cc/docs/yasgui
- Developer documentation: https://triply.cc/docs/yasgui-api
- User documentation: https://docs.triply.cc/yasgui/
- Developer documentation: https://docs.triply.cc/yasgui-api/
- Documentation Github repository (feel free to add a PR for improvements): https://github.com/TriplyDB/Documentation

## Installation

Below are instructions on how to include Yasgui in your project. If you only want to install Yasr or Yasqe, replace yasgui in the commands below
Below are instructions on how to include Yasgui in your project.
If you only want to install Yasr or Yasqe, replace yasgui in the commands below.

### npm

```sh
npm i @triply/yasgui
npm i @zazuko/yasgui
```

### Yarn

```sh
yarn add @triply/yasgui
yarn add @zazuko/yasgui
```

## Local development

#### Installing dependencies

Run `yarn install`.
Run `npm install`.

#### Running Yasgui locally

To develop locally, run `yarn run dev`
To develop locally, run `npm run dev`

#### Compiling Yasgui

Run `yarn run build`. It'll store the transpiled js/css files in the `build` directory
Run `npm run build`. It'll store the transpiled js/css files in the `build` directory.

## License

This software is written by Triply.
This is a fork from Zazuko from software written by Triply.

This code is released under the MIT license.
21 changes: 0 additions & 21 deletions bin/checkPackageVersions.sh

This file was deleted.

2 changes: 1 addition & 1 deletion bin/hooks/postMerge → bin/hooks/postMerge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ check_run() {
fi
}
REPO_ROOT=`git rev-parse --show-toplevel`
check_run ^yarn.lock "cd ${REPO_ROOT} && yarn install --immutable"
check_run ^package-lock.json "cd ${REPO_ROOT} && npm install"
8 changes: 0 additions & 8 deletions lerna.json

This file was deleted.

Loading