dblab

The database client every command line junkie deserves.

MIT License

Stars
2.3K

Bot releases are visible (Hide)

dblab - v0.8.0

Published by danvergara over 3 years ago

Changelog

461392c docs(root): remove the sqlite support reference
c9b7146 feat(gui): add a method to called metadata to get all the metadata from a given table at once
6303d35 refactor(gui): add support for the new api compliance
30b04d9 build(go-mod): add the awesome-gocui as a dependency

dblab - v0.7.1

Published by danvergara over 3 years ago

Changelog

3308da5 test(connection): add a test cases to make sure the new validation method works as expected
c1532a2 fix(connection): add a function to parse a incoming dsn for mysql connection
f5562bf fix(dblab): typos
62452bb build(scripts): small fixes
fd2c532 docs(contributing): add the necessary steps to set up the environment to run the tests and dblab itself
7b29f3b fix(client): add a public schema before the name of the table when the driver is postgres

dblab - v0.7.0

Published by danvergara over 3 years ago

Changelog

d2ca8f2 docs(project): add a an example of the .dblab.yaml config file
2d017f0 docs(readme): update the readme file
abaab52 build(docker): add volumes to the dokcer-compose file
6b75211 feat(cli): add the init function from the config pkg to the root of the app
1987b49 test(config): add test function to the init function
cf8f7c5 feat(config): add a function to extract data from a config file and populate a commands options object

dblab - v0.6.0

Published by danvergara over 3 years ago

Changelog

f8ec2d6 docs(readme): add the new keybindings to the readme file
a83cfe7 test(client): add a test function to validate the TableStructure method
5a032a4 feat(gui): add a view called structure in the exact position of the rows view, but hidden at the beggining
5ea7f64 docs(screenshots): replace the current dblab screenshot with the new version
33228bc style(gui): add some style requirements to the layout
f01ea10 fix(gui): add margin to views
dad85a3 docs(readme): add a gif to show the form/tui connection feature

dblab - v0.5.0

Published by danvergara over 3 years ago

Changelog

6648407 docs(CONTRIBUTING): Add convetional commit
7c8ec3f docs: Add CODE_OF_CONDUCT.md and CONTRIBUTING.md files
6bd028b docs(readme): add the instructions to use the binary with no flags
03ece76 build(makefile): add a command to build and run the app with no flags
f5370c3 feat(root): add the form feature to the root cli command
95d6849 style(form): add fixes to the style of the form file
a4f5c8c test(form): add a function to test the is empty function
d13897a feat(form): add a menu to ask for the driver, url parts and ssl mode to the user when the user doesn't provide flags
c407fa2 fix(form): delete all menus to gather all the functionality in a single menu
959b51a feat(form): add a package to use a little tui to ask for the connection params to create a connection with database
49d0baf build(makefile): add a make command to run dblab with a connection to mysql
1883247 build(docker): add a mysql container and other dblab container to run migrations and seeds on the mysql container
867bf16 fix(readme): fix the example on how to use the command by defining the url flag
1698abd Create a pr template
c3c772d Update issue templates
07e29c0 docs(readme): replace enter key with ctrl+space to execute a query

dblab - v0.4.1

Published by danvergara over 3 years ago

Changelog

5b278c7 docs(readme): add the horizontal scrolling keybindings in the readme file
eb80525 fix(gui): minor fixes
046e747 feat(gui): add the horizontal scrolling to the rows view to see all the columns
f6ab0d0 fix(client): fix the type assertion of the values of the rows

dblab - v0.4.0

Published by danvergara over 3 years ago

Changelog

3f8e3a8 docs(readme): add the new keybinding to the list
6e41fd9 feat(gui): execute the query when ctrl+space is pressed instead the enter key

dblab - v0.3.1

Published by danvergara over 3 years ago

Changelog

4c6563d fix(gui): add relative coordinates instead of absolute ones

dblab - v0.3.0

Published by danvergara over 3 years ago

Changelog

ee89d9d fix(fix): delete the binary
5e264bb test(client): add functions to test the public api of the client
ba49c82 refactor(client): extract the show tables logic from gui

dblab - v0.2.0

Published by danvergara over 3 years ago

Changelog

4a84df4 ci(actions): add a way to run mysql in a service
9edad16 refactor(seeder): add a way to figure out how to use the specific bind vars
56284c8 fix(config): add a specific sql conn string for seeder
ec9dfdf build(seeder): replace the Prepare statement with Exec
1a96c92 build(makefile): add a commanmd called int-test to run integrations tests
aeffb77 ci(actions): add scripts to set the databases services
7820fac build(scripts): fix the name of the entrypoint script
dc081d8 test(client): test the query method
55c0d1d refactor(client): extract the query logic from the gui and add it to the client
1545536 docs(readme): add more instrucctions on how to navigate througth the app
eda2d51 docs(readme): add a screen shot of the project
dd26d2a docs(readme): add description on the project to the readme file
3c02179 docs(license): migrate to mit license
13dcb60 fix releaser yaml file
89a2930 add a github action workflow to release the binaries files of the project
a46bf17 feat(gui): add a figlet banner with the name of the app as text
5d0ec06 fix(gui): fix the error handling when the query fails
74646e2 refactor(gui): refactor the multiple navigation function into a single one
7b19d6d refactor(gui): refactor the databse helper functions
809292e feat(gui): improve the navigation including the rows panel
2b64c3a feat(gui): add a function used to perform a select query based on the selected table
75fd4a1 refactor(gui): refactor the keybindings deginitions
5e4ac56 feat(gui): add a function used show all the tables of the database
a1a2617 refactor(app): add the client as a field of the gui, instead of being a field of the app
bf478d0 build(makefile): add commands to build the project
6bf535d build(docker): add docker support
58d4ae8 build(seeder): add methods to Seeder to seed the tables
a0706df fix(config): fix the getDBConnStr method replacing the default ssl mode
1a5de52 fix(seeder): add the import the database drivers
0231001 build(db): fix the migration files
3c70869 fix(gomod): fix dependencies by running go mod tidy
a5376fb build(seeds): add a seeds package with the necessary logic to seed the database
4f259ba build(migrations): add sql files to create tables
5e38fcb build(migrations): add a program to run migrations on the database that extracts the data from env vars
3af82ba add a config object to get the env vars related to the db conn
5721850 fix(actions): replace the host name with localhost
76f4dcc fix(actions): add the env variables to setup mysql as local env for that step
0a527b1 fix(actions): fix the user and password for mysql
4296aac fix(actions): fix yaml syntax on ci yaml file
84fc12b style(pkg): add points at the end of comments
18c18bf refactor(root): refactor the root command to call the objects instead manage the application
cd520e9 feat(app): add an app struct to handle the application
c824e65 refactor(gui): refactor the layout function as a method of the gui struct
bcfdcda refactor(gui): add a gui struct to handle all related to the gui
c617dfe style(gui): add a point to the end of the comments
060751e feat(root): add the gui package to the root package
d89aa0d feat(gui): add a package called to gui to manage all related to the gui app
fc2a916 style(client): add a dot at the end of the comment
5f8f25f test(scripts): add a env var to create a default database at startup
a953301 test(client): test the client using the way to build the conn string
834a34e feat(client): add a call to connection.BuildConnectionFromOpts to build the conn string given the options
ab04424 test(connection): add a test function to test the connection built with the user data
c8b2bd5 feat(connection): add logic to validate and parse postgres and mysql connections
45636c7 test(connection): add test cases to test connection strings validation
c69bcf3 fix(connection): fix validation for mysql
6cbcbc1 build(makefile): add commnads to run the unit tests and the linter
e5f8b5d feat(connection): add functions to validate the connection string
77c2705 Merge pull request #7 from danvergara/open-db-conn
8038643 refactor(root): add the options struct from the command pkg to the root command file
2b8f22b ci(github-actions): add two database containers to run test integrations against each
c8356d6 ci(github-actions): remove the coverage section until have a stable test suite
0dcabf4 ci(github-actions): add the short flag to the coverage step
df183b1 ci(github-actions): add a way to run just the unit tests
2678985 ci(github-actions): remove a old go version
01f8a6e feat(client): add a client to open a connection with the database
5f61767 test(scripts): add a granular way to test the app against every supported database
0d8ff58 refactor(command): add a db driver env var to the function
8848566 feat(pkg/command): add a options struct to store the values provided by the user through the flags
6197d52 Merge pull request #6 from danvergara/add-test-scripts
345fc80 test(scripts): add a section to run integration tests against mysql database containers
73f2c6e test(makefile): add the required make commands to run the tests
03132be test(scrips): add a bash scripts to perform integrations tests
0253fde Merge pull request #5 from danvergara/add-linter
eac51ad ci(actions): add a job to run golangci-lint
8a527b0 Merge pull request #4 from danvergara/add-global-flags
c98b1b1 test(rootCmd): add a test function to test the root command
3e2758d feat(rootCmd): add the basic global flags required to set the default behavior
60713c4 Merge pull request #3 from danvergara/test-actions
7b1dd86 ci(actions): add a yaml file to run tests and coverage in actions
47a1ced Merge pull request #2 from danvergara/add-test-version
e3b41c3 test(version): add a test function to test the result of the version command
1392c41 Merge pull request #1 from danvergara/add-cobra
d99164e feat(cmd): add the cmd structure provided by cobra
1c5fd4a go mod init
a8ee250 Initial commit

dblab - v0.1.0

Published by danvergara over 3 years ago

Changelog

bb1d76e fix releaser yaml file
89a2930 add a github action workflow to release the binaries files of the project
a46bf17 feat(gui): add a figlet banner with the name of the app as text
5d0ec06 fix(gui): fix the error handling when the query fails
74646e2 refactor(gui): refactor the multiple navigation function into a single one
7b19d6d refactor(gui): refactor the databse helper functions
809292e feat(gui): improve the navigation including the rows panel
2b64c3a feat(gui): add a function used to perform a select query based on the selected table
75fd4a1 refactor(gui): refactor the keybindings deginitions
5e4ac56 feat(gui): add a function used show all the tables of the database
a1a2617 refactor(app): add the client as a field of the gui, instead of being a field of the app
bf478d0 build(makefile): add commands to build the project
6bf535d build(docker): add docker support
58d4ae8 build(seeder): add methods to Seeder to seed the tables
a0706df fix(config): fix the getDBConnStr method replacing the default ssl mode
1a5de52 fix(seeder): add the import the database drivers
0231001 build(db): fix the migration files
3c70869 fix(gomod): fix dependencies by running go mod tidy
a5376fb build(seeds): add a seeds package with the necessary logic to seed the database
4f259ba build(migrations): add sql files to create tables
5e38fcb build(migrations): add a program to run migrations on the database that extracts the data from env vars
3af82ba add a config object to get the env vars related to the db conn
5721850 fix(actions): replace the host name with localhost
76f4dcc fix(actions): add the env variables to setup mysql as local env for that step
0a527b1 fix(actions): fix the user and password for mysql
4296aac fix(actions): fix yaml syntax on ci yaml file
84fc12b style(pkg): add points at the end of comments
18c18bf refactor(root): refactor the root command to call the objects instead manage the application
cd520e9 feat(app): add an app struct to handle the application
c824e65 refactor(gui): refactor the layout function as a method of the gui struct
bcfdcda refactor(gui): add a gui struct to handle all related to the gui
c617dfe style(gui): add a point to the end of the comments
060751e feat(root): add the gui package to the root package
d89aa0d feat(gui): add a package called to gui to manage all related to the gui app
fc2a916 style(client): add a dot at the end of the comment
5f8f25f test(scripts): add a env var to create a default database at startup
a953301 test(client): test the client using the way to build the conn string
834a34e feat(client): add a call to connection.BuildConnectionFromOpts to build the conn string given the options
ab04424 test(connection): add a test function to test the connection built with the user data
c8b2bd5 feat(connection): add logic to validate and parse postgres and mysql connections
45636c7 test(connection): add test cases to test connection strings validation
c69bcf3 fix(connection): fix validation for mysql
6cbcbc1 build(makefile): add commnads to run the unit tests and the linter
e5f8b5d feat(connection): add functions to validate the connection string
77c2705 Merge pull request #7 from danvergara/open-db-conn
8038643 refactor(root): add the options struct from the command pkg to the root command file
2b8f22b ci(github-actions): add two database containers to run test integrations against each
c8356d6 ci(github-actions): remove the coverage section until have a stable test suite
0dcabf4 ci(github-actions): add the short flag to the coverage step
df183b1 ci(github-actions): add a way to run just the unit tests
2678985 ci(github-actions): remove a old go version
01f8a6e feat(client): add a client to open a connection with the database
5f61767 test(scripts): add a granular way to test the app against every supported database
0d8ff58 refactor(command): add a db driver env var to the function
8848566 feat(pkg/command): add a options struct to store the values provided by the user through the flags
6197d52 Merge pull request #6 from danvergara/add-test-scripts
345fc80 test(scripts): add a section to run integration tests against mysql database containers
73f2c6e test(makefile): add the required make commands to run the tests
03132be test(scrips): add a bash scripts to perform integrations tests
0253fde Merge pull request #5 from danvergara/add-linter
eac51ad ci(actions): add a job to run golangci-lint
8a527b0 Merge pull request #4 from danvergara/add-global-flags
c98b1b1 test(rootCmd): add a test function to test the root command
3e2758d feat(rootCmd): add the basic global flags required to set the default behavior
60713c4 Merge pull request #3 from danvergara/test-actions
7b1dd86 ci(actions): add a yaml file to run tests and coverage in actions
47a1ced Merge pull request #2 from danvergara/add-test-version
e3b41c3 test(version): add a test function to test the result of the version command
1392c41 Merge pull request #1 from danvergara/add-cobra
d99164e feat(cmd): add the cmd structure provided by cobra
1c5fd4a go mod init
a8ee250 Initial commit