├── .clang-format ├── .github └── FUNDING.yml ├── .gitignore ├── .gitmodules ├── CHANGELOG ├── CMakeLists.txt ├── CPPLINT.cfg ├── FASTOREDIS_CHANGELOG ├── LICENSE ├── README.md ├── build ├── build.py ├── build_env.py ├── build_releases.py ├── build_server_remote.py ├── fastonosql.txt └── fastoredis.txt ├── docs └── Doxyfile.in ├── install ├── fastonosql │ ├── COPYRIGHT │ ├── android │ │ ├── AndroidManifest.xml.in │ │ ├── configAndroid.json.in │ │ ├── icon.png │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── icon.png │ │ │ ├── drawable-ldpi │ │ │ │ └── icon.png │ │ │ ├── drawable-mdpi │ │ │ │ └── icon.png │ │ │ └── drawable-xhdpi │ │ │ │ └── icon.png │ │ └── strings.xml.in │ ├── desktop.in │ ├── linux │ │ ├── icon.png │ │ ├── postinst.in │ │ ├── prerm.in │ │ └── start.sh.in │ ├── osx │ │ └── icon.icns │ ├── qt.conf │ ├── resources │ │ ├── help │ │ │ ├── connect.gif │ │ │ ├── individual_builds.gif │ │ │ └── workflow.gif │ │ └── modules │ │ │ └── converters │ │ │ └── convert_pickle.py │ └── windows │ │ ├── database.bmp │ │ ├── icon.ico │ │ ├── nsis-top-logo.bmp │ │ └── winres.rc.in ├── fastoredis │ ├── COPYRIGHT │ ├── android │ │ ├── AndroidManifest.xml.in │ │ ├── configAndroid.json.in │ │ ├── icon.png │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── icon.png │ │ │ ├── drawable-ldpi │ │ │ │ └── icon.png │ │ │ ├── drawable-mdpi │ │ │ │ └── icon.png │ │ │ └── drawable-xhdpi │ │ │ │ └── icon.png │ │ └── strings.xml.in │ ├── desktop.in │ ├── linux │ │ ├── icon.png │ │ ├── postinst.in │ │ ├── prerm.in │ │ └── start.sh.in │ ├── osx │ │ └── icon.icns │ ├── qt.conf │ ├── resources │ │ ├── help │ │ │ ├── connect.gif │ │ │ ├── individual_builds.gif │ │ │ └── workflow.gif │ │ └── modules │ │ │ └── converters │ │ │ └── convert_pickle.py │ └── windows │ │ ├── database.bmp │ │ ├── icon.ico │ │ ├── nsis-top-logo.bmp │ │ └── winres.rc.in └── gentoo.ebuild.in ├── scripts ├── create_pre_commit_hook.sh └── pre-commit ├── src ├── CMakeLists.txt ├── app │ ├── credentials_dialog.cpp │ ├── credentials_dialog.h │ ├── iverify_user.cpp │ ├── iverify_user.h │ ├── main.cpp │ ├── offline_verify_user.cpp │ ├── offline_verify_user.h │ ├── online_verify_user.cpp │ └── online_verify_user.h ├── gui │ ├── connection_listwidget_items.cpp │ ├── connection_listwidget_items.h │ ├── connection_widgets_factory.cpp │ ├── connection_widgets_factory.h │ ├── db │ │ ├── dynomite │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ ├── forestdb │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ ├── keydb │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ ├── lexer.h │ │ │ ├── shell_widget.cpp │ │ │ └── shell_widget.h │ │ ├── leveldb │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ ├── lmdb │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ ├── memcached │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ ├── pika │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ ├── redis │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ ├── lexer.h │ │ │ ├── shell_widget.cpp │ │ │ └── shell_widget.h │ │ ├── rocksdb │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ ├── ssdb │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ │ └── unqlite │ │ │ ├── connection_widget.cpp │ │ │ ├── connection_widget.h │ │ │ ├── lexer.cpp │ │ │ └── lexer.h │ ├── dialogs │ │ ├── about_dialog.cpp │ │ ├── about_dialog.h │ │ ├── base_dialog.cpp │ │ ├── base_dialog.h │ │ ├── clients_monitor_dialog.cpp │ │ ├── clients_monitor_dialog.h │ │ ├── cluster_dialog.cpp │ │ ├── cluster_dialog.h │ │ ├── connection_diagnostic_dialog.cpp │ │ ├── connection_diagnostic_dialog.h │ │ ├── connection_dialog.cpp │ │ ├── connection_dialog.h │ │ ├── connection_select_type_dialog.cpp │ │ ├── connection_select_type_dialog.h │ │ ├── connections_dialog.cpp │ │ ├── connections_dialog.h │ │ ├── dbkey_dialog.cpp │ │ ├── dbkey_dialog.h │ │ ├── discovery_cluster_dialog.cpp │ │ ├── discovery_cluster_dialog.h │ │ ├── discovery_sentinel_dialog.cpp │ │ ├── discovery_sentinel_dialog.h │ │ ├── encode_decode_dialog.cpp │ │ ├── encode_decode_dialog.h │ │ ├── eula_dialog.cpp │ │ ├── eula_dialog.h │ │ ├── history_server_dialog.cpp │ │ ├── history_server_dialog.h │ │ ├── how_to_use_dialog.cpp │ │ ├── how_to_use_dialog.h │ │ ├── info_server_dialog.cpp │ │ ├── info_server_dialog.h │ │ ├── load_contentdb_dialog.cpp │ │ ├── load_contentdb_dialog.h │ │ ├── password_dialog.cpp │ │ ├── password_dialog.h │ │ ├── preferences_dialog.cpp │ │ ├── preferences_dialog.h │ │ ├── property_server_dialog.cpp │ │ ├── property_server_dialog.h │ │ ├── pub_sub_dialog.cpp │ │ ├── pub_sub_dialog.h │ │ ├── sentinel_dialog.cpp │ │ ├── sentinel_dialog.h │ │ ├── stream_entry_dialog.cpp │ │ ├── stream_entry_dialog.h │ │ ├── view_keys_dialog.cpp │ │ └── view_keys_dialog.h │ ├── editor │ │ ├── fasto_editor_shell.cpp │ │ └── fasto_editor_shell.h │ ├── explorer │ │ ├── explorer_tree_view.cpp │ │ ├── explorer_tree_view.h │ │ ├── explorer_tree_widget.cpp │ │ └── explorer_tree_widget.h │ ├── gui_factory.cpp │ ├── gui_factory.h │ ├── key_info.cpp │ ├── key_info.h │ ├── keys_table_item.cpp │ ├── main_tab_bar.cpp │ ├── main_tab_bar.h │ ├── main_window.cpp │ ├── main_window.h │ ├── models │ │ ├── channels_table_model.cpp │ │ ├── channels_table_model.h │ │ ├── clients_table_model.cpp │ │ ├── clients_table_model.h │ │ ├── explorer_tree_model.cpp │ │ ├── explorer_tree_model.h │ │ ├── explorer_tree_sort_filter_proxy_model.cpp │ │ ├── explorer_tree_sort_filter_proxy_model.h │ │ ├── fasto_common_model.cpp │ │ ├── fasto_common_model.h │ │ ├── hash_table_model.cpp │ │ ├── hash_table_model.h │ │ ├── items │ │ │ ├── action_table_item.cpp │ │ │ ├── action_table_item.h │ │ │ ├── channel_table_item.cpp │ │ │ ├── channel_table_item.h │ │ │ ├── client_table_item.cpp │ │ │ ├── client_table_item.h │ │ │ ├── explorer_tree_item.cpp │ │ │ ├── explorer_tree_item.h │ │ │ ├── fasto_common_item.cpp │ │ │ ├── fasto_common_item.h │ │ │ ├── key_table_item.cpp │ │ │ ├── key_table_item.h │ │ │ ├── key_value_table_item.cpp │ │ │ ├── key_value_table_item.h │ │ │ ├── property_table_item.cpp │ │ │ ├── property_table_item.h │ │ │ ├── value_table_item.cpp │ │ │ └── value_table_item.h │ │ ├── keys_table_model.cpp │ │ ├── keys_table_model.h │ │ ├── list_table_model.cpp │ │ ├── list_table_model.h │ │ ├── property_table_model.cpp │ │ ├── property_table_model.h │ │ ├── stream_table_model.cpp │ │ └── stream_table_model.h │ ├── python_converter.cpp │ ├── python_converter.h │ ├── shell │ │ ├── base_lexer.cpp │ │ ├── base_lexer.h │ │ ├── base_shell.cpp │ │ ├── base_shell.h │ │ ├── base_shell_widget.cpp │ │ └── base_shell_widget.h │ ├── shortcuts.cpp │ ├── shortcuts.h │ ├── socket_tls.cpp │ ├── socket_tls.h │ ├── text_converter.cpp │ ├── text_converter.h │ ├── utils.cpp │ ├── utils.h │ ├── views │ │ ├── fasto_editor_model_output.cpp │ │ ├── fasto_editor_model_output.h │ │ ├── fasto_table_view.cpp │ │ ├── fasto_table_view.h │ │ ├── fasto_text_view.cpp │ │ ├── fasto_text_view.h │ │ ├── fasto_tree_view.cpp │ │ ├── fasto_tree_view.h │ │ ├── keys_table_view.cpp │ │ └── keys_table_view.h │ ├── widgets │ │ ├── base_widget.cpp │ │ ├── base_widget.h │ │ ├── commands_widget.cpp │ │ ├── commands_widget.h │ │ ├── connection_base_widget.cpp │ │ ├── connection_base_widget.h │ │ ├── connection_local_widget.cpp │ │ ├── connection_local_widget.h │ │ ├── connection_remote_widget.cpp │ │ ├── connection_remote_widget.h │ │ ├── delegate │ │ │ ├── action_cell_delegate.cpp │ │ │ ├── action_cell_delegate.h │ │ │ ├── type_delegate.cpp │ │ │ └── type_delegate.h │ │ ├── fasto_editor.cpp │ │ ├── fasto_editor.h │ │ ├── fasto_scintilla.cpp │ │ ├── fasto_scintilla.h │ │ ├── fasto_viewer.cpp │ │ ├── fasto_viewer.h │ │ ├── hash_type_view.cpp │ │ ├── hash_type_view.h │ │ ├── hash_type_widget.cpp │ │ ├── hash_type_widget.h │ │ ├── host_port_widget.cpp │ │ ├── host_port_widget.h │ │ ├── how_to_use_widget.cpp │ │ ├── how_to_use_widget.h │ │ ├── icon_button.cpp │ │ ├── icon_button.h │ │ ├── key_edit_widget.cpp │ │ ├── key_edit_widget.h │ │ ├── list_type_view.cpp │ │ ├── list_type_view.h │ │ ├── list_type_widget.cpp │ │ ├── list_type_widget.h │ │ ├── log_tab_widget.cpp │ │ ├── log_tab_widget.h │ │ ├── log_widget.cpp │ │ ├── log_widget.h │ │ ├── main_widget.cpp │ │ ├── main_widget.h │ │ ├── output_widget.cpp │ │ ├── output_widget.h │ │ ├── path_widget.cpp │ │ ├── path_widget.h │ │ ├── query_widget.cpp │ │ ├── query_widget.h │ │ ├── save_key_edit_widget.cpp │ │ ├── save_key_edit_widget.h │ │ ├── ssh_widget.cpp │ │ ├── ssh_widget.h │ │ ├── stream_type_widget.cpp │ │ ├── stream_type_widget.h │ │ ├── user_password_widget.cpp │ │ ├── user_password_widget.h │ │ ├── welcome_widget.cpp │ │ └── welcome_widget.h │ └── workers │ │ ├── discovery_cluster_connection.cpp │ │ ├── discovery_cluster_connection.h │ │ ├── discovery_sentinel_connection.cpp │ │ ├── discovery_sentinel_connection.h │ │ ├── load_welcome_page.cpp │ │ ├── load_welcome_page.h │ │ ├── statistic_sender.cpp │ │ ├── statistic_sender.h │ │ ├── test_connection.cpp │ │ ├── test_connection.h │ │ ├── update_checker.cpp │ │ └── update_checker.h ├── proxy │ ├── cluster │ │ ├── icluster.cpp │ │ └── icluster.h │ ├── cluster_connection_settings_factory.cpp │ ├── cluster_connection_settings_factory.h │ ├── command │ │ ├── command.cpp │ │ ├── command.h │ │ ├── command_logger.cpp │ │ └── command_logger.h │ ├── connection_settings │ │ ├── connection_settings_path.cpp │ │ ├── connection_settings_path.h │ │ ├── icluster_connection_settings.cpp │ │ ├── icluster_connection_settings.h │ │ ├── iconnection_settings.cpp │ │ ├── iconnection_settings.h │ │ ├── iconnection_settings_local.cpp │ │ ├── iconnection_settings_local.h │ │ ├── iconnection_settings_remote.cpp │ │ ├── iconnection_settings_remote.h │ │ ├── iconnection_settings_ssh.cpp │ │ ├── iconnection_settings_ssh.h │ │ ├── isentinel_connection_settings.cpp │ │ ├── isentinel_connection_settings.h │ │ ├── settings_fwd.h │ │ ├── types.cpp │ │ └── types.h │ ├── connection_settings_factory.cpp │ ├── connection_settings_factory.h │ ├── database │ │ ├── idatabase.cpp │ │ └── idatabase.h │ ├── db │ │ ├── dynomite │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── forestdb │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── database.cpp │ │ │ ├── database.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── keydb │ │ │ ├── cluster.cpp │ │ │ ├── cluster.h │ │ │ ├── cluster_settings.cpp │ │ │ ├── cluster_settings.h │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── sentinel.cpp │ │ │ ├── sentinel.h │ │ │ ├── sentinel_settings.cpp │ │ │ ├── sentinel_settings.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── leveldb │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── database.cpp │ │ │ ├── database.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── lmdb │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── database.cpp │ │ │ ├── database.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── memcached │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── database.cpp │ │ │ ├── database.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── pika │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── redis │ │ │ ├── cluster.cpp │ │ │ ├── cluster.h │ │ │ ├── cluster_settings.cpp │ │ │ ├── cluster_settings.h │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── sentinel.cpp │ │ │ ├── sentinel.h │ │ │ ├── sentinel_settings.cpp │ │ │ ├── sentinel_settings.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── redis_compatible │ │ │ ├── database.cpp │ │ │ └── database.h │ │ ├── rocksdb │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── database.cpp │ │ │ ├── database.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ ├── ssdb │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── database.cpp │ │ │ ├── database.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ │ └── unqlite │ │ │ ├── command.cpp │ │ │ ├── command.h │ │ │ ├── connection_settings.cpp │ │ │ ├── connection_settings.h │ │ │ ├── database.cpp │ │ │ ├── database.h │ │ │ ├── driver.cpp │ │ │ ├── driver.h │ │ │ ├── server.cpp │ │ │ └── server.h │ ├── db_client.cpp │ ├── db_client.h │ ├── db_ps_channel.cpp │ ├── db_ps_channel.h │ ├── driver │ │ ├── first_child_update_root_locker.cpp │ │ ├── first_child_update_root_locker.h │ │ ├── idriver.cpp │ │ ├── idriver.h │ │ ├── idriver_local.cpp │ │ ├── idriver_local.h │ │ ├── idriver_remote.cpp │ │ ├── idriver_remote.h │ │ ├── root_locker.cpp │ │ └── root_locker.h │ ├── events │ │ ├── events.h │ │ ├── events_info.cpp │ │ └── events_info.h │ ├── proxy_fwd.h │ ├── sentinel │ │ ├── isentinel.cpp │ │ └── isentinel.h │ ├── sentinel_connection_settings_factory.cpp │ ├── sentinel_connection_settings_factory.h │ ├── server │ │ ├── iserver.cpp │ │ ├── iserver.h │ │ ├── iserver_base.cpp │ │ ├── iserver_base.h │ │ ├── iserver_local.cpp │ │ ├── iserver_local.h │ │ ├── iserver_remote.cpp │ │ └── iserver_remote.h │ ├── server_config.cpp │ ├── server_config.h │ ├── servers_manager.cpp │ ├── servers_manager.h │ ├── settings_manager.cpp │ ├── settings_manager.h │ ├── types.cpp │ ├── types.h │ ├── user_info.cpp │ └── user_info.h ├── resources │ ├── .gitignore │ ├── fastonosql.qrc.in │ ├── fastonosql │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── default.qss │ │ ├── images │ │ │ ├── 16x16 │ │ │ │ ├── close.png │ │ │ │ └── search.png │ │ │ ├── 64x64 │ │ │ │ ├── add.png │ │ │ │ ├── array.png │ │ │ │ ├── bloom.png │ │ │ │ ├── bool.png │ │ │ │ ├── byte.png │ │ │ │ ├── channel.png │ │ │ │ ├── clone.png │ │ │ │ ├── cluster.png │ │ │ │ ├── command.png │ │ │ │ ├── connect.png │ │ │ │ ├── connect_db.png │ │ │ │ ├── database.png │ │ │ │ ├── disconnect.png │ │ │ │ ├── discovery.png │ │ │ │ ├── double.png │ │ │ │ ├── dynomite.png │ │ │ │ ├── edit.png │ │ │ │ ├── email.png │ │ │ │ ├── encode_decode.png │ │ │ │ ├── error.png │ │ │ │ ├── execute.png │ │ │ │ ├── export.png │ │ │ │ ├── facebook.png │ │ │ │ ├── fail.png │ │ │ │ ├── forestdb.png │ │ │ │ ├── github.png │ │ │ │ ├── graph.png │ │ │ │ ├── hash.png │ │ │ │ ├── help.png │ │ │ │ ├── import.png │ │ │ │ ├── index.png │ │ │ │ ├── info.png │ │ │ │ ├── instagram.png │ │ │ │ ├── integer.png │ │ │ │ ├── interactive_mode.png │ │ │ │ ├── json.png │ │ │ │ ├── key.png │ │ │ │ ├── key_ttl.png │ │ │ │ ├── keydb.png │ │ │ │ ├── leveldb.png │ │ │ │ ├── lmdb.png │ │ │ │ ├── load.png │ │ │ │ ├── logging.png │ │ │ │ ├── logo.png │ │ │ │ ├── memcached.png │ │ │ │ ├── module.png │ │ │ │ ├── null.png │ │ │ │ ├── open.png │ │ │ │ ├── pika.png │ │ │ │ ├── preferences.png │ │ │ │ ├── redis.png │ │ │ │ ├── remove.png │ │ │ │ ├── rocksdb.png │ │ │ │ ├── save.png │ │ │ │ ├── saveas.png │ │ │ │ ├── sentinel.png │ │ │ │ ├── server.png │ │ │ │ ├── ssdb.png │ │ │ │ ├── stop.png │ │ │ │ ├── stream.png │ │ │ │ ├── string.png │ │ │ │ ├── success.png │ │ │ │ ├── table.png │ │ │ │ ├── text.png │ │ │ │ ├── time.png │ │ │ │ ├── tree.png │ │ │ │ ├── twitter.png │ │ │ │ ├── unknown.png │ │ │ │ ├── unqlite.png │ │ │ │ ├── youtube.png │ │ │ │ └── zset.png │ │ │ └── loading.gif │ │ ├── welcome.in.html │ │ ├── welcome_enterprise.in.html │ │ └── welcome_pro.in.html │ ├── fastoredis.qrc.in │ ├── fastoredis │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── default.qss │ │ ├── images │ │ │ ├── 16x16 │ │ │ │ ├── close.png │ │ │ │ └── search.png │ │ │ ├── 64x64 │ │ │ │ ├── add.png │ │ │ │ ├── array.png │ │ │ │ ├── bloom.png │ │ │ │ ├── bool.png │ │ │ │ ├── byte.png │ │ │ │ ├── channel.png │ │ │ │ ├── clone.png │ │ │ │ ├── cluster.png │ │ │ │ ├── command.png │ │ │ │ ├── connect.png │ │ │ │ ├── connect_db.png │ │ │ │ ├── database.png │ │ │ │ ├── disconnect.png │ │ │ │ ├── discovery.png │ │ │ │ ├── double.png │ │ │ │ ├── edit.png │ │ │ │ ├── email.png │ │ │ │ ├── encode_decode.png │ │ │ │ ├── error.png │ │ │ │ ├── execute.png │ │ │ │ ├── export.png │ │ │ │ ├── facebook.png │ │ │ │ ├── fail.png │ │ │ │ ├── github.png │ │ │ │ ├── graph.png │ │ │ │ ├── hash.png │ │ │ │ ├── help.png │ │ │ │ ├── import.png │ │ │ │ ├── index.png │ │ │ │ ├── info.png │ │ │ │ ├── instagram.png │ │ │ │ ├── integer.png │ │ │ │ ├── interactive_mode.png │ │ │ │ ├── json.png │ │ │ │ ├── key.png │ │ │ │ ├── key_ttl.png │ │ │ │ ├── load.png │ │ │ │ ├── logging.png │ │ │ │ ├── logo.png │ │ │ │ ├── module.png │ │ │ │ ├── null.png │ │ │ │ ├── open.png │ │ │ │ ├── preferences.png │ │ │ │ ├── redis.png │ │ │ │ ├── remove.png │ │ │ │ ├── save.png │ │ │ │ ├── saveas.png │ │ │ │ ├── sentinel.png │ │ │ │ ├── server.png │ │ │ │ ├── stop.png │ │ │ │ ├── stream.png │ │ │ │ ├── string.png │ │ │ │ ├── success.png │ │ │ │ ├── table.png │ │ │ │ ├── text.png │ │ │ │ ├── time.png │ │ │ │ ├── tree.png │ │ │ │ ├── twitter.png │ │ │ │ ├── unknown.png │ │ │ │ ├── youtube.png │ │ │ │ └── zset.png │ │ │ └── loading.gif │ │ ├── welcome.in.html │ │ ├── welcome_enterprise.in.html │ │ └── welcome_pro.in.html │ └── gui.qrc.in ├── third-party │ └── .gitignore └── translations │ ├── fastonosql │ ├── fastonosql_fr.ts │ └── fastonosql_ru.ts │ ├── fastoredis │ ├── fastoredis_fr.ts │ └── fastoredis_ru.ts │ ├── global.cpp │ └── global.h └── tests ├── redis_test_graph.py ├── redis_test_json.py ├── redis_test_keys.py ├── redis_test_many_keys.py ├── redis_test_search.py └── requirements.txt /.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | BasedOnStyle: Chromium 3 | ColumnLimit: 120 4 | Standard: Cpp11 5 | ... 6 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: fastogt 5 | open_collective: fastogt 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://money.yandex.ru/to/410013707284316'] 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | *.obj 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Compiled Dynamic libraries 12 | *.so 13 | *.dylib 14 | *.dll 15 | 16 | # Fortran module files 17 | *.mod 18 | *.smod 19 | 20 | # Compiled Static libraries 21 | *.lai 22 | *.la 23 | *.a 24 | *.lib 25 | 26 | # Executables 27 | *.exe 28 | *.out 29 | *.app 30 | 31 | # other 32 | *.pyc 33 | CMakeLists.txt.user 34 | *~ 35 | 36 | # fastogt tmp files 37 | .idea/ 38 | build/.idea/ 39 | build/build_fastonosql_*/ 40 | build/build_fastoredis_*/ 41 | build_cmake/ 42 | 43 | # project files 44 | build/config.py 45 | build/build_*_env 46 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "cmake"] 2 | path = cmake 3 | url = https://github.com/fastogt/cmake.git 4 | -------------------------------------------------------------------------------- /CPPLINT.cfg: -------------------------------------------------------------------------------- 1 | # This is the toplevel CPPLINT.cfg file 2 | set noparent 3 | 4 | linelength=120 5 | root=src 6 | 7 | filter=-runtime/int 8 | filter=-build/include_order -------------------------------------------------------------------------------- /build/fastonosql.txt: -------------------------------------------------------------------------------- 1 | -DBUILD_WITH_REDIS=ON 2 | -DBUILD_WITH_MEMCACHED=ON 3 | -DBUILD_WITH_SSDB=ON 4 | -DBUILD_WITH_LEVELDB=ON 5 | -DBUILD_WITH_UNQLITE=ON 6 | -DBUILD_WITH_LMDB=ON 7 | -DBUILD_WITH_ROCKSDB=ON 8 | -DBUILD_WITH_PIKA=OFF 9 | -DBUILD_WITH_DYNOMITE=OFF 10 | -DBUILD_WITH_KEYDB=ON 11 | -------------------------------------------------------------------------------- /install/fastonosql/COPYRIGHT: -------------------------------------------------------------------------------- 1 | FastoNoSQL, cross-platform open source Redis, Memcached, SSDB, LevelDB, RocksDB, UnQLite, LMDB, UpscaleDB, ForestDBm Pika GUI management tool. 2 | 3 | Copyright 2018, FastoGT. 4 | 5 | The FastoNoSQL is released under the terms of the GNU General Public 6 | License, version 3. 7 | 8 | The FastoNoSQL Project includes files written by third parties 9 | and used with permission or subject to their respective license 10 | agreements. 11 | 12 | -------------------------------------------------------------------------------- /install/fastonosql/android/configAndroid.json.in: -------------------------------------------------------------------------------- 1 | { 2 | "description": "@CPACK_PACKAGE_DESCRIPTION_SUMMARY@", 3 | "qt": "@_qt5Core_install_prefix@", 4 | "sdk": "@ANDROID_SDK@", 5 | "sdkBuildToolsRevision": "@ANDROID_BUILD_TOOLS_REVISION@", 6 | "ndk": "@ANDROID_NDK@", 7 | "toolchain-prefix": "@ANDROID_TOOLCHAIN_MACHINE_NAME@", 8 | "tool-prefix": "@ANDROID_TOOLCHAIN_MACHINE_NAME@", 9 | "toolchain-version": "@ANDROID_COMPILER_VERSION@", 10 | "ndk-host": "@ANDROID_NDK_HOST_SYSTEM_NAME@", 11 | "target-architecture": "@ANDROID_TARGET_ARCH@", 12 | "application-binary": "@CMAKE_INSTALL_PREFIX@/libs/@ANDROID_NDK_ABI_NAME@/lib@PROJECT_NAME@.so", 13 | "android-package-source-directory": "@PACKAGE_SOURCE_ANDROID@/", 14 | "android-package": "net.@PROJECT_NAME_LOWERCASE@" 15 | } 16 | -------------------------------------------------------------------------------- /install/fastonosql/android/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/android/icon.png -------------------------------------------------------------------------------- /install/fastonosql/android/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/android/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /install/fastonosql/android/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/android/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /install/fastonosql/android/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/android/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /install/fastonosql/android/res/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/android/res/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /install/fastonosql/android/strings.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | @PROJECT_NAME@ 4 | Can\'t find Ministro service.\nThe application can\'t start. 5 | This application requires Ministro service. Would you like to install it? 6 | Your application encountered a fatal error and cannot continue. 7 | 8 | -------------------------------------------------------------------------------- /install/fastonosql/desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Exec=@PRODUCTNAME@ 4 | Name=@SHORTPRODUCTNAME@ 5 | GenericName=The IDE for redis working. 6 | GenericName[de]=Die IDE der 7 | Icon=@ICONNAME@ 8 | Terminal=false 9 | Categories=Development;IDE;redis; 10 | -------------------------------------------------------------------------------- /install/fastonosql/linux/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/linux/icon.png -------------------------------------------------------------------------------- /install/fastonosql/linux/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | ln -sf @CPACK_PACKAGING_INSTALL_PREFIX@/@TARGET_INSTALL_DESTINATION@/@PROJECT_NAME_LOWERCASE@ /usr/bin/@PROJECT_NAME_LOWERCASE@ 4 | chmod +x /usr/bin/@PROJECT_NAME_LOWERCASE@ 5 | cp @CPACK_PACKAGING_INSTALL_PREFIX@/share/applications/@PROJECT_NAME_LOWERCASE@.desktop /usr/share/applications/@PROJECT_NAME_LOWERCASE@.desktop 6 | cp @CPACK_PACKAGING_INSTALL_PREFIX@/share/icons/@PROJECT_NAME_LOWERCASE@.png /usr/share/icons/@PROJECT_NAME_LOWERCASE@.png 7 | -------------------------------------------------------------------------------- /install/fastonosql/linux/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if test -e /usr/bin/@PROJECT_NAME_LOWERCASE@ ; then 5 | rm /usr/bin/@PROJECT_NAME_LOWERCASE@ 6 | fi 7 | 8 | if test -e /usr/share/applications/@PROJECT_NAME_LOWERCASE@.desktop ; then 9 | rm /usr/share/applications/@PROJECT_NAME_LOWERCASE@.desktop 10 | fi 11 | 12 | if test -e /usr/share/icons/@PROJECT_NAME_LOWERCASE@.png ; then 13 | rm /usr/share/icons/@PROJECT_NAME_LOWERCASE@.png 14 | fi 15 | 16 | -------------------------------------------------------------------------------- /install/fastonosql/linux/start.sh.in: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | SOURCE="${BASH_SOURCE[0]}" 4 | while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink 5 | DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" 6 | SOURCE="$(readlink "$SOURCE")" 7 | [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located 8 | done 9 | SOURCE_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" 10 | cd $SOURCE_DIR 11 | 12 | export LD_LIBRARY_PATH="$SOURCE_DIR/../lib:$LD_LIBRARY_PATH" 13 | export QT_PLUGIN_PATH="$SOURCE_DIR/../lib:$QT_PLUGIN_PATH" 14 | 15 | "$SOURCE_DIR/@PROJECT_NAME@" $@ 16 | -------------------------------------------------------------------------------- /install/fastonosql/osx/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/osx/icon.icns -------------------------------------------------------------------------------- /install/fastonosql/qt.conf: -------------------------------------------------------------------------------- 1 | [Paths] 2 | Plugins = plugins 3 | -------------------------------------------------------------------------------- /install/fastonosql/resources/help/connect.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/resources/help/connect.gif -------------------------------------------------------------------------------- /install/fastonosql/resources/help/individual_builds.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/resources/help/individual_builds.gif -------------------------------------------------------------------------------- /install/fastonosql/resources/help/workflow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/resources/help/workflow.gif -------------------------------------------------------------------------------- /install/fastonosql/resources/modules/converters/convert_pickle.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | 3 | import sys 4 | import pickle 5 | import argparse 6 | 7 | if __name__ == "__main__": 8 | argc = len(sys.argv) 9 | 10 | parser = argparse.ArgumentParser() 11 | parser.add_argument('data', help='pickle encode/decode hexed string', type=str) 12 | parser.add_argument('--encode', action='store_true', help='pickle encode string') 13 | parser.add_argument('--decode', action='store_false', help='pickle decode string') 14 | args = parser.parse_args() 15 | 16 | hexed_data = args.data 17 | unhexed = hexed_data.replace('x', '') # 1122 18 | raw_pickle = unhexed.decode('hex') 19 | 20 | try: 21 | if args.encode: 22 | pickle_str = pickle.dumps(raw_pickle) 23 | else: 24 | pickle_str = pickle.loads(raw_pickle) 25 | except Exception as ex: 26 | sys.exit(1) 27 | 28 | result_str = ''.join('\\x{:02x}'.format(ord(x)) for x in pickle_str) 29 | print(result_str) 30 | sys.exit(0) 31 | -------------------------------------------------------------------------------- /install/fastonosql/windows/database.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/windows/database.bmp -------------------------------------------------------------------------------- /install/fastonosql/windows/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/windows/icon.ico -------------------------------------------------------------------------------- /install/fastonosql/windows/nsis-top-logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastonosql/windows/nsis-top-logo.bmp -------------------------------------------------------------------------------- /install/fastoredis/COPYRIGHT: -------------------------------------------------------------------------------- 1 | FastoRedis, cross-platform open source Redis GUI management tool. 2 | 3 | Copyright 2018, FastoGT. 4 | 5 | The FastoRedis is released under the terms of the GNU General Public 6 | License, version 3. 7 | 8 | The FastoRedis Project includes files written by third parties 9 | and used with permission or subject to their respective license 10 | agreements. 11 | 12 | -------------------------------------------------------------------------------- /install/fastoredis/android/configAndroid.json.in: -------------------------------------------------------------------------------- 1 | { 2 | "description": "@CPACK_PACKAGE_DESCRIPTION_SUMMARY@", 3 | "qt": "@_qt5Core_install_prefix@", 4 | "sdk": "@ANDROID_SDK@", 5 | "ndk": "@ANDROID_NDK@", 6 | "toolchain-prefix": "@ANDROID_TOOLCHAIN_MACHINE_NAME@", 7 | "tool-prefix": "@ANDROID_TOOLCHAIN_MACHINE_NAME@", 8 | "toolchain-version": "@ANDROID_COMPILER_VERSION@", 9 | "ndk-host": "@ANDROID_NDK_HOST_SYSTEM_NAME@", 10 | "target-architecture": "@ANDROID_TARGET_ARCH@", 11 | "application-binary": "@CMAKE_INSTALL_PREFIX@/libs/@ANDROID_NDK_ABI_NAME@/lib@PROJECT_NAME@.so", 12 | "android-package-source-directory": "@PACKAGE_SOURCE_ANDROID@/", 13 | "android-package": "net.@PROJECT_NAME_LOWERCASE@" 14 | } 15 | -------------------------------------------------------------------------------- /install/fastoredis/android/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/android/icon.png -------------------------------------------------------------------------------- /install/fastoredis/android/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/android/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /install/fastoredis/android/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/android/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /install/fastoredis/android/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/android/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /install/fastoredis/android/res/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/android/res/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /install/fastoredis/android/strings.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | @PROJECT_NAME@ 4 | 5 | Can\'t find Ministro service.\nThe application can\'t start. 6 | This application requires Ministro service. Would you like to install it? 7 | Your application encountered a fatal error and cannot continue. 8 | 9 | -------------------------------------------------------------------------------- /install/fastoredis/desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Exec=@PRODUCTNAME@ 4 | Name=@SHORTPRODUCTNAME@ 5 | GenericName=The IDE for redis working. 6 | GenericName[de]=Die IDE der 7 | Icon=@ICONNAME@ 8 | Terminal=false 9 | Categories=Development;IDE;redis; 10 | -------------------------------------------------------------------------------- /install/fastoredis/linux/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/linux/icon.png -------------------------------------------------------------------------------- /install/fastoredis/linux/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | ln -sf @CPACK_PACKAGING_INSTALL_PREFIX@/@TARGET_INSTALL_DESTINATION@/@PROJECT_NAME_LOWERCASE@ /usr/bin/@PROJECT_NAME_LOWERCASE@ 4 | chmod +x /usr/bin/@PROJECT_NAME_LOWERCASE@ 5 | cp @CPACK_PACKAGING_INSTALL_PREFIX@/share/applications/@PROJECT_NAME_LOWERCASE@.desktop /usr/share/applications/@PROJECT_NAME_LOWERCASE@.desktop 6 | cp @CPACK_PACKAGING_INSTALL_PREFIX@/share/icons/@PROJECT_NAME_LOWERCASE@.png /usr/share/icons/@PROJECT_NAME_LOWERCASE@.png 7 | -------------------------------------------------------------------------------- /install/fastoredis/linux/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if test -e /usr/bin/@PROJECT_NAME_LOWERCASE@ ; then 5 | rm /usr/bin/@PROJECT_NAME_LOWERCASE@ 6 | fi 7 | 8 | if test -e /usr/share/applications/@PROJECT_NAME_LOWERCASE@.desktop ; then 9 | rm /usr/share/applications/@PROJECT_NAME_LOWERCASE@.desktop 10 | fi 11 | 12 | if test -e /usr/share/icons/@PROJECT_NAME_LOWERCASE@.png ; then 13 | rm /usr/share/icons/@PROJECT_NAME_LOWERCASE@.png 14 | fi 15 | 16 | -------------------------------------------------------------------------------- /install/fastoredis/linux/start.sh.in: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | SOURCE="${BASH_SOURCE[0]}" 4 | while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink 5 | DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" 6 | SOURCE="$(readlink "$SOURCE")" 7 | [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located 8 | done 9 | SOURCE_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" 10 | cd $SOURCE_DIR 11 | 12 | export LD_LIBRARY_PATH="$SOURCE_DIR/../lib:$LD_LIBRARY_PATH" 13 | export QT_PLUGIN_PATH="$SOURCE_DIR/../lib:$QT_PLUGIN_PATH" 14 | 15 | "$SOURCE_DIR/@PROJECT_NAME@" $@ 16 | -------------------------------------------------------------------------------- /install/fastoredis/osx/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/osx/icon.icns -------------------------------------------------------------------------------- /install/fastoredis/qt.conf: -------------------------------------------------------------------------------- 1 | [Paths] 2 | Plugins = plugins 3 | -------------------------------------------------------------------------------- /install/fastoredis/resources/help/connect.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/resources/help/connect.gif -------------------------------------------------------------------------------- /install/fastoredis/resources/help/individual_builds.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/resources/help/individual_builds.gif -------------------------------------------------------------------------------- /install/fastoredis/resources/help/workflow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/resources/help/workflow.gif -------------------------------------------------------------------------------- /install/fastoredis/resources/modules/converters/convert_pickle.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | 3 | import sys 4 | import pickle 5 | import argparse 6 | 7 | if __name__ == "__main__": 8 | argc = len(sys.argv) 9 | 10 | parser = argparse.ArgumentParser() 11 | parser.add_argument('data', help='pickle encode/decode hexed string', type=str) 12 | parser.add_argument('--encode', action='store_true', help='pickle encode string') 13 | parser.add_argument('--decode', action='store_false', help='pickle decode string') 14 | args = parser.parse_args() 15 | 16 | hexed_data = args.data 17 | unhexed = hexed_data.replace('x', '') # 1122 18 | raw_pickle = unhexed.decode('hex') 19 | 20 | try: 21 | if args.encode: 22 | pickle_str = pickle.dumps(raw_pickle) 23 | else: 24 | pickle_str = pickle.loads(raw_pickle) 25 | except Exception as ex: 26 | sys.exit(1) 27 | 28 | result_str = ''.join('\\x{:02x}'.format(ord(x)) for x in pickle_str) 29 | print(result_str) 30 | sys.exit(0) 31 | -------------------------------------------------------------------------------- /install/fastoredis/windows/database.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/windows/database.bmp -------------------------------------------------------------------------------- /install/fastoredis/windows/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/windows/icon.ico -------------------------------------------------------------------------------- /install/fastoredis/windows/nsis-top-logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/install/fastoredis/windows/nsis-top-logo.bmp -------------------------------------------------------------------------------- /install/gentoo.ebuild.in: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v3 3 | # $Header: $ 4 | 5 | EAPI="6" 6 | 7 | inherit multilib unpacker 8 | 9 | DESCRIPTION="@PROJECT_DESCRIPTION@" 10 | HOMEPAGE="@PROJECT_DOMAIN@" 11 | SRC_URI="@PROJECT_DOWNLOAD_DIRECT_LINK@/linux/@CPACK_PACKAGE_FILE_NAME@.deb" 12 | 13 | LICENSE="GPL-v3" 14 | SLOT="0" 15 | KEYWORDS="~amd64 ~x86" 16 | IUSE="" 17 | 18 | RDEPEND=">=sys-libs/libstdc++-v3-3.3.6-r1" 19 | DEPEND="${RDEPEND} 20 | 21 | ##S=${WORKDIR}/${P}.0 22 | S=${WORKDIR} 23 | 24 | #RESTRICT="strip" 25 | 26 | src_install() { 27 | sed -i '3s|Exec=@PROJECT_NAME_LOWERCASE@|Exec=@PROJECT_NAME_LOWERCASE@.sh|g' "${S}/opt/@PROJECT_NAME_LOWERCASE@/share/applications/@PROJECT_NAME_LOWERCASE@.desktop" || die 28 | sed -i '7s|Icon=@PROJECT_NAME_LOWERCASE@.png|Icon=@PROJECT_NAME_LOWERCASE@|g' "${S}/opt/@PROJECT_NAME_LOWERCASE@/share/applications/@PROJECT_NAME_LOWERCASE@.desktop" || die 29 | sed -i '9s|IDE;redis;|IDE;|g' "${S}/opt/@PROJECT_NAME_LOWERCASE@/share/applications/@PROJECT_NAME_LOWERCASE@.desktop" || die 30 | 31 | dodir /usr/{bin,share} 32 | mv "${S}"/opt/@PROJECT_NAME_LOWERCASE@/{bin,share} "${D}"/usr/ 33 | 34 | cp -pPR "${WORKDIR}"/* "${D}"/ || die "copying files failed!" 35 | } 36 | -------------------------------------------------------------------------------- /scripts/create_pre_commit_hook.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | HOOKS="pre-commit" 4 | ROOT_DIR=$(git rev-parse --show-toplevel) 5 | 6 | for hook in $HOOKS; do 7 | if [ ! -f $ROOT_DIR/.git/hooks/$hook ]; then 8 | ln -s $ROOT_DIR/scripts/$hook $ROOT_DIR/.git/hooks/$hook 9 | fi 10 | done 11 | 12 | -------------------------------------------------------------------------------- /scripts/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | TOTAL_ERRORS=0 4 | 5 | for file in `git diff-index --name-only --diff-filter=d HEAD`; do 6 | case "${file#*.}" in 7 | cpp|c|h) 8 | clang-format -i "${file}" 9 | cpplint "${file}" 10 | TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?); 11 | ;; 12 | esac 13 | done 14 | 15 | exit $TOTAL_ERRORS 16 | -------------------------------------------------------------------------------- /src/gui/connection_widgets_factory.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "gui/widgets/connection_base_widget.h" 24 | 25 | namespace fastonosql { 26 | namespace gui { 27 | 28 | class ConnectionWidgetsFactory : public common::patterns::LazySingleton { 29 | public: 30 | friend class common::patterns::LazySingleton; 31 | 32 | ConnectionBaseWidget* createWidget(proxy::IConnectionSettingsBase* connection, QWidget* parent = Q_NULLPTR); 33 | }; 34 | 35 | } // namespace gui 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/gui/db/keydb/shell_widget.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "gui/db/keydb/shell_widget.h" 20 | 21 | namespace fastonosql { 22 | namespace gui { 23 | namespace keydb {} // namespace keydb 24 | } // namespace gui 25 | } // namespace fastonosql 26 | -------------------------------------------------------------------------------- /src/gui/db/keydb/shell_widget.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "gui/db/redis/shell_widget.h" 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | namespace keydb { 26 | 27 | typedef redis::ShellWidget ShellWidget; 28 | 29 | } // namespace keydb 30 | } // namespace gui 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/gui/dialogs/about_dialog.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "gui/dialogs/base_dialog.h" 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class AboutDialog : public BaseDialog { 27 | Q_OBJECT 28 | 29 | public: 30 | typedef BaseDialog base_class; 31 | template 32 | friend T* createDialog(Args&&... args); 33 | 34 | protected: 35 | explicit AboutDialog(QWidget* parent = Q_NULLPTR); 36 | }; 37 | 38 | } // namespace gui 39 | } // namespace fastonosql 40 | -------------------------------------------------------------------------------- /src/gui/dialogs/eula_dialog.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class EulaDialog : public QWizard { 27 | Q_OBJECT 28 | public: 29 | explicit EulaDialog(const QString& title, QWidget* parent = Q_NULLPTR); 30 | 31 | private Q_SLOTS: 32 | void agreeClick(); 33 | void notAgreeClick(); 34 | void nextClick(); 35 | void backClick(); 36 | void finishClick(); 37 | }; 38 | 39 | } // namespace gui 40 | } // namespace fastonosql 41 | -------------------------------------------------------------------------------- /src/gui/dialogs/how_to_use_dialog.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "gui/dialogs/base_dialog.h" 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class HowToUseDialog : public BaseDialog { 27 | Q_OBJECT 28 | 29 | public: 30 | typedef BaseDialog base_class; 31 | template 32 | friend T* createDialog(Args&&... args); 33 | 34 | protected: 35 | explicit HowToUseDialog(QWidget* parent = Q_NULLPTR); 36 | }; 37 | 38 | } // namespace gui 39 | } // namespace fastonosql 40 | -------------------------------------------------------------------------------- /src/gui/editor/fasto_editor_shell.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "gui/widgets/fasto_editor.h" 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class FastoEditorShell : public FastoEditor { 27 | Q_OBJECT 28 | 29 | public: 30 | typedef BaseWidget base_class; 31 | template 32 | friend T* createWidget(Args&&... args); 33 | 34 | protected Q_SLOTS: 35 | void showContextMenu(const QPoint& point); 36 | 37 | protected: 38 | explicit FastoEditorShell(bool show_auto_complete, QWidget* parent = Q_NULLPTR); 39 | }; 40 | 41 | } // namespace gui 42 | } // namespace fastonosql 43 | -------------------------------------------------------------------------------- /src/gui/models/explorer_tree_sort_filter_proxy_model.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class ExplorerTreeSortFilterProxyModel : public QSortFilterProxyModel { 27 | Q_OBJECT 28 | 29 | public: 30 | explicit ExplorerTreeSortFilterProxyModel(QObject* parent = Q_NULLPTR); 31 | 32 | protected: 33 | bool lessThan(const QModelIndex& left, const QModelIndex& right) const override; 34 | bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const override; 35 | }; 36 | 37 | } // namespace gui 38 | } // namespace fastonosql 39 | -------------------------------------------------------------------------------- /src/gui/models/items/action_table_item.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "gui/models/items/action_table_item.h" 20 | 21 | namespace fastonosql { 22 | namespace gui { 23 | 24 | ActionTableItem::ActionTableItem(Mode state) : TableItem(), state_(state) {} 25 | 26 | ActionTableItem::Mode ActionTableItem::actionState() const { 27 | return state_; 28 | } 29 | 30 | } // namespace gui 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/gui/models/items/action_table_item.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | namespace fastonosql { 26 | namespace gui { 27 | 28 | class ActionTableItem : public common::qt::gui::TableItem { 29 | public: 30 | enum Mode : uint8_t { AddAction = 0, EditAction = 1, RemoveAction = 3 }; 31 | explicit ActionTableItem(Mode state); 32 | 33 | Mode actionState() const; 34 | 35 | private: 36 | const Mode state_; 37 | }; 38 | 39 | } // namespace gui 40 | } // namespace fastonosql 41 | -------------------------------------------------------------------------------- /src/gui/models/items/channel_table_item.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "gui/models/items/channel_table_item.h" 20 | 21 | namespace fastonosql { 22 | namespace gui { 23 | 24 | ChannelTableItem::ChannelTableItem(const proxy::NDbPSChannel& chan) : channel_(chan) {} 25 | 26 | proxy::NDbPSChannel ChannelTableItem::channel() const { 27 | return channel_; 28 | } 29 | 30 | } // namespace gui 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/gui/models/items/channel_table_item.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | #include "proxy/db_ps_channel.h" 26 | 27 | namespace fastonosql { 28 | namespace gui { 29 | 30 | class ChannelTableItem : public common::qt::gui::TableItem { 31 | public: 32 | explicit ChannelTableItem(const proxy::NDbPSChannel& chan); 33 | 34 | proxy::NDbPSChannel channel() const; 35 | 36 | private: 37 | proxy::NDbPSChannel channel_; 38 | }; 39 | 40 | } // namespace gui 41 | } // namespace fastonosql 42 | -------------------------------------------------------------------------------- /src/gui/models/items/client_table_item.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "gui/models/items/client_table_item.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | ClientTableItem::ClientTableItem(const proxy::NDbClient& client) : client_(client) {} 27 | 28 | proxy::NDbClient ClientTableItem::client() const { 29 | return client_; 30 | } 31 | 32 | } // namespace gui 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/gui/models/items/client_table_item.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "proxy/db_client.h" 24 | 25 | namespace fastonosql { 26 | namespace gui { 27 | 28 | class ClientTableItem : public common::qt::gui::TableItem { 29 | public: 30 | explicit ClientTableItem(const proxy::NDbClient& client); 31 | 32 | proxy::NDbClient client() const; 33 | 34 | private: 35 | proxy::NDbClient client_; 36 | }; 37 | 38 | } // namespace gui 39 | } // namespace fastonosql 40 | -------------------------------------------------------------------------------- /src/gui/models/items/property_table_item.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | #include 26 | 27 | namespace fastonosql { 28 | namespace gui { 29 | 30 | class PropertyTableItem : public common::qt::gui::TableItem { 31 | public: 32 | explicit PropertyTableItem(const core::property_t& prop); 33 | QString key() const; 34 | QString value() const; 35 | 36 | core::property_t property() const; 37 | void setProperty(const core::property_t& prop); 38 | 39 | private: 40 | core::property_t prop_; 41 | }; 42 | 43 | } // namespace gui 44 | } // namespace fastonosql 45 | -------------------------------------------------------------------------------- /src/gui/models/items/value_table_item.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "gui/models/items/value_table_item.h" 20 | 21 | namespace fastonosql { 22 | namespace gui { 23 | 24 | ValueTableItem::ValueTableItem(const value_t& value, Mode state) : base_class(state), value_(value) {} 25 | 26 | ValueTableItem::value_t ValueTableItem::value() const { 27 | return value_; 28 | } 29 | 30 | void ValueTableItem::setValue(const value_t& val) { 31 | value_ = val; 32 | } 33 | 34 | } // namespace gui 35 | } // namespace fastonosql 36 | -------------------------------------------------------------------------------- /src/gui/models/items/value_table_item.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "gui/models/items/action_table_item.h" 24 | 25 | namespace fastonosql { 26 | namespace gui { 27 | 28 | class ValueTableItem : public ActionTableItem { 29 | public: 30 | typedef common::Value::string_t value_t; 31 | typedef ActionTableItem base_class; 32 | 33 | ValueTableItem(const value_t& value, Mode state); 34 | 35 | value_t value() const; 36 | void setValue(const value_t& val); 37 | 38 | private: 39 | value_t value_; 40 | }; 41 | 42 | } // namespace gui 43 | } // namespace fastonosql 44 | -------------------------------------------------------------------------------- /src/gui/python_converter.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | typedef core::readable_string_t convert_in_t; 27 | typedef core::readable_string_t convert_out_t; 28 | 29 | bool string_from_pickle(const convert_in_t& value, convert_out_t* out); 30 | bool string_to_pickle(const convert_in_t& data, convert_out_t* out); 31 | 32 | } // namespace gui 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/gui/utils.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | class QWidget; 24 | 25 | namespace fastonosql { 26 | namespace gui { 27 | 28 | QString showSaveFileDialog(QWidget* parent, const QString& title, const QString& directory, const QString& filter); 29 | 30 | } // namespace gui 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/gui/views/fasto_table_view.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class FastoTableView : public QTableView { 27 | Q_OBJECT 28 | 29 | public: 30 | explicit FastoTableView(QWidget* parent = Q_NULLPTR); 31 | 32 | QPoint calculateMenuPoint(const QPoint& point) const; 33 | }; 34 | 35 | } // namespace gui 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/gui/views/fasto_text_view.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | class QAbstractItemModel; 24 | 25 | namespace fastonosql { 26 | namespace gui { 27 | 28 | class FastoEditorModelOutput; 29 | class FastoTextView : public QWidget { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit FastoTextView(QWidget* parent = Q_NULLPTR); 34 | 35 | void setModel(QAbstractItemModel* model); 36 | 37 | private: 38 | FastoEditorModelOutput* editor_; 39 | }; 40 | 41 | } // namespace gui 42 | } // namespace fastonosql 43 | -------------------------------------------------------------------------------- /src/gui/views/fasto_tree_view.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class FastoTreeView : public QTreeView { 27 | Q_OBJECT 28 | 29 | public: 30 | explicit FastoTreeView(QWidget* parent = Q_NULLPTR); 31 | 32 | QPoint calculateMenuPoint(const QPoint& point) const; 33 | }; 34 | 35 | } // namespace gui 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/gui/widgets/base_widget.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "gui/widgets/base_widget.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | BaseWidget::BaseWidget(QWidget* parent) : base_class(parent) {} 27 | 28 | BaseWidget::~BaseWidget() {} 29 | 30 | void BaseWidget::init() {} 31 | 32 | void BaseWidget::retranslateUi() {} 33 | 34 | void BaseWidget::updateFont() {} 35 | 36 | void BaseWidget::changeEvent(QEvent* e) { 37 | if (e->type() == QEvent::LanguageChange) { 38 | retranslateUi(); 39 | } else if (e->type() == QEvent::FontChange) { 40 | updateFont(); 41 | } 42 | 43 | base_class::changeEvent(e); 44 | } 45 | 46 | } // namespace gui 47 | } // namespace fastonosql 48 | -------------------------------------------------------------------------------- /src/gui/widgets/how_to_use_widget.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class HowToUseWidget : public QTabWidget { 27 | Q_OBJECT 28 | 29 | public: 30 | HowToUseWidget(const QSize& scale_size, QWidget* parent = Q_NULLPTR); 31 | }; 32 | 33 | } // namespace gui 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/gui/widgets/icon_button.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "gui/widgets/icon_button.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | IconButton::IconButton(const QIcon& icon, const QSize& fixed_size, QWidget* parent) : base_class(parent) { 27 | setIcon(icon); 28 | setFixedSize(fixed_size); 29 | } 30 | 31 | } // namespace gui 32 | } // namespace fastonosql 33 | -------------------------------------------------------------------------------- /src/gui/widgets/icon_button.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace gui { 25 | 26 | class IconButton : public QPushButton { 27 | Q_OBJECT 28 | 29 | public: 30 | typedef QPushButton base_class; 31 | IconButton(const QIcon& icon, const QSize& fixed_size, QWidget* parent = Q_NULLPTR); 32 | }; 33 | 34 | } // namespace gui 35 | } // namespace fastonosql 36 | -------------------------------------------------------------------------------- /src/gui/workers/load_welcome_page.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | #include 26 | 27 | namespace fastonosql { 28 | namespace gui { 29 | 30 | class LoadWelcomePage : public QObject { 31 | Q_OBJECT 32 | 33 | public: 34 | explicit LoadWelcomePage(QObject* parent = Q_NULLPTR); 35 | 36 | Q_SIGNALS: 37 | void pageLoaded(common::Error err, const QString& content); 38 | 39 | public Q_SLOTS: 40 | void routine(); 41 | }; 42 | 43 | } // namespace gui 44 | } // namespace fastonosql 45 | -------------------------------------------------------------------------------- /src/gui/workers/update_checker.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | namespace fastonosql { 26 | namespace gui { 27 | 28 | class UpdateChecker : public QObject { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit UpdateChecker(QObject* parent = Q_NULLPTR); 33 | 34 | Q_SIGNALS: 35 | void versionAvailibled(common::Error err, unsigned version); 36 | 37 | public Q_SLOTS: 38 | void routine(); 39 | }; 40 | 41 | } // namespace gui 42 | } // namespace fastonosql 43 | -------------------------------------------------------------------------------- /src/proxy/command/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/command/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy {} // namespace proxy 23 | } // namespace fastonosql 24 | -------------------------------------------------------------------------------- /src/proxy/command/command_logger.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/command/command_logger.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | CommandLogger::CommandLogger() { 27 | qRegisterMetaType("core::FastoObjectCommandIPtr"); 28 | } 29 | 30 | void CommandLogger::Print(core::FastoObjectCommandIPtr command) { 31 | emit Printed(command); 32 | } 33 | 34 | void LOG_COMMAND(core::FastoObjectCommandIPtr command) { 35 | return CommandLogger::GetInstance().Print(command); 36 | } 37 | 38 | } // namespace proxy 39 | } // namespace fastonosql 40 | -------------------------------------------------------------------------------- /src/proxy/connection_settings/settings_fwd.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | class IConnectionSettingsBase; 27 | typedef std::shared_ptr IConnectionSettingsBaseSPtr; 28 | 29 | #if defined(PRO_VERSION) || defined(ENTERPRISE_VERSION) 30 | class IClusterSettingsBase; 31 | typedef std::shared_ptr IClusterSettingsBaseSPtr; 32 | 33 | class ISentinelSettingsBase; 34 | typedef std::shared_ptr ISentinelSettingsBaseSPtr; 35 | #endif 36 | 37 | } // namespace proxy 38 | } // namespace fastonosql 39 | -------------------------------------------------------------------------------- /src/proxy/connection_settings/types.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/connection_settings/types.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy {} // namespace proxy 23 | } // namespace fastonosql 24 | -------------------------------------------------------------------------------- /src/proxy/connection_settings/types.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | typedef common::char_buffer_t serialize_t; 27 | 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/dynomite/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2019 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/dynomite/command.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace dynomite { 26 | 27 | Command::Command(core::FastoObject* parent, 28 | common::StringValue* cmd, 29 | core::CmdLoggingType logging_type, 30 | const std::string& delimiter) 31 | : core::FastoObjectCommand(parent, cmd, logging_type, delimiter, core::DYNOMITE) {} 32 | 33 | } // namespace dynomite 34 | } // namespace proxy 35 | } // namespace fastonosql 36 | -------------------------------------------------------------------------------- /src/proxy/db/dynomite/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | namespace fastonosql { 26 | namespace proxy { 27 | namespace dynomite { 28 | 29 | class Command : public core::FastoObjectCommand { 30 | public: 31 | Command(core::FastoObject* parent, 32 | common::StringValue* cmd, 33 | core::CmdLoggingType logging_type, 34 | const std::string& delimiter); 35 | }; 36 | 37 | } // namespace dynomite 38 | } // namespace proxy 39 | } // namespace fastonosql 40 | -------------------------------------------------------------------------------- /src/proxy/db/forestdb/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2019 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/forestdb/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace forestdb { 24 | 25 | Command::Command(FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : FastoObjectCommand(parent, cmd, logging_type, delimiter, core::FORESTDB) {} 30 | 31 | } // namespace forestdb 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/forestdb/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace forestdb { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace forestdb 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/forestdb/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2019 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/forestdb/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace forestdb { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace forestdb 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/forestdb/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace forestdb { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | 32 | } // namespace forestdb 33 | } // namespace proxy 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/proxy/db/forestdb/server.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/connection_settings/iconnection_settings.h" 22 | #include "proxy/server/iserver_local.h" 23 | 24 | namespace fastonosql { 25 | namespace proxy { 26 | namespace forestdb { 27 | 28 | class Server : public IServerLocal { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit Server(IConnectionSettingsBaseSPtr settings); 33 | std::string GetPath() const override; 34 | 35 | private: 36 | IDatabaseSPtr CreateDatabase(core::IDataBaseInfoSPtr info) override; 37 | }; 38 | 39 | } // namespace forestdb 40 | } // namespace proxy 41 | } // namespace fastonosql 42 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/cluster.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/keydb/cluster.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace keydb {} // namespace keydb 24 | } // namespace proxy 25 | } // namespace fastonosql 26 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/cluster.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/db/redis/cluster.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace keydb { 26 | 27 | typedef redis::Cluster Cluster; 28 | 29 | } // namespace keydb 30 | } // namespace proxy 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/cluster_settings.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/keydb/cluster_settings.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace keydb {} // namespace keydb 24 | } // namespace proxy 25 | } // namespace fastonosql 26 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/cluster_settings.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/db/redis/cluster_settings.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace keydb { 26 | 27 | typedef redis::ClusterSettings ClusterSettings; 28 | 29 | } // namespace keydb 30 | } // namespace proxy 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/keydb/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace keydb {} // namespace keydb 24 | } // namespace proxy 25 | } // namespace fastonosql 26 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/db/redis/command.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace keydb { 26 | 27 | typedef redis::Command Command; 28 | 29 | } // namespace keydb 30 | } // namespace proxy 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/sentinel.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/keydb/sentinel.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace keydb {} // namespace keydb 24 | } // namespace proxy 25 | } // namespace fastonosql 26 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/sentinel.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/db/redis/sentinel.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace keydb { 26 | 27 | typedef redis::Sentinel Sentinel; 28 | 29 | } // namespace keydb 30 | } // namespace proxy 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/sentinel_settings.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/keydb/sentinel_settings.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace keydb {} // namespace keydb 24 | } // namespace proxy 25 | } // namespace fastonosql 26 | -------------------------------------------------------------------------------- /src/proxy/db/keydb/sentinel_settings.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/db/redis/sentinel_settings.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace keydb { 26 | 27 | typedef redis::SentinelSettings SentinelSettings; 28 | 29 | } // namespace keydb 30 | } // namespace proxy 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/proxy/db/leveldb/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/leveldb/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace leveldb { 24 | 25 | Command::Command(core::FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : FastoObjectCommand(parent, cmd, logging_type, delimiter, core::LEVELDB) {} 30 | 31 | } // namespace leveldb 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/leveldb/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace leveldb { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(core::FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace leveldb 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/leveldb/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/leveldb/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace leveldb { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace leveldb 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/leveldb/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace leveldb { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | 32 | } // namespace leveldb 33 | } // namespace proxy 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/proxy/db/leveldb/server.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "proxy/connection_settings/iconnection_settings.h" 24 | #include "proxy/server/iserver_local.h" 25 | 26 | namespace fastonosql { 27 | namespace proxy { 28 | namespace leveldb { 29 | 30 | class Server : public IServerLocal { 31 | Q_OBJECT 32 | public: 33 | explicit Server(IConnectionSettingsBaseSPtr settings); 34 | std::string GetPath() const override; 35 | 36 | private: 37 | IDatabaseSPtr CreateDatabase(core::IDataBaseInfoSPtr info) override; 38 | }; 39 | 40 | } // namespace leveldb 41 | } // namespace proxy 42 | } // namespace fastonosql 43 | -------------------------------------------------------------------------------- /src/proxy/db/lmdb/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/lmdb/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace lmdb { 24 | 25 | Command::Command(FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : FastoObjectCommand(parent, cmd, logging_type, delimiter, core::LMDB) {} 30 | 31 | } // namespace lmdb 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/lmdb/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace lmdb { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace lmdb 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/lmdb/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/lmdb/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace lmdb { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace lmdb 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/lmdb/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace lmdb { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | 32 | } // namespace lmdb 33 | } // namespace proxy 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/proxy/db/lmdb/server.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/lmdb/server.h" 20 | 21 | #include "proxy/db/lmdb/database.h" 22 | #include "proxy/db/lmdb/driver.h" 23 | 24 | namespace fastonosql { 25 | namespace proxy { 26 | namespace lmdb { 27 | 28 | Server::Server(IConnectionSettingsBaseSPtr settings) : IServerLocal(new Driver(settings)) {} 29 | 30 | std::string Server::GetPath() const { 31 | Driver* ldrv = static_cast(drv_); 32 | return ldrv->GetPath(); 33 | } 34 | 35 | IDatabaseSPtr Server::CreateDatabase(core::IDataBaseInfoSPtr info) { 36 | return IDatabaseSPtr(new Database(shared_from_this(), info)); 37 | } 38 | 39 | } // namespace lmdb 40 | } // namespace proxy 41 | } // namespace fastonosql 42 | -------------------------------------------------------------------------------- /src/proxy/db/lmdb/server.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/connection_settings/iconnection_settings.h" 22 | #include "proxy/server/iserver_local.h" 23 | 24 | namespace fastonosql { 25 | namespace proxy { 26 | namespace lmdb { 27 | 28 | class Server : public IServerLocal { 29 | Q_OBJECT 30 | public: 31 | explicit Server(IConnectionSettingsBaseSPtr settings); 32 | std::string GetPath() const override; 33 | 34 | private: 35 | IDatabaseSPtr CreateDatabase(core::IDataBaseInfoSPtr info) override; 36 | }; 37 | } // namespace lmdb 38 | } // namespace proxy 39 | } // namespace fastonosql 40 | -------------------------------------------------------------------------------- /src/proxy/db/memcached/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/memcached/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace memcached { 24 | 25 | Command::Command(core::FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : FastoObjectCommand(parent, cmd, logging_type, delimiter, core::MEMCACHED) {} 30 | 31 | } // namespace memcached 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/memcached/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace memcached { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(core::FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace memcached 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/memcached/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/memcached/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace memcached { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace memcached 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/memcached/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace memcached { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | 32 | } // namespace memcached 33 | } // namespace proxy 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/proxy/db/pika/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2019 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/pika/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace pika { 24 | 25 | Command::Command(core::FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : core::FastoObjectCommand(parent, cmd, logging_type, delimiter, core::PIKA) {} 30 | 31 | } // namespace pika 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/pika/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace pika { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(core::FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace pika 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/redis/cluster.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/redis/cluster.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace redis { 26 | 27 | Cluster::Cluster(const std::string& name) : ICluster(name) {} 28 | 29 | } // namespace redis 30 | } // namespace proxy 31 | } // namespace fastonosql 32 | -------------------------------------------------------------------------------- /src/proxy/db/redis/cluster.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "proxy/cluster/icluster.h" 24 | 25 | namespace fastonosql { 26 | namespace proxy { 27 | namespace redis { 28 | 29 | class Cluster : public ICluster { 30 | public: 31 | explicit Cluster(const std::string& name); 32 | }; 33 | 34 | } // namespace redis 35 | } // namespace proxy 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/proxy/db/redis/cluster_settings.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/redis/cluster_settings.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace redis { 26 | 27 | ClusterSettings::ClusterSettings(const connection_path_t& connection_path) 28 | : IClusterSettingsBase(connection_path, core::REDIS) {} 29 | 30 | ClusterSettings* ClusterSettings::Clone() const { 31 | return new ClusterSettings(*this); 32 | } 33 | 34 | } // namespace redis 35 | } // namespace proxy 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/proxy/db/redis/cluster_settings.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/connection_settings/icluster_connection_settings.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace redis { 26 | 27 | class ClusterSettings : public IClusterSettingsBase { 28 | public: 29 | explicit ClusterSettings(const connection_path_t& connection_path); 30 | virtual ClusterSettings* Clone() const override; 31 | }; 32 | 33 | } // namespace redis 34 | } // namespace proxy 35 | } // namespace fastonosql 36 | -------------------------------------------------------------------------------- /src/proxy/db/redis/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/redis/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace redis { 24 | 25 | Command::Command(core::FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : core::FastoObjectCommand(parent, cmd, logging_type, delimiter, core::REDIS) {} 30 | 31 | } // namespace redis 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/redis/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace redis { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(core::FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace redis 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/redis/sentinel.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/redis/sentinel.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace redis { 24 | 25 | Sentinel::Sentinel(const std::string& name) : ISentinel(name) {} 26 | 27 | } // namespace redis 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/redis/sentinel.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "proxy/sentinel/isentinel.h" 24 | 25 | namespace fastonosql { 26 | namespace proxy { 27 | namespace redis { 28 | 29 | class Sentinel : public ISentinel { 30 | public: 31 | explicit Sentinel(const std::string& name); 32 | }; 33 | 34 | } // namespace redis 35 | } // namespace proxy 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/proxy/db/redis/sentinel_settings.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/redis/sentinel_settings.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace redis { 26 | 27 | SentinelSettings::SentinelSettings(const connection_path_t& connection_path) 28 | : ISentinelSettingsBase(connection_path, core::REDIS) {} 29 | 30 | SentinelSettings* SentinelSettings::Clone() const { 31 | return new SentinelSettings(*this); 32 | } 33 | 34 | } // namespace redis 35 | } // namespace proxy 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/proxy/db/redis/sentinel_settings.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/connection_settings/isentinel_connection_settings.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace redis { 26 | 27 | class SentinelSettings : public ISentinelSettingsBase { 28 | public: 29 | explicit SentinelSettings(const connection_path_t& connection_path); 30 | virtual SentinelSettings* Clone() const override; 31 | }; 32 | 33 | } // namespace redis 34 | } // namespace proxy 35 | } // namespace fastonosql 36 | -------------------------------------------------------------------------------- /src/proxy/db/redis_compatible/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/redis_compatible/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace redis_compatible { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace redis_compatible 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/redis_compatible/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace redis_compatible { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | 32 | } // namespace redis_compatible 33 | } // namespace proxy 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/proxy/db/rocksdb/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/rocksdb/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace rocksdb { 24 | 25 | Command::Command(FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : FastoObjectCommand(parent, cmd, logging_type, delimiter, core::ROCKSDB) {} 30 | 31 | } // namespace rocksdb 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/rocksdb/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace rocksdb { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace rocksdb 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/rocksdb/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/rocksdb/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace rocksdb { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace rocksdb 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/rocksdb/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace rocksdb { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | 32 | } // namespace rocksdb 33 | } // namespace proxy 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/proxy/db/rocksdb/server.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/connection_settings/iconnection_settings.h" 22 | #include "proxy/server/iserver_local.h" 23 | 24 | namespace fastonosql { 25 | namespace proxy { 26 | namespace rocksdb { 27 | 28 | class Server : public IServerLocal { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit Server(IConnectionSettingsBaseSPtr settings); 33 | std::string GetPath() const override; 34 | 35 | private: 36 | IDatabaseSPtr CreateDatabase(core::IDataBaseInfoSPtr info) override; 37 | }; 38 | 39 | } // namespace rocksdb 40 | } // namespace proxy 41 | } // namespace fastonosql 42 | -------------------------------------------------------------------------------- /src/proxy/db/ssdb/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/ssdb/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace ssdb { 24 | 25 | Command::Command(FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : FastoObjectCommand(parent, cmd, logging_type, delimiter, core::SSDB) {} 30 | 31 | } // namespace ssdb 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/ssdb/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | namespace fastonosql { 26 | namespace proxy { 27 | namespace ssdb { 28 | 29 | class Command : public core::FastoObjectCommand { 30 | public: 31 | Command(core::FastoObject* parent, 32 | common::StringValue* cmd, 33 | core::CmdLoggingType logging_type, 34 | const std::string& delimiter); 35 | }; 36 | 37 | } // namespace ssdb 38 | } // namespace proxy 39 | } // namespace fastonosql 40 | -------------------------------------------------------------------------------- /src/proxy/db/ssdb/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/ssdb/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace ssdb { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace ssdb 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/ssdb/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace ssdb { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | } // namespace ssdb 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/unqlite/command.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/unqlite/command.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace unqlite { 24 | 25 | Command::Command(FastoObject* parent, 26 | common::StringValue* cmd, 27 | core::CmdLoggingType logging_type, 28 | const std::string& delimiter) 29 | : FastoObjectCommand(parent, cmd, logging_type, delimiter, core::UNQLITE) {} 30 | 31 | } // namespace unqlite 32 | } // namespace proxy 33 | } // namespace fastonosql 34 | -------------------------------------------------------------------------------- /src/proxy/db/unqlite/command.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace unqlite { 26 | 27 | class Command : public core::FastoObjectCommand { 28 | public: 29 | Command(FastoObject* parent, 30 | common::StringValue* cmd, 31 | core::CmdLoggingType logging_type, 32 | const std::string& delimiter); 33 | }; 34 | 35 | } // namespace unqlite 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/db/unqlite/database.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/db/unqlite/database.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | namespace unqlite { 24 | 25 | Database::Database(IServerSPtr server, core::IDataBaseInfoSPtr info) : IDatabase(server, info) {} 26 | 27 | } // namespace unqlite 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/db/unqlite/database.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/database/idatabase.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | namespace unqlite { 26 | 27 | class Database : public IDatabase { 28 | public: 29 | Database(IServerSPtr server, core::IDataBaseInfoSPtr info); 30 | }; 31 | 32 | } // namespace unqlite 33 | } // namespace proxy 34 | } // namespace fastonosql 35 | -------------------------------------------------------------------------------- /src/proxy/db/unqlite/server.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "proxy/connection_settings/iconnection_settings.h" 24 | #include "proxy/server/iserver_local.h" 25 | 26 | namespace fastonosql { 27 | namespace proxy { 28 | namespace unqlite { 29 | 30 | class Server : public IServerLocal { 31 | Q_OBJECT 32 | 33 | public: 34 | explicit Server(IConnectionSettingsBaseSPtr settings); 35 | std::string GetPath() const override; 36 | 37 | private: 38 | IDatabaseSPtr CreateDatabase(core::IDataBaseInfoSPtr info) override; 39 | }; 40 | 41 | } // namespace unqlite 42 | } // namespace proxy 43 | } // namespace fastonosql 44 | -------------------------------------------------------------------------------- /src/proxy/db_ps_channel.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | class NDbPSChannel { 27 | public: 28 | typedef core::ReadableString name_t; 29 | 30 | NDbPSChannel(); 31 | NDbPSChannel(const name_t& name, size_t nos); 32 | 33 | name_t GetName() const; 34 | void SetName(const name_t& name); 35 | 36 | size_t GetNumberOfSubscribers() const; 37 | void SetNumberOfSubscribers(size_t nos); 38 | 39 | private: 40 | name_t name_; 41 | size_t number_of_subscribers_; 42 | }; 43 | 44 | } // namespace proxy 45 | } // namespace fastonosql 46 | -------------------------------------------------------------------------------- /src/proxy/driver/idriver_local.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/driver/idriver_local.h" 20 | 21 | #include "proxy/connection_settings/iconnection_settings_local.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | IDriverLocal::IDriverLocal(IConnectionSettingsBaseSPtr settings) : IDriver(settings) { 27 | CHECK(IsLocalType(GetType())); 28 | } 29 | 30 | std::string IDriverLocal::GetPath() const { 31 | auto local_settings = GetSpecificSettings(); 32 | return local_settings->GetDBPath(); 33 | } 34 | 35 | } // namespace proxy 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/proxy/driver/idriver_remote.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/driver/idriver_remote.h" 20 | 21 | #include "proxy/connection_settings/iconnection_settings_remote.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | IDriverRemote::IDriverRemote(IConnectionSettingsBaseSPtr settings) : IDriver(settings) { 27 | CHECK(IsRemoteType(GetType())); 28 | } 29 | 30 | common::net::HostAndPort IDriverRemote::GetHost() const { 31 | auto remote_settings = GetSpecificSettings(); 32 | return remote_settings->GetHost(); 33 | } 34 | 35 | } // namespace proxy 36 | } // namespace fastonosql 37 | -------------------------------------------------------------------------------- /src/proxy/proxy_fwd.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | class IDatabase; 27 | typedef std::shared_ptr IDatabaseSPtr; 28 | 29 | class IServer; 30 | typedef std::shared_ptr IServerSPtr; 31 | 32 | #if defined(PRO_VERSION) || defined(ENTERPRISE_VERSION) 33 | class ICluster; 34 | typedef std::shared_ptr IClusterSPtr; 35 | 36 | class ISentinel; 37 | typedef std::shared_ptr ISentinelSPtr; 38 | #endif 39 | 40 | } // namespace proxy 41 | } // namespace fastonosql 42 | -------------------------------------------------------------------------------- /src/proxy/sentinel/isentinel.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2020 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/sentinel/isentinel.h" 20 | 21 | #include 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | ISentinel::ISentinel(const std::string& name) : name_(name), sentinels_() {} 27 | 28 | std::string ISentinel::GetName() const { 29 | return name_; 30 | } 31 | 32 | void ISentinel::AddSentinel(sentinel_t serv) { 33 | sentinels_.push_back(serv); 34 | } 35 | 36 | ISentinel::sentinels_t ISentinel::GetSentinels() const { 37 | return sentinels_; 38 | } 39 | 40 | } // namespace proxy 41 | } // namespace fastonosql 42 | -------------------------------------------------------------------------------- /src/proxy/server/iserver_base.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/server/iserver_base.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | 24 | IServerBase::~IServerBase() {} 25 | 26 | } // namespace proxy 27 | } // namespace fastonosql 28 | -------------------------------------------------------------------------------- /src/proxy/server/iserver_base.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include 24 | 25 | namespace fastonosql { 26 | namespace proxy { 27 | 28 | class IServerBase : public QObject { 29 | Q_OBJECT 30 | 31 | public: 32 | virtual std::string GetName() const = 0; 33 | ~IServerBase() override; 34 | }; 35 | 36 | } // namespace proxy 37 | } // namespace fastonosql 38 | -------------------------------------------------------------------------------- /src/proxy/server/iserver_local.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/server/iserver_local.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | 24 | IServerLocal::IServerLocal(IDriver* drv) : IServer(drv) { 25 | CHECK(!IsCanRemote()); 26 | } 27 | 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/server/iserver_local.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include 22 | 23 | #include "proxy/server/iserver.h" 24 | 25 | namespace fastonosql { 26 | namespace proxy { 27 | 28 | class IServerLocal : public IServer { 29 | Q_OBJECT 30 | 31 | public: 32 | virtual std::string GetPath() const = 0; 33 | IDatabaseSPtr CreateDatabase(core::IDataBaseInfoSPtr info) override = 0; 34 | 35 | protected: 36 | explicit IServerLocal(IDriver* drv); 37 | }; 38 | 39 | } // namespace proxy 40 | } // namespace fastonosql 41 | -------------------------------------------------------------------------------- /src/proxy/server/iserver_remote.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #include "proxy/server/iserver_remote.h" 20 | 21 | namespace fastonosql { 22 | namespace proxy { 23 | 24 | IServerRemote::IServerRemote(IDriver* drv) : IServer(drv) { 25 | CHECK(IsCanRemote()); 26 | } 27 | 28 | } // namespace proxy 29 | } // namespace fastonosql 30 | -------------------------------------------------------------------------------- /src/proxy/server/iserver_remote.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2014-2022 FastoGT. All right reserved. 2 | 3 | This file is part of FastoNoSQL. 4 | 5 | FastoNoSQL is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | FastoNoSQL is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with FastoNoSQL. If not, see . 17 | */ 18 | 19 | #pragma once 20 | 21 | #include "proxy/server/iserver.h" 22 | 23 | namespace fastonosql { 24 | namespace proxy { 25 | 26 | class IServerRemote : public IServer { 27 | Q_OBJECT 28 | 29 | public: 30 | virtual common::net::HostAndPort GetHost() const = 0; 31 | virtual core::ServerMode GetMode() const = 0; 32 | virtual core::ServerType GetRole() const = 0; 33 | virtual core::ServerState GetState() const = 0; 34 | IDatabaseSPtr CreateDatabase(core::IDataBaseInfoSPtr info) override = 0; 35 | 36 | protected: 37 | explicit IServerRemote(IDriver* drv); 38 | }; 39 | 40 | } // namespace proxy 41 | } // namespace fastonosql 42 | -------------------------------------------------------------------------------- /src/resources/.gitignore: -------------------------------------------------------------------------------- 1 | gui.qrc 2 | gui.qrc.in~ 3 | branding.qrc 4 | branding.qrc.in~ 5 | -------------------------------------------------------------------------------- /src/resources/fastonosql.qrc.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | @PROJECT_NAME_LOWERCASE@/images/64x64/logo.png 4 | @PROJECT_NAME_LOWERCASE@/images/64x64/redis.png 5 | @PROJECT_NAME_LOWERCASE@/images/64x64/memcached.png 6 | @PROJECT_NAME_LOWERCASE@/images/64x64/ssdb.png 7 | @PROJECT_NAME_LOWERCASE@/images/64x64/leveldb.png 8 | @PROJECT_NAME_LOWERCASE@/images/64x64/rocksdb.png 9 | @PROJECT_NAME_LOWERCASE@/images/64x64/unqlite.png 10 | @PROJECT_NAME_LOWERCASE@/images/64x64/lmdb.png 11 | @PROJECT_NAME_LOWERCASE@/images/64x64/forestdb.png 12 | @PROJECT_NAME_LOWERCASE@/images/64x64/pika.png 13 | @PROJECT_NAME_LOWERCASE@/images/64x64/dynomite.png 14 | @PROJECT_NAME_LOWERCASE@/images/64x64/keydb.png 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/resources/fastonosql/.gitignore: -------------------------------------------------------------------------------- 1 | welcome.html 2 | -------------------------------------------------------------------------------- /src/resources/fastonosql/default.qss: -------------------------------------------------------------------------------- 1 | QMainWindow::separator { border: none; background-color: #C2C7CB; width: 1; height: 1 } 2 | QToolBar { border: none; } 3 | QMainWindow > QToolBar { border-bottom: 1px solid #C2C7CB; } 4 | -------------------------------------------------------------------------------- /src/resources/fastonosql/images/16x16/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/16x16/close.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/16x16/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/16x16/search.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/add.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/array.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/array.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/bloom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/bloom.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/bool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/bool.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/byte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/byte.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/channel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/channel.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/clone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/clone.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/cluster.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/command.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/command.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/connect.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/connect_db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/connect_db.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/database.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/disconnect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/disconnect.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/discovery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/discovery.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/double.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/dynomite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/dynomite.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/edit.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/email.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/encode_decode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/encode_decode.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/error.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/execute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/execute.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/export.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/facebook.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/fail.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/forestdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/forestdb.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/github.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/graph.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/hash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/hash.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/help.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/import.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/import.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/index.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/info.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/instagram.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/integer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/integer.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/interactive_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/interactive_mode.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/json.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/key.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/key_ttl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/key_ttl.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/keydb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/keydb.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/leveldb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/leveldb.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/lmdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/lmdb.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/load.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/load.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/logging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/logging.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/logo.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/memcached.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/memcached.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/module.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/null.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/null.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/open.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/pika.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/pika.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/preferences.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/preferences.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/redis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/redis.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/remove.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/rocksdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/rocksdb.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/save.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/saveas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/saveas.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/sentinel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/sentinel.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/server.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/ssdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/ssdb.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/stop.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/stream.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/string.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/string.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/success.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/table.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/text.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/time.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/tree.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/twitter.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/unknown.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/unqlite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/unqlite.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/youtube.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/64x64/zset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/64x64/zset.png -------------------------------------------------------------------------------- /src/resources/fastonosql/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastonosql/images/loading.gif -------------------------------------------------------------------------------- /src/resources/fastonosql/welcome.in.html: -------------------------------------------------------------------------------- 1 | Need a more powerful NoSQL GUI? Try @PROJECT_NAME@ PRO 2 |
3 |
4 | — Supported 11 databases 5 |
6 | — Enjoy rich command autocompletion 7 |
8 | — Help description and example for all commands 9 |
10 | — Redis clients monitoring, Publish/Subscribe, TTL real-time views 11 |
12 | — Redis Clusters/Sentinels support 13 |
14 | — Redis Amazon ElastiCache, Docker, Azure and RedisLabs clouds 15 |
16 | — Real-time monitoring for all databases 17 |
18 | — Individual builds with secure access to GUI 19 |
20 | — Save and restore database in any time 21 |
22 | — Import and export data in various formats (CSV, JSON) 23 |
24 | — UTF-8 codings, BASE64, HEX, MSGPACK, XML value view formats 25 |
26 | — Data compressions algorithms (LZ4, ZLIB, GZIP, BZIP2, Snappy) 27 |
28 | — And many many other awesome features, please enjoy! 29 |
30 |
31 | PS: We guarantee that we first and best NoSQL GUI in the world! 32 |
33 |
34 | Download @PROJECT_NAME@ PRO 35 | -------------------------------------------------------------------------------- /src/resources/fastonosql/welcome_enterprise.in.html: -------------------------------------------------------------------------------- 1 | @PROJECT_NAME_TITLE@ 2 |
3 |
4 | — Supported 11 databases 5 |
6 | — Enjoy rich command autocompletion 7 |
8 | — Help description and example for all commands 9 |
10 | — Redis clients monitoring, Publish/Subscribe, TTL real-time views 11 |
12 | — Redis Clusters/Sentinels support 13 |
14 | — Redis Amazon ElastiCache, Docker, Azure and RedisLabs clouds 15 |
16 | — Real-time monitoring for all databases 17 |
18 | — Individual builds with secure access to GUI 19 |
20 | — Save and restore database in any time 21 |
22 | — Import and export data in various formats (CSV, JSON) 23 |
24 | — UTF-8 codings, BASE64, HEX, MSGPACK, XML value view formats 25 |
26 | — Data compressions algorithms (LZ4, ZLIB, GZIP, BZIP2, Snappy) 27 |
28 | — And many many other awesome features, please enjoy! 29 |
30 |
31 | PS: We guarantee that we first and best NoSQL GUI in the world! 32 |
33 |
34 | Do you have any questions? 35 | -------------------------------------------------------------------------------- /src/resources/fastonosql/welcome_pro.in.html: -------------------------------------------------------------------------------- 1 | @PROJECT_NAME_TITLE@ 2 |
3 |
4 | — Supported 11 databases 5 |
6 | — Enjoy rich command autocompletion 7 |
8 | — Help description and example for all commands 9 |
10 | — Redis clients monitoring, Publish/Subscribe, TTL real-time views 11 |
12 | — Redis Clusters/Sentinels support 13 |
14 | — Redis Amazon ElastiCache, Docker, Azure and RedisLabs clouds 15 |
16 | — Real-time monitoring for all databases 17 |
18 | — Individual builds with secure access to GUI 19 |
20 | — Save and restore database in any time 21 |
22 | — Import and export data in various formats (CSV, JSON) 23 |
24 | — UTF-8 codings, BASE64, HEX, MSGPACK, XML value view formats 25 |
26 | — Data compressions algorithms (LZ4, ZLIB, GZIP, BZIP2, Snappy) 27 |
28 | — And many many other awesome features, please enjoy! 29 |
30 |
31 | PS: We guarantee that we first and best NoSQL GUI in the world! 32 |
33 |
34 | Ready to talk about @PROJECT_NAME@ ENTERPRISE? 35 | -------------------------------------------------------------------------------- /src/resources/fastoredis.qrc.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | @PROJECT_NAME_LOWERCASE@/images/64x64/logo.png 4 | @PROJECT_NAME_LOWERCASE@/images/64x64/redis.png 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/resources/fastoredis/.gitignore: -------------------------------------------------------------------------------- 1 | welcome.html 2 | -------------------------------------------------------------------------------- /src/resources/fastoredis/default.qss: -------------------------------------------------------------------------------- 1 | QMainWindow::separator { border: none; background-color: #C2C7CB; width: 1; height: 1 } 2 | QToolBar { border: none; } 3 | QMainWindow > QToolBar { border-bottom: 1px solid #C2C7CB; } 4 | -------------------------------------------------------------------------------- /src/resources/fastoredis/images/16x16/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/16x16/close.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/16x16/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/16x16/search.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/add.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/array.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/array.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/bloom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/bloom.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/bool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/bool.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/byte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/byte.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/channel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/channel.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/clone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/clone.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/cluster.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/command.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/command.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/connect.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/connect_db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/connect_db.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/database.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/disconnect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/disconnect.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/discovery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/discovery.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/double.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/edit.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/email.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/encode_decode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/encode_decode.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/error.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/execute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/execute.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/export.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/facebook.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/fail.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/github.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/graph.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/hash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/hash.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/help.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/import.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/import.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/index.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/info.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/instagram.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/integer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/integer.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/interactive_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/interactive_mode.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/json.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/key.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/key_ttl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/key_ttl.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/load.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/load.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/logging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/logging.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/logo.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/module.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/null.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/null.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/open.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/preferences.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/preferences.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/redis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/redis.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/remove.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/save.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/saveas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/saveas.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/sentinel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/sentinel.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/server.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/stop.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/stream.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/string.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/string.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/success.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/table.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/text.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/time.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/tree.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/twitter.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/unknown.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/youtube.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/64x64/zset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/64x64/zset.png -------------------------------------------------------------------------------- /src/resources/fastoredis/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastogt/fastonosql/e814bc9ef2a8288b6c31787f548d7e7203736fe9/src/resources/fastoredis/images/loading.gif -------------------------------------------------------------------------------- /src/resources/fastoredis/welcome.in.html: -------------------------------------------------------------------------------- 1 | Need a more powerful Redis GUI? Try @PROJECT_NAME@ PRO 2 |
3 |
4 | — Supported 11 databases 5 |
6 | — Enjoy rich command autocompletion 7 |
8 | — Help description and example for all commands 9 |
10 | — Clients monitoring, Publish/Subscribe, TTL real-time views 11 |
12 | — Clusters/Sentinels support 13 |
14 | — Amazon ElastiCache, Docker, Azure and RedisLabs clouds 15 |
16 | — Real-time monitoring for all databases 17 |
18 | — Individual builds with secure access to GUI 19 |
20 | — Save and restore database in any time 21 |
22 | — Import and export data in various formats (CSV, JSON) 23 |
24 | — UTF-8 codings, BASE64, HEX, MSGPACK, XML value view formats 25 |
26 | — Data compressions algorithms (LZ4, ZLIB, GZIP, BZIP2, Snappy) 27 |
28 | — And many many other awesome features, please enjoy! 29 |
30 |
31 | PS: We guarantee that we first and best Redis GUI in the world! 32 |
33 |
34 | Download @PROJECT_NAME@ PRO 35 | -------------------------------------------------------------------------------- /src/resources/fastoredis/welcome_enterprise.in.html: -------------------------------------------------------------------------------- 1 | @PROJECT_NAME_TITLE@ 2 |
3 |
4 | — Supported 11 databases 5 |
6 | — Enjoy rich command autocompletion 7 |
8 | — Help description and example for all commands 9 |
10 | — Clients monitoring, Publish/Subscribe, TTL real-time views 11 |
12 | — Clusters/Sentinels support 13 |
14 | — Amazon ElastiCache, Docker, Azure and RedisLabs clouds 15 |
16 | — Real-time monitoring for all databases 17 |
18 | — Individual builds with secure access to GUI 19 |
20 | — Save and restore database in any time 21 |
22 | — Import and export data in various formats (CSV, JSON) 23 |
24 | — UTF-8 codings, BASE64, HEX, MSGPACK, XML value view formats 25 |
26 | — Data compressions algorithms (LZ4, ZLIB, GZIP, BZIP2, Snappy) 27 |
28 | — And many many other awesome features, please enjoy! 29 |
30 |
31 | PS: We guarantee that we first and best Redis GUI in the world! 32 |
33 |
34 | Do you have any questions? 35 | -------------------------------------------------------------------------------- /src/resources/fastoredis/welcome_pro.in.html: -------------------------------------------------------------------------------- 1 | @PROJECT_NAME_TITLE@ 2 |
3 |
4 | — Supported 11 databases 5 |
6 | — Enjoy rich command autocompletion 7 |
8 | — Help description and example for all commands 9 |
10 | — Clients monitoring, Publish/Subscribe, TTL real-time views 11 |
12 | — Clusters/Sentinels support 13 |
14 | — Amazon ElastiCache, Docker, Azure and RedisLabs clouds 15 |
16 | — Real-time monitoring for all databases 17 |
18 | — Individual builds with secure access to GUI 19 |
20 | — Save and restore database in any time 21 |
22 | — Import and export data in various formats (CSV, JSON) 23 |
24 | — UTF-8 codings, BASE64, HEX, MSGPACK, XML value view formats 25 |
26 | — Data compressions algorithms (LZ4, ZLIB, GZIP, BZIP2, Snappy) 27 |
28 | — And many many other awesome features, please enjoy! 29 |
30 |
31 | PS: We guarantee that we first and best Redis GUI in the world! 32 |
33 |
34 | Ready to talk about @PROJECT_NAME@ ENTERPRISE? 35 | -------------------------------------------------------------------------------- /src/third-party/.gitignore: -------------------------------------------------------------------------------- 1 | memcached/src/mem_config.h 2 | libssh2/src/libssh2_config.h 3 | -------------------------------------------------------------------------------- /tests/redis_test_graph.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | 3 | import redis 4 | from redisgraph import Node, Edge, Graph 5 | 6 | 7 | def test(): 8 | r = redis.Redis(host='localhost', port=6379) 9 | 10 | redis_graph = Graph('social', r) 11 | 12 | john = Node(label='person', properties={'name': 'John Doe', 'age': 33, 'gender': 'male', 'status': 'single'}) 13 | redis_graph.add_node(john) 14 | 15 | japan = Node(label='country', properties={'name': 'Japan'}) 16 | redis_graph.add_node(japan) 17 | 18 | edge = Edge(john, 'visited', japan, properties={'purpose': 'pleasure'}) 19 | redis_graph.add_edge(edge) 20 | 21 | redis_graph.commit() 22 | 23 | query = """MATCH (p:person)-[v:visited {purpose:"pleasure"}]->(c:country) 24 | RETURN p.name, p.age, v.purpose, c.name""" 25 | 26 | result = redis_graph.query(query) 27 | 28 | # Print resultset 29 | result.pretty_print() 30 | 31 | # Iterate through resultset, skip header row at position 0 32 | for record in result.result_set[1:]: 33 | person_name = record[0] 34 | person_age = record[1] 35 | visit_purpose = record[2] 36 | country_name = record[3] 37 | 38 | 39 | test() 40 | -------------------------------------------------------------------------------- /tests/redis_test_json.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | 3 | from rejson import Client, Path 4 | 5 | 6 | def test(): 7 | rj = Client(host='localhost', port=6379) 8 | 9 | # Set the key `obj` to some object 10 | obj = { 11 | 'answer': 42, 12 | 'arr': [None, True, 3.14], 13 | 'truth': { 14 | 'coord': 'out there' 15 | } 16 | } 17 | rj.jsonset('obj', Path.rootPath(), obj) 18 | 19 | # Get something 20 | print 'Is there anybody... {}?'.format( 21 | rj.jsonget('obj', Path('.truth.coord')) 22 | ) 23 | 24 | # Delete something (or perhaps nothing), append something and pop it 25 | rj.jsondel('obj', Path('.arr[0]')) 26 | rj.jsonarrappend('obj', Path('.arr'), 'something') 27 | print '{} popped!'.format(rj.jsonarrpop('obj', Path('.arr'))) 28 | 29 | # Update something else 30 | rj.jsonset('obj', Path('.answer'), 2.17) 31 | 32 | # And use just like the regular redis-py client 33 | jp = rj.pipeline() 34 | jp.set('foo', 'bar') 35 | jp.jsonset('baz', Path.rootPath(), 'qaz') 36 | jp.execute() 37 | 38 | 39 | test() 40 | -------------------------------------------------------------------------------- /tests/redis_test_many_keys.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | 3 | import redis 4 | import string 5 | import random 6 | 7 | KEYS_COUNT = 10000 8 | 9 | 10 | def random_string(length): 11 | return ''.join(random.choice(string.ascii_letters) for m in xrange(length)) 12 | 13 | 14 | def test(): 15 | r = redis.StrictRedis(host='localhost', port=6379, db=0) 16 | 17 | for x in range(KEYS_COUNT / 2): 18 | r.set(random_string(random.randint(1, 9)), random_string(random.randint(1, 9))) 19 | 20 | for x in range(KEYS_COUNT / 2): 21 | ns = random_string(random.randint(1, 9)) + ':' + random_string(random.randint(1, 9)) 22 | r.set(ns, random_string(random.randint(1, 9))) 23 | 24 | 25 | test() 26 | -------------------------------------------------------------------------------- /tests/redis_test_search.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | 3 | from redisearch import Client, TextField, Query 4 | 5 | 6 | def test(): 7 | # Creating a client with a given index name 8 | client = Client('myIndex') 9 | 10 | # Creating the index definition and schema 11 | client.drop_index() 12 | client.create_index([TextField('title', weight=5.0), TextField('body')]) 13 | 14 | # Indexing a document 15 | client.add_document('doc1', title='RediSearch', body='Redisearch implements a search engine on top of redis') 16 | 17 | # Simple search 18 | res = client.search("search engine") 19 | 20 | # the result has the total number of results, and a list of documents 21 | print res.total # "1" 22 | print res.docs[0] 23 | 24 | # Searching with snippets 25 | # res = client.search("search engine", snippet_sizes={'body': 50}) 26 | 27 | # Searching with complex parameters: 28 | q = Query("search engine").verbatim().no_content().paging(0, 5) 29 | res = client.search(q) 30 | 31 | 32 | test() 33 | -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- 1 | redis==2.10.5 # rejson 2 | redisearch>=0.7.1 3 | redisgraph>=1.5 4 | rejson>=0.2.1 5 | python-snappy>=0.5.3 6 | lz4>=2.1.1 7 | --------------------------------------------------------------------------------