Skip to content

Commit 0d51d52

Browse files
committed
not on a personal repo anymore
1 parent c73ff58 commit 0d51d52

File tree

66 files changed

+171
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+171
-171
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
env:
1919
CARGO_TERM_COLOR: always
2020
REGISTRY_USERNAME: lovasoa
21-
REGISTRY_IMAGE: lovasoa/sqlpage
21+
REGISTRY_IMAGE: sqlpage/SQLPage
2222

2323
jobs:
2424
compile_and_lint:

CHANGELOG.md

+32-32
Large diffs are not rendered by default.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Build data user interfaces entirely in SQL. A web server that tak
66
keywords = ["web", "sql", "framework"]
77
license = "MIT"
88
homepage = "https://sql-page.com/"
9-
repository = "https://github.com/lovasoa/SQLpage"
9+
repository = "https://github.com/sqlpage/SQLPage"
1010
documentation = "https://docs.rs/sqlpage"
1111
include = ["/src", "/README.md", "/build.rs", "/sqlpage", "/index.sql", "/.sqlpage_artefacts"]
1212

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -137,32 +137,32 @@ select
137137
### Using executables
138138

139139
The easiest way to get started is to download the latest release from the
140-
[releases page](https://github.com/lovasoa/SQLpage/releases).
140+
[releases page](https://github.com/sqlpage/SQLPage/releases).
141141

142142
- Download the binary that corresponds to your operating system (linux, macos, or windows).
143143
- Uncompress it: `tar -xzf sqlpage-*.tgz`
144144
- Run it: `./sqlpage.bin`
145145

146146
### With docker
147147

148-
To run on a server, you can use [the docker image](https://hub.docker.com/r/lovasoa/sqlpage):
148+
To run on a server, you can use [the docker image](https://hub.docker.com/r/sqlpage/SQLPage):
149149

150150
- [Install docker](https://docs.docker.com/get-docker/)
151151
- In a terminal, run the following command:
152-
- `docker run -it --name sqlpage -p 8080:8080 --volume "$(pwd):/var/www" --rm lovasoa/sqlpage`
152+
- `docker run -it --name sqlpage -p 8080:8080 --volume "$(pwd):/var/www" --rm sqlpage/SQLPage`
153153
- (`"$(pwd):/var/www"` allows sqlpage to run sql files from your current working directory)
154154
- Create a file called index.sql with the contents from [this example](./index.sql)
155155
- Open https://localhost:8080 in your browser
156156
- Optionally, you can also mount a directory containing sqlpage's configuration file,
157157
custom components, and migrations
158158
(see [configuration.md](./configuration.md)) to `/etc/sqlpage` in the container.
159159
- For instance, you can use:
160-
- `docker run -it --name sqlpage -p 8080:8080 --volume "$(pwd)/source:/var/www" --volume "$(pwd)/configuration:/etc/sqlpage:ro" --rm lovasoa/sqlpage`
160+
- `docker run -it --name sqlpage -p 8080:8080 --volume "$(pwd)/source:/var/www" --volume "$(pwd)/configuration:/etc/sqlpage:ro" --rm sqlpage/SQLPage`
161161
- And place your website in a folder named `source` and your `sqlpage.json` in a folder named `configuration`.
162162
- If you want to build your own docker image, taking the raw sqlpage image as a base is not recommended, since it is extremely stripped down and probably won't contain the dependencies you need. Instead, you can take debian as a base and simply copy the sqlpage binary from the official image to your own image:
163163
- ```Dockerfile
164164
FROM debian:stable-slim
165-
COPY --from=lovasoa/sqlpage:main /usr/local/bin/sqlpage /usr/local/bin/sqlpage
165+
COPY --from=sqlpage/SQLPage:main /usr/local/bin/sqlpage /usr/local/bin/sqlpage
166166
```
167167

168168
We provide compiled binaries only for the x86_64 architecture, but provide docker images for other architectures, including arm64 and armv7. If you want to run SQLPage on a Raspberry Pi or
@@ -310,8 +310,8 @@ We provide good-looking components out of the box so you can focus on your data
310310

311311
SQLPage is available for download on the from multiple sources:
312312

313-
[![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/lovasoa/sqlpage/total?label=direct%20download)](https://github.com/lovasoa/SQLpage/releases/latest)
314-
[![Docker Pulls](https://img.shields.io/docker/pulls/lovasoa/sqlpage?label=docker%3A%20lovasoa%2Fsqlpage)](https://hub.docker.com/r/lovasoa/sqlpage)
313+
[![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/sqlpage/SQLPage/total?label=direct%20download)](https://github.com/sqlpage/SQLPage/releases/latest)
314+
[![Docker Pulls](https://img.shields.io/docker/pulls/sqlpage/SQLPage?label=docker%3A%20lovasoa%2Fsqlpage)](https://hub.docker.com/r/sqlpage/SQLPage)
315315
[![homebrew downloads](https://img.shields.io/homebrew/installs/dq/sqlpage?label=homebrew%20downloads&labelColor=%232e2a24&color=%23f9d094)](https://formulae.brew.sh/formula/sqlpage#default)
316316
[![Scoop Version](https://img.shields.io/scoop/v/sqlpage?labelColor=%23696573&color=%23d7d4db)](https://scoop.sh/#/apps?q=sqlpage&id=305b3437817cd197058954a2f76ac1cf0e444116)
317317
[![Crates.io Total Downloads](https://img.shields.io/crates/d/sqlpage?label=crates.io%20download&labelColor=%23264323&color=%23f9f7ec)](https://crates.io/crates/sqlpage)

docs/introducing-sqlpage-to-the-postgres-community.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ order by name;
4848

4949
## Get Started
5050

51-
To explore the possibilities and limitations of SQLPage, visit [the official website](https://sql-page.com) and read the [SQL website building tutorial](https://sql-page.com/get%20started.sql). Join the [SQLPage community](https://github.com/lovasoa/SQLpage/discussions) to discuss your PostgreSQL-powered web applications.
51+
To explore the possibilities and limitations of SQLPage, visit [the official website](https://sql-page.com) and read the [SQL website building tutorial](https://sql-page.com/get%20started.sql). Join the [SQLPage community](https://github.com/sqlpage/SQLPage/discussions) to discuss your PostgreSQL-powered web applications.
5252

5353
## Contributing
5454

55-
SQLPage is an open-source project, and contributions from the PostgreSQL community are highly encouraged. Visit [the GitHub repository](https://github.com/lovasoa/sqlpage) to contribute, report issues, or submit feature requests.
55+
SQLPage is an open-source project, and contributions from the PostgreSQL community are highly encouraged. Visit [the GitHub repository](https://github.com/sqlpage/SQLPage) to contribute, report issues, or submit feature requests.
5656

5757
Discover the power of SQL-driven web application development with SQLPage and take your PostgreSQL experience to new heights!

docs/sqlpage for sqlite.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It's called [SQLPage](https://sql-page.com), and it lets you build a full web ap
1010

1111
# SQLPage: [build a website in SQL](https://sql-page.com)
1212

13-
[![code-screenshots](https://github.com/lovasoa/SQLpage/assets/552629/03ed65bc-ecb1-4c01-990e-d6ab97be39c0)](https://github.com/lovasoa/SQLPage)
13+
[![code-screenshots](https://github.com/sqlpage/SQLPage/assets/552629/03ed65bc-ecb1-4c01-990e-d6ab97be39c0)](https://github.com/sqlpage/SQLPage)
1414

1515

1616
## ❓ What is it ?
@@ -41,5 +41,5 @@ Some cool things people are building with SQLPage:
4141
## Open-Source
4242

4343
- [Official project page](https://sql-page.com)
44-
- [Source Code on Github](https://github.com/lovasoa/SQLPage)
45-
- [Examples](https://github.com/lovasoa/SQLpage/tree/main/examples)
44+
- [Source Code on Github](https://github.com/sqlpage/SQLPage)
45+
- [Examples](https://github.com/sqlpage/SQLPage/tree/main/examples)

examples/CRUD - Authentication/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ The "detail" view also uses the "&path" GET URL parameter, if provided (e.g., by
164164

165165
The rest of the table view module is fairly basic. It defines two alerts for displaying confirmation and error messages, a "new record" button, and the table itself. The last "actions" column is added to the table, designated as markdown, and includes shortcuts to edit/delete the corresponding record.
166166

167-
![](https://raw.github.com/lovasoa/SQLpage/crud_auth/examples/CRUD%20-%20Authentication/www/img/table_view.png)
167+
![](https://raw.github.com/sqlpage/SQLPage/crud_auth/examples/CRUD%20-%20Authentication/www/img/table_view.png)
168168

169169
### Detail view
170170

@@ -229,7 +229,7 @@ set _values = (
229229

230230
Each of the three united SELECTs in the "fields" CTE returns a single row and only one of them is selected for any given combination of \$id/\$values using the WHERE clauses. This query returns the "final" set of fields as a JSON object.
231231

232-
![](https://raw.github.com/lovasoa/SQLpage/crud_auth/examples/CRUD%20-%20Authentication/www/img/detail_view.png)
232+
![](https://raw.github.com/sqlpage/SQLPage/crud_auth/examples/CRUD%20-%20Authentication/www/img/detail_view.png)
233233

234234
Now that the input parameters are validated and the "final" dataset is determined, it is the time to define the form GUI elements. First, I define the button to switch to the table view. Note that the same form is used to confirm record deletion, and when this happens, the "Browse" button is not shown.
235235

@@ -274,7 +274,7 @@ The next part defines form fields via the "dynamic" component (for some reason I
274274

275275
Also note that this single form definition actually combines two forms (the second being the record delete confirmation form). If the $action variable is set to "DELETE" (after the delete operation is initiated from either the table or detail view), buttons are adjusted appropriately and all fields are set to read-only. Whether this is a good design is a separate question. Perhaps, defining two separate forms is a better approach.
276276

277-
![](https://raw.github.com/lovasoa/SQLpage/crud_auth/examples/CRUD%20-%20Authentication/www/img/delete_confirmation.png)
277+
![](https://raw.github.com/sqlpage/SQLPage/crud_auth/examples/CRUD%20-%20Authentication/www/img/delete_confirmation.png)
278278

279279

280280
After the main form fields goes the delete confirmation alert, displayed after the delete operation is completed.

examples/CRUD - Authentication/www/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ The "detail" view also uses the "&path" GET URL parameter, if provided (e.g., by
164164

165165
The rest of the table view module is fairly basic. It defines two alerts for displaying confirmation and error messages, a "new record" button, and the table itself. The last "actions" column is added to the table, designated as markdown, and includes shortcuts to edit/delete the corresponding record.
166166

167-
![](https://raw.github.com/lovasoa/SQLpage/crud_auth/examples/CRUD%20-%20Authentication/www/img/table_view.png)
167+
![](https://raw.github.com/sqlpage/SQLPage/crud_auth/examples/CRUD%20-%20Authentication/www/img/table_view.png)
168168

169169
### Detail view
170170

@@ -229,7 +229,7 @@ set _values = (
229229

230230
Each of the three united SELECTs in the "fields" CTE returns a single row and only one of them is selected for any given combination of \$id/\$values using the WHERE clauses. This query returns the "final" set of fields as a JSON object.
231231

232-
![](https://raw.github.com/lovasoa/SQLpage/crud_auth/examples/CRUD%20-%20Authentication/www/img/detail_view.png)
232+
![](https://raw.github.com/sqlpage/SQLPage/crud_auth/examples/CRUD%20-%20Authentication/www/img/detail_view.png)
233233

234234
Now that the input parameters are validated and the "final" dataset is determined, it is the time to define the form GUI elements. First, I define the button to switch to the table view. Note that the same form is used to confirm record deletion, and when this happens, the "Browse" button is not shown.
235235

@@ -274,7 +274,7 @@ The next part defines form fields via the "dynamic" component (for some reason I
274274

275275
Also note that this single form definition actually combines two forms (the second being the record delete confirmation form). If the $action variable is set to "DELETE" (after the delete operation is initiated from either the table or detail view), buttons are adjusted appropriately and all fields are set to read-only. Whether this is a good design is a separate question. Perhaps, defining two separate forms is a better approach.
276276

277-
![](https://raw.github.com/lovasoa/SQLpage/crud_auth/examples/CRUD%20-%20Authentication/www/img/delete_confirmation.png)
277+
![](https://raw.github.com/sqlpage/SQLPage/crud_auth/examples/CRUD%20-%20Authentication/www/img/delete_confirmation.png)
278278

279279

280280
After the main form fields goes the delete confirmation alert, displayed after the delete operation is completed.

examples/CRUD - Authentication/www/menu_test/dummy.sql

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ select
44
'database' as icon,
55
'/' as link,
66
'Top' as menu_item,
7-
'{"title":"About","submenu":[{"link":"/safety.sql","title":"Security"},{"link":"/performance.sql","title":"Performance"},{"link":"//github.com/lovasoa/SQLpage/blob/main/LICENSE.txt","title":"License"},{"link":"/blog.sql","title":"Articles"}]}' as menu_item,
7+
'{"title":"About","submenu":[{"link":"/safety.sql","title":"Security"},{"link":"/performance.sql","title":"Performance"},{"link":"//github.com/sqlpage/SQLPage/blob/main/LICENSE.txt","title":"License"},{"link":"/blog.sql","title":"Articles"}]}' as menu_item,
88
NULL as menu_item,
9-
'{"title":"Examples","submenu":[{"link":"/examples/tabs/","title":"Tabs"},{"link":"/examples/layouts.sql","title":"Layouts"},{"link":"/examples/multistep-form","title":"Forms"},{"link":"/examples/handle_picture_upload.sql","title":"File uploads"},{"link":"/examples/hash_password.sql","title":"Password protection"},{"link":"//github.com/lovasoa/SQLpage/blob/main/examples/","title":"All examples & demos"}]}' as menu_item,
9+
'{"title":"Examples","submenu":[{"link":"/examples/tabs/","title":"Tabs"},{"link":"/examples/layouts.sql","title":"Layouts"},{"link":"/examples/multistep-form","title":"Forms"},{"link":"/examples/handle_picture_upload.sql","title":"File uploads"},{"link":"/examples/hash_password.sql","title":"Password protection"},{"link":"//github.com/sqlpage/SQLPage/blob/main/examples/","title":"All examples & demos"}]}' as menu_item,
1010
'{"title":"z", "icon": "settings"}' as menu_item,
1111
'{"title":"", "icon": ""}' as menu_item,
12-
'{"title":"Community","submenu":[{"link":"blog.sql","title":"Blog"},{"link":"//github.com/lovasoa/sqlpage/issues","title":"Report a bug"},{"link":"//github.com/lovasoa/sqlpage/discussions","title":"Discussions"},{"link":"//github.com/lovasoa/sqlpage","title":"Github"}]}' as menu_item,
12+
'{"title":"Community","submenu":[{"link":"blog.sql","title":"Blog"},{"link":"//github.com/sqlpage/SQLPage/issues","title":"Report a bug"},{"link":"//github.com/sqlpage/SQLPage/discussions","title":"Discussions"},{"link":"//github.com/sqlpage/SQLPage","title":"Github"}]}' as menu_item,
1313
NULL as menu_item,
14-
'{"title":"Documentation","submenu":[{"link":"/your-first-sql-website","title":"Getting started"},{"link":"/components.sql","title":"All Components"},{"link":"/functions.sql","title":"SQLPage Functions"},{"link":"/custom_components.sql","title":"Custom Components"},{"link":"//github.com/lovasoa/SQLpage/blob/main/configuration.md#configuring-sqlpage","title":"Configuration"}]}' as menu_item,
14+
'{"title":"Documentation","submenu":[{"link":"/your-first-sql-website","title":"Getting started"},{"link":"/components.sql","title":"All Components"},{"link":"/functions.sql","title":"SQLPage Functions"},{"link":"/custom_components.sql","title":"Custom Components"},{"link":"//github.com/sqlpage/SQLPage/blob/main/configuration.md#configuring-sqlpage","title":"Configuration"}]}' as menu_item,
1515
'boxed' as layout,
1616
'en-US' as language,
1717
'Documentation for the SQLPage low-code web application framework.' as description,

examples/CRUD - Authentication/www/menu_test/menu_demo.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ select 'dynamic' as component,
9393
"title": "Blog"
9494
},
9595
{
96-
"link": "//github.com/lovasoa/sqlpage/issues",
96+
"link": "//github.com/sqlpage/SQLPage/issues",
9797
"title": "Report a bug"
9898
}
9999
]

examples/SQLPage developer user interface/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
web:
3-
image: lovasoa/sqlpage:main # main is cutting edge, use lovasoa/sqlpage:latest for the latest stable version
3+
image: sqlpage/SQLPage:main # main is cutting edge, use sqlpage/SQLPage:latest for the latest stable version
44
ports:
55
- "8080:8080"
66
volumes:
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lovasoa/sqlpage:main
1+
FROM sqlpage/SQLPage:main
22

33
COPY ./sqlpage /etc/sqlpage
44
COPY . /var/www

examples/custom form component/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
web:
3-
image: lovasoa/sqlpage:main # main is cutting edge, use lovasoa/sqlpage:latest for the latest stable version
3+
image: sqlpage/SQLPage:main # main is cutting edge, use sqlpage/SQLPage:latest for the latest stable version
44
ports:
55
- "8080:8080"
66
volumes:

examples/light-dark-toggle/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The SQL backend to this is SQLite, so the installation is easy:
1616

1717
1. [Install SQLpage](https://sql-page.com/your-first-sql-website/)
1818

19-
1. Clone SQLpage''s repository: `git clone https://github.com/lovasoa/SQLpage.git`
19+
1. Clone SQLpage''s repository: `git clone https://github.com/sqlpage/SQLPage.git`
2020

2121
1. cd to `SQLpage/examples/light-dark-toggle` and run `sqlpage` in the cloned directory
2222

examples/light-dark-toggle/index.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The SQL backend to this is SQLite, so the installation is easy:
1515
1616
1. [Install SQLpage](https://sql-page.com/your-first-sql-website/)
1717
18-
1. Clone SQLpage''s repository: `git clone https://github.com/lovasoa/SQLpage.git`
18+
1. Clone SQLpage''s repository: `git clone https://github.com/sqlpage/SQLPage.git`
1919
2020
1. cd to `SQLpage/examples/light-dark-toggle` and run `sqlpage` in the cloned directory
2121

examples/make a geographic data application using sqlite extensions/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM debian:stable-slim
22

3-
COPY --from=lovasoa/sqlpage:main /usr/local/bin/sqlpage /usr/local/bin/sqlpage
3+
COPY --from=sqlpage/SQLPage:main /usr/local/bin/sqlpage /usr/local/bin/sqlpage
44

55
RUN apt-get update && \
66
apt-get -y install libsqlite3-mod-spatialite

examples/master-detail-forms/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and a second form to create their addresses.
1818

1919
Once a user has been added, multiple addresses can be added to it.
2020

21-
See https://github.com/lovasoa/SQLpage/discussions/16 for more details.
21+
See https://github.com/sqlpage/SQLPage/discussions/16 for more details.
2222

2323
The main idea is to create two separate forms.
2424
In this example, we put both forms on the same page, in [`edit-user.sql`](./edit-user.sql).

examples/microsoft sql server advanced forms/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
web:
3-
image: lovasoa/sqlpage:main
3+
image: sqlpage/SQLPage:main
44
ports:
55
- "8080:8080"
66
volumes:

examples/mysql json handling/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
web:
3-
image: lovasoa/sqlpage:main # main is cutting edge, use lovasoa/sqlpage:latest for the latest stable version
3+
image: sqlpage/SQLPage:main # main is cutting edge, use sqlpage/SQLPage:latest for the latest stable version
44
ports:
55
- "8080:8080"
66
volumes:

examples/nginx/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
sqlpage:
3-
image: lovasoa/sqlpage:main
3+
image: sqlpage/SQLPage:main
44
volumes:
55
- sqlpage_socket:/tmp/sqlpage
66
- ./sqlpage_config:/etc/sqlpage

examples/official-site/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lovasoa/sqlpage:main
1+
FROM sqlpage/SQLPage:main
22

33
COPY ./sqlpage /etc/sqlpage
44
COPY . /var/www

examples/official-site/component_not_found.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ report it and we will fix it as soon as possible.
3131
' as description
3232
where $attack = 'attacked';
3333
select 'safety.sql' as link, 'More about SQLPage security' as title where $attack='attacked';
34-
select 'https://github.com/lovasoa/SQLpage/security' as link, 'Report a vulnerability' as title where $attack='attacked';
34+
select 'https://github.com/sqlpage/SQLPage/security' as link, 'Report a vulnerability' as title where $attack='attacked';

0 commit comments

Comments
 (0)