Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
37 changes: 29 additions & 8 deletions CHANGELOG.md → .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
## Latest stable version: Prequel v1.22.4

### Prequel v2.0.0

#### Features

- Import / export of table - note that it's only table level.
- Query log
- Raw SQL queries can now be run.
- Direct table editing.

#### Fixes

- Custom database connection name causes error.

#### Changes

- Prequel now defaults to only showing 1 database (the one defined in prequel.php config or DB_DATABASE).
- UI Improvements
-

---

### Prequel v1.22.4

##### Definitive for next release
Expand All @@ -19,11 +40,11 @@
- [FEATURE] PostgresSQL support
- [FEATURE] i18n, Prequel is now multilingual!
- [FEATURE] Management-mode (5)
- Insert row
- Laravel specific actions (generating assets)
- View structure
- Write and run raw SQL within the Monaco Editor (same as the vscode editor)
- Monaco editor for writing queries
- Insert row
- Laravel specific actions (generating assets)
- View structure
- Write and run raw SQL within the Monaco Editor (same as the vscode editor)
- Monaco editor for writing queries
- [FEATURE] Define your own suffix and namespace/directory when generating assets with the Laravel actions in config
- [FEATURE] Auto updater for Prequel

Expand Down Expand Up @@ -68,9 +89,9 @@
- [FEATURE] Commands to install and update Prequel.
- [FEATURE] Homepage now acts as a status page, keeping track of various things.
- [FEATURE] Setting up separate browsing and managing modes.
- Added tab switch in the top-left to switch between Browse and Manage modes.
- Added new default query parameter that contains the current mode.
- Further functionality to be added.
- Added tab switch in the top-left to switch between Browse and Manage modes.
- Added new default query parameter that contains the current mode.
- Further functionality to be added.
- [FEATURE] Prequel now uses it's own database instance with the config defined in `config/prequel.php::database`
- [FEATURE] Pagination feature by @aaronsaray (see #26)

Expand Down
20 changes: 6 additions & 14 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Prequel](assets/prequel_v1.png)
![Prequel](/assets/prequel_v2.jpg)

<p align="center">
<a href="https://packagist.org/packages/protoqol/prequel">
Expand All @@ -7,19 +7,6 @@
<a href="https://travis-ci.org/Protoqol/Prequel.svg?branch=Dev">
<img src="https://travis-ci.org/Protoqol/Prequel.svg?branch=master"/>
</a>
<a href="https://packagist.org/packages/protoqol/prequel">
<img src="https://img.shields.io/badge/php-%5E7.1-lightblue.svg"/>
</a>
<a href="https://laravel.com/">
<img src="https://img.shields.io/badge/laravel->=5.6-lightblue.svg"/>
</a>
<a href="https://github.com/badges/shields/pulse" alt="Activity">
<img src="https://img.shields.io/github/commit-activity/m/badges/shields.svg" />
</a>
<a href="https://discord.gg/kxkUYqX">
<img src="https://img.shields.io/discord/602520001123188757?logo=discord"
alt="Join our Discord">
</a>
<a href="https://twitter.com/intent/follow?screen_name=Protoqol_XYZ">
<img src="https://img.shields.io/twitter/follow/Protoqol_XYZ.svg?label=%40Protoqol_XYZ&style=social"
alt="Follow Protoqol on Twitter">
Expand All @@ -43,6 +30,11 @@ Both are highly appreciated and contribute directly to keeping open-source free

## Installation

### Minimum requirements

- PHP 7.2 or higher
- laravel/framework 6.0 or higher

###### To install follow the instructions below.

```bash
Expand Down
Binary file added .github/assets/prequel_v2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 0 additions & 33 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/nodejs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Protoqol
Copyright (c) 2023 Protoqol

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 27 additions & 0 deletions build-config/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const path = require("path");

module.exports = {
content: [
path.resolve(__dirname, "../resources/assets/**/*.vue"),
],
theme : {
extend: {
backgroundColor: {
page : "var(--page-background-color)",
component : "var(--component-background-color)",
input : "var(--input-background-color)",
dropdown : "var(--dropdown-background-color)",
tableColumn : "var(--table-column-background-color)",
tableRowEven: "var(--table-row-even-background-color)",
tableRowOdd : "var(--table-row-odd-background-color)",
tableHover : "var(--table-hover-background-color)",
},
textColor : {
logo : "var(--logo-text-color)",
header : "var(--header-text-color)",
tableHeader: "var(--table-header-text-color)",
secondary : "var(--text-secondary-color)",
},
},
},
};
23 changes: 23 additions & 0 deletions build-config/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"target": "es5",
"module": "es2015",
"sourceMap": true,
"allowJs": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"stripInternal": true,
"outDir": "../public",
"lib": [
"es2015",
"dom"
],
"moduleResolution": "node"
},
"exclude": [
"../node_modules"
],
"files": [
"../resources/assets/js/App.ts"
]
}
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,11 @@
"scripts-descriptions": {
"phpins": "Runs nunomaduro's PHPInsights. This gives you a report about the current code quality.",
"test": "Runs the default PHPUnit test suite configured in phpunit.xml"
}
},
"funding": [
{
"type": "paypal",
"url": "https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=TJS5BKNE3JGW8"
}
]
}
6 changes: 0 additions & 6 deletions main.js

This file was deleted.

63 changes: 30 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,36 @@
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --https --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
"private" : true,
"scripts" : {
"build-assets": "cross-env NODE_ENV=production npx mix build --mix-config=build-config/webpack.mix.js",
"watch-assets": "cross-env NODE_ENV=development npx mix watch --mix-config=build-config/webpack.mix.js"
},
"devDependencies": {
"axios": "^0.21",
"cross-env": "^5.2.1",
"laravel-mix": "^6.0.43",
"laravel-mix-purgecss": "^6.0.0",
"laravel-mix-tailwind": "^0.1.2",
"lodash": "^4.17.21",
"postcss-import": "^12.0.1",
"prettier": "^2.2.1",
"resolve-url-loader": "^2.3.1",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",
"tailwindcss": "^3.0.23",
"vue": "^2.6.12",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.12",
"webpack-cli": "^4.9.2"
"@vue/compiler-sfc" : "^3.2.37",
"autoprefixer" : "^10.4.7",
"axios" : "^0.27",
"browser-sync" : "^2.27.10",
"browser-sync-webpack-plugin": "^2.3.0",
"cross-env" : "^5.2.1",
"lodash" : "^4.17.21",
"prettier" : "^2.2.1",
"resolve-url-loader" : "^5.0.0",
"tailwindcss" : "^3.1.2",
"vue" : "^2.6.12",
"vue-loader" : "^15.9.8",
"vue-template-compiler" : "^2.6.12",
"webpack-cli" : "^4.9.2",
"axios-request-handler" : "^1.0.4",
"vuejs-paginate" : "^2.1.0",
"sweetalert2" : "11.4.38",
"webpack" : "^5.69.1",
"laravel-mix" : "^6.0.43",
"laravel-mix-purgecss" : "^6.0.0",
"laravel-mix-tailwind" : "^0.1.2",
"postcss" : "^8.4.14",
"postcss-import" : "^12.0.1",
"sass" : "^1.52",
"sass-loader" : "^11.0.0"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/vue-fontawesome": "^0.1.10",
"axios-request-handler": "^1.0.4",
"sweetalert2": "^8.15.0",
"vuejs-paginate": "^2.1.0",
"webpack": "^5.69.1"
"dependencies" : {
}
}
Loading