Commit Graph

985 Commits

Author SHA1 Message Date
mck ec39ef3193
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Add option to disable cqlsh history
2026-03-17 23:06:38 +01:00
Ekaterina Dimitrova b47179b7d4
Add option to disable cqlsh history
We can disable saving of the history either via command-line parameter --disable-history, or by setting disabled = True in the history section of the cqlshrc. Both options will read existing history, and just won't save new commands.

Update help and docs for cqlsh history.
Add startup info logline whenr history logging is enabled.
Add a fix for cqlshrc file path not correctly expanding.

Includes the Backport of
  Allows users to change cqlsh history location using env variable
  patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17448

patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-XXX

Co-authored-by: Alex Ott alex.ott@datastax.com
Co-authored-by: Jaroslaw Grabowski jaroslaw.grabowski@datastax.com
2026-03-17 23:01:57 +01:00
Stefan Miklosovic 662ce36a7b
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-09-24 13:57:32 +02:00
vgali7 a79f7f4b00
Fix text containing "/*" being interpreted as multiline comment in cqlsh
patch by Vineet Gali; reviewed by Brandon Williams, Brad Schoening for CASSANDRA-17667

Co-authored-by: Attila Homoki <biotep@yahoo.com>
Co-authored-by: Brad Schoening <bschoeni@gmail.com>
2024-09-24 13:21:24 +02:00
Мещеряков Вячеслав Юрьевич d1f2936ccb
Support legacy plain_text_auth section in credentials file removed unintentionally
patch by Мещеряков Вячеслав Юрьевич; reviewed by Stefan Miklosovic and Brad Schoening for CASSANDRA-19498
2024-05-14 10:07:19 +02:00
Brandon Williams 5c44922a5a Merge branch 'cassandra-4.0' into cassandra-4.1 2023-11-13 14:16:49 -06:00
Brandon Williams a912085f5e Merge branch 'cassandra-3.11' into cassandra-4.0 2023-11-13 14:16:00 -06:00
Brandon Williams 46996c24bf Merge branch 'cassandra-3.0' into cassandra-3.11 2023-11-13 14:14:59 -06:00
Brandon Williams d41afac8bf Set cqlshlib.serverversion to UNKNOWN if not found
Patch by brandonwilliams; reviewed by mck and paulo for CASSANDRA-19020
2023-11-13 14:12:21 -06:00
Stefan Miklosovic ede18e6c9f
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-18 12:55:49 +02:00
Stefan Miklosovic 85285fa0f9
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-10-18 12:54:15 +02:00
Stefan Miklosovic 6212b0aaa5
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-10-18 12:52:19 +02:00
maoling f27c6c8e6e
Implement the logic in bin/stop-server
patch by Ling Mao; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18838

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-10-18 12:49:58 +02:00
Stefan Miklosovic 57e10b64b2
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-09-05 16:53:45 +02:00
Stefan Miklosovic 1f79c84925
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-09-05 16:51:37 +02:00
Stefan Miklosovic caad2f24f9
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-09-05 16:50:00 +02:00
Stefan Miklosovic 65ee0d082c
Ninja fix for CASSANDRA-18745 2023-09-05 16:47:23 +02:00
Brandon Williams a2af87de8a Merge branch 'cassandra-4.0' into cassandra-4.1 2023-08-18 13:57:28 -05:00
Brandon Williams bf9d334f54 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-18 13:57:18 -05:00
Brandon Williams b21645474a Merge branch 'cassandra-3.0' into cassandra-3.11 2023-08-18 13:57:06 -05:00
Brandon Williams 0b34ff6a0b ninja: fix format arg order 2023-08-18 13:57:01 -05:00
Brandon Williams f4ee77ceba Merge branch 'cassandra-4.0' into cassandra-4.1 2023-08-18 10:12:32 -05:00
Brandon Williams ba50ec9cd9 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-18 10:10:11 -05:00
Brandon Williams 1dd38998a0 Merge branch 'cassandra-3.0' into cassandra-3.11 2023-08-18 10:09:49 -05:00
Brandon Williams 6bb585bf5d Warn when cqlsh does not match the server version it was built with
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18745
2023-08-18 10:08:52 -05:00
Stefan Miklosovic 8549f232b5
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-08-08 17:59:43 +02:00
Stefan Miklosovic 1e6df948a7
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-08 17:52:19 +02:00
Stefan Miklosovic 7f92f1bc22
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-08-08 17:48:50 +02:00
Vineet Gali 28c04fbdde
Fix CQLSH online help topic link
patch by Vineet Gali; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17534
2023-08-08 17:45:29 +02:00
Stefan Miklosovic 4a46992724
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-07-25 09:55:47 +02:00
vgali7 b4b9f31983
Migrate Python optparse to argparse
patch by Vineet Gali; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17914
2023-07-25 09:54:09 +02:00
Stefan Miklosovic a61edad15f remove pure_sasl from the repository
This is follow-up for CASSANDRA-16456. The dependency
should be downloaded and put into the lib/ folder.

patch by Stefan Miklosovic; reviewed by Mick Semb Wever for CASSANDRA-16456
2022-09-02 15:21:52 +02:00
Stefan Miklosovic 71cef76faa Merge branch 'cassandra-4.0' into cassandra-4.1 2022-08-15 10:12:22 +02:00
Stefan Miklosovic 5023a816e3 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-08-15 10:10:28 +02:00
Stefan Miklosovic f821691239 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-08-15 10:08:14 +02:00
Stefan Miklosovic ebddf77924 Improve libjemalloc resolution in bin/cassandra
patch by Stefan Miklosovic; reviewed by Brandon Williams and David Capwell for CASSANDRA-15767
2022-08-15 10:05:20 +02:00
Bhouse99 381c2a4fa8 add plugin support for CQLSH
patch by Brian Houser; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-16456
2022-04-27 12:35:04 +02:00
Brad Schoening 885836bc49 remove outdated code from cqlsh
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17490
2022-04-06 10:50:05 -05:00
Brad Schoening f28dd90feb resolve several pylint issues in cqlsh.py and pylib
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17480
2022-04-05 14:12:32 +02:00
Brad Schoening 768bdffe52 change six functions in cqlshlib to native Python 3 ones
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17417
2022-03-30 12:12:46 -05:00
Ekaterina Dimitrova 813e6ae4a0 Revert "change six functions in cqlshlib to native Python 3 ones"
This reverts commit 7275443eca.
2022-03-28 15:59:10 -04:00
Stefan Miklosovic cd5f215c72 ninja: expand user paths for cqlsh.py as part of CASSANDRA-17448
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17448
2022-03-26 12:55:51 +01:00
Stefan Miklosovic e9ca465468 allow users to change cqlsh history location using env variable
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17448
2022-03-24 23:24:21 +01:00
Brad Schoening 96cecdbaa6 Increase cqlsh version to 6.1.0
Patch by Brad Schoening; reviewed by bereng and brandonwilliams for
CASSANDRA-17432
2022-03-18 06:48:52 -05:00
Brad Schoening 7275443eca change six functions in cqlshlib to native Python 3 ones
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17417
2022-03-16 18:17:36 +01:00
Brad Schoening 27ab63f005 remove unused imports in cqlsh.py and cqlshlib
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17413
2022-03-08 09:34:23 +01:00
Yash Ladha f6169d399f add the shorter version of version flag (-v) in cqlsh
patch by Yash Ladha; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-17236
2022-02-09 19:11:56 +01:00
Stefan Miklosovic da47849b50 Remove Windows-specific classes and related code
patch by Stefan Miklosovic; reviewed by Joshua McKenzie, Bowen Song, Berenguer Blasi for CASSANDRA-16956
2022-02-05 15:41:33 +01:00
Brad Schoening 1eb7779464 remove python 2 code which is now EOL and unsupported
Patch by Brad Schoening; reviewed by brandonwilliams and bereng for
CASSANDRA-17242
2022-01-26 11:00:25 -06:00
Brandon Williams 9577fd36d6 Merge branch 'cassandra-4.0' into trunk 2022-01-20 10:09:36 -06:00