├── server
├── udf
│ ├── q_UDFLibC.h
│ ├── q_UDFLibC.dll
│ ├── Notes.txt
│ ├── q_UDFLibC.sql
│ └── Makefile
├── compiler
│ ├── update_ref.sh
│ ├── monitor.sh
│ ├── make_all.sh
│ ├── modules
│ │ ├── markdown.js
│ │ ├── async_data_mysql57.sql
│ │ ├── async_data_fb25.sql
│ │ ├── async_data_mssql12.sql
│ │ ├── emoji.js
│ │ ├── hogan_ext.js
│ │ └── widgets
│ │ │ ├── G960_widget.js
│ │ │ └── notify_widget.js
│ └── quicc-gaze.js
├── database
│ ├── db_fb25.js
│ ├── db_mssql12.js
│ ├── db_mysql57.js
│ ├── db_nuosql32.js
│ ├── db_odsql11.js
│ ├── db_common.js
│ ├── z_Insertref.sql
│ ├── z_pkcache.sql
│ ├── isql-access.sh
│ └── db_ms_sql_gen.js
├── middleware
│ └── example.js
└── IDE
│ └── json_tree.js
├── install
├── install_script.sh
├── crontab-e.md
├── make_app.sh
├── make_udf.sh
├── clean.sh
├── debug_web.sh
├── quick-isql.sql
├── tests
│ ├── database
│ │ └── fakerun.sql
│ └── tests.md
├── quick-isql.sh
├── patch.sh
├── winstart-develop.bat
├── post_script.sh
└── Patches
│ ├── ss-hogan
│ ├── engine.js
│ └── new_engine.js
│ └── socketstream
│ └── new_http.js
├── client
├── views
│ └── empty_folder.html
├── templates
│ ├── Widgets
│ │ ├── PickFieldEditSeperator.html
│ │ ├── RadioFieldEditSeperator.html
│ │ ├── RadioFieldEdit.html
│ │ ├── RadioFieldEditUnChecked.html
│ │ ├── PickFieldEditUnChecked.html
│ │ ├── PickFieldEdit.html
│ │ └── Uploader.html
│ └── chat
│ │ └── message.html
├── static
│ ├── others
│ │ ├── zx
│ │ │ ├── This folder is for web accesable js files
│ │ │ └── zxCalendar.js
│ │ └── qqui1
│ │ │ ├── CSSTree
│ │ │ ├── node.png
│ │ │ ├── vline.png
│ │ │ ├── lastnode.png
│ │ │ ├── README
│ │ │ ├── CSSTree.css
│ │ │ └── CSSTree.html
│ │ │ ├── emoji
│ │ │ └── emoji.png
│ │ │ ├── DataTables
│ │ │ ├── media
│ │ │ │ └── images
│ │ │ │ │ ├── favicon.ico
│ │ │ │ │ ├── sort_asc.png
│ │ │ │ │ ├── sort_both.png
│ │ │ │ │ ├── sort_desc.png
│ │ │ │ │ ├── Sorting icons.psd
│ │ │ │ │ ├── back_disabled.png
│ │ │ │ │ ├── back_enabled.png
│ │ │ │ │ ├── forward_disabled.png
│ │ │ │ │ ├── forward_enabled.png
│ │ │ │ │ ├── back_enabled_hover.png
│ │ │ │ │ ├── sort_asc_disabled.png
│ │ │ │ │ ├── sort_desc_disabled.png
│ │ │ │ │ └── forward_enabled_hover.png
│ │ │ ├── license.txt
│ │ │ └── Readme.md
│ │ │ ├── jquery
│ │ │ └── images
│ │ │ │ ├── ui-icons_222222_256x240.png
│ │ │ │ ├── ui-icons_2e83ff_256x240.png
│ │ │ │ ├── ui-icons_454545_256x240.png
│ │ │ │ ├── ui-icons_888888_256x240.png
│ │ │ │ ├── ui-icons_cd0a0a_256x240.png
│ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png
│ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png
│ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png
│ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png
│ │ │ ├── uniform
│ │ │ ├── themes
│ │ │ │ └── default
│ │ │ │ │ └── images
│ │ │ │ │ ├── bg-input.png
│ │ │ │ │ ├── sprite.png
│ │ │ │ │ └── bg-input-focus.png
│ │ │ └── .gitignore
│ │ │ ├── timepicker
│ │ │ ├── jquery-ui-timepicker-addon.css
│ │ │ └── jquery-ui-sliderAccess.js
│ │ │ └── gallery
│ │ │ └── gallery.css
│ ├── favicon.ico
│ ├── favicon.xcf
│ ├── Hamburger.ico
│ ├── Hamburger.png
│ └── images
│ │ ├── Hamburger.png
│ │ ├── qqui1
│ │ ├── add.png
│ │ ├── go.png
│ │ ├── off.png
│ │ ├── on.png
│ │ ├── ql.png
│ │ ├── x.png
│ │ ├── alert.png
│ │ ├── check.png
│ │ ├── cloud.png
│ │ ├── dvsup.png
│ │ ├── home.png
│ │ ├── arrow-r.png
│ │ ├── arrow-se.png
│ │ ├── bg-btn.png
│ │ ├── bg-input.png
│ │ ├── bubble.png
│ │ ├── coffee.png
│ │ ├── document.png
│ │ ├── eq-range.png
│ │ ├── face-a.png
│ │ ├── face-b.png
│ │ ├── face-c.png
│ │ ├── face-d.png
│ │ ├── face-off.png
│ │ ├── graphy.png
│ │ ├── gridme.png
│ │ ├── h-icon.png
│ │ ├── itoggle.png
│ │ ├── medal-on.png
│ │ ├── n-count.png
│ │ ├── outlets.png
│ │ ├── select.png
│ │ ├── select2.png
│ │ ├── shadow.png
│ │ ├── slider.png
│ │ ├── sort_asc.png
│ │ ├── sprite.png
│ │ ├── star-off.png
│ │ ├── star-on.png
│ │ ├── toolbar.png
│ │ ├── bar-sprite.png
│ │ ├── bgnoise_lg.png
│ │ ├── cancel-off.png
│ │ ├── cancel-on.png
│ │ ├── closelabel.png
│ │ ├── custom_hex.png
│ │ ├── face-a-off.png
│ │ ├── face-b-off.png
│ │ ├── face-c-off.png
│ │ ├── face-d-off.png
│ │ ├── input-boxt.png
│ │ ├── list-icons.png
│ │ ├── medal-off.png
│ │ ├── search-box.png
│ │ ├── sort_both.png
│ │ ├── sort_desc.png
│ │ ├── star-half.png
│ │ ├── user-thumb.png
│ │ ├── action-sprite.png
│ │ ├── addressbook.png
│ │ ├── alert-lines.png
│ │ ├── arrows-ffffff.png
│ │ ├── back_disabled.png
│ │ ├── back_enabled.png
│ │ ├── cancel-on-big.png
│ │ ├── chosen-sprite.png
│ │ ├── classy_fabric.png
│ │ ├── custom_hsb_b.png
│ │ ├── custom_hsb_h.png
│ │ ├── custom_hsb_s.png
│ │ ├── custom_rgb_b.png
│ │ ├── custom_rgb_g.png
│ │ ├── custom_rgb_r.png
│ │ ├── custom_submit.png
│ │ ├── dark-pattern.jpg
│ │ ├── dark_dotted.png
│ │ ├── dark_matter.png
│ │ ├── element-back.png
│ │ ├── fabric_plaid.png
│ │ ├── handle-sprite.png
│ │ ├── icons-black.png
│ │ ├── icons-small.png
│ │ ├── notify-icons.png
│ │ ├── p-action-icon.png
│ │ ├── pattern-cross.png
│ │ ├── pineapplecut.png
│ │ ├── range-back-l.png
│ │ ├── slider-handle.png
│ │ ├── slider_center.png
│ │ ├── slider_left.png
│ │ ├── slider_right.png
│ │ ├── star-half-big.png
│ │ ├── star-off-big.png
│ │ ├── star-on-big.png
│ │ ├── toggle-sprite.png
│ │ ├── user-thumb1.png
│ │ ├── ChevronOverlay.png
│ │ ├── bg-input-focus.png
│ │ ├── cancel-off-big.png
│ │ ├── colorpicker_hex.png
│ │ ├── forward_enabled.png
│ │ ├── search-text-box.png
│ │ ├── slider-ui-back.png
│ │ ├── subtle_zebra_3d.png
│ │ ├── checkered_pattern.png
│ │ ├── colorpicker_hsb_b.png
│ │ ├── colorpicker_hsb_h.png
│ │ ├── colorpicker_hsb_s.png
│ │ ├── colorpicker_rgb_b.png
│ │ ├── colorpicker_rgb_g.png
│ │ ├── colorpicker_rgb_r.png
│ │ ├── colorpicker_submit.png
│ │ ├── custom_background.png
│ │ ├── forward_disabled.png
│ │ ├── right-panel-back.png
│ │ ├── sort_asc_disabled.png
│ │ ├── sort_desc_disabled.png
│ │ ├── colorpicker_overlay.png
│ │ ├── notifiication-sprite.png
│ │ ├── colorpicker_background.png
│ │ └── zx-main-icon-sprite-V100.png
│ │ ├── Hamburger.jpeg
│ │ ├── HamburgerBold.png
│ │ ├── Green_strawberry Icon.jpeg
│ │ ├── Green_strawberryIconAlpha.ico
│ │ ├── Green_strawberryIconAlpha.jpeg
│ │ └── Green_strawberryIconAlpha.png
├── code
│ └── app
│ │ ├── entry.js
│ │ └── plugins.js
└── source
│ └── plugins.js
├── dev_server.sh
├── bin
├── sql-mvc
├── sql-mvc.js
└── clean.sh
├── doc
├── win
│ └── win-run-as-admin.png
├── Compiler
│ └── Debugging.md
├── Tutorial_Config_Options.md
├── index.md
├── Tutorial_Facebook_login.md
├── Tutorials.md
├── Debugging.md
├── BaseSystem
│ └── User Preferences.md
├── Tutorial_Record_Context_Scripts.md
├── Tutorial_SQL_Extensions.md
├── Getting_Started.md
├── Tutorial_making_field_elements.md
├── Theory
│ ├── Javascript_is_not_fit_for_writing_web_applications.md
│ ├── Origin.md
│ ├── Compare_with_other_platforms.md
│ ├── Is it possible for a paradigm shift to change the face of app programming forever.md
│ └── About_Lafras.md
├── Tutorial_User_management.md
├── Caveats.md
├── Source
│ └── General.md
├── Tutorial_Saving_Updates.md
├── Install-windows.md
├── Tutorial_units_of_measure.md
├── syntax.md
├── Tutorial_Aggregate_classes.md
├── Tutorial_validation_hardening.md
├── npm_Installable_modules.md
├── Install-linux.md
├── DBspecific
│ └── MySQL Guide.md
├── Todo
│ └── TodoOverview.md
├── Elements.md
└── Install-git.md
├── Quale
├── Standard
│ └── Home
│ │ ├── Guest
│ │ ├── MainMenu
│ │ │ ├── 02_Demos.quicc
│ │ │ ├── 05_Documentation
│ │ │ │ ├── 10_Introduction.quicc
│ │ │ │ ├── 20_Tutorials.quicc
│ │ │ │ └── 30_Getting_Started.quicc
│ │ │ └── 02_Demos
│ │ │ │ ├── 09_enter_todo_mvc.quicc
│ │ │ │ ├── 10_todo_mvc.quicc
│ │ │ │ └── 20_gallery_view.quicc
│ │ ├── Todo
│ │ │ ├── PerSessionEdit.quicc
│ │ │ └── PerSessionToDo.quicc
│ │ ├── Views
│ │ │ ├── PerSessionToDo.quicc
│ │ │ └── ShowPeers.quicc
│ │ ├── Dashboard
│ │ │ ├── Dashboard.quicc
│ │ │ └── Dashboard-Include.quicc
│ │ ├── Models
│ │ │ ├── TodoModel.quicc
│ │ │ └── gallery_Model.quicc
│ │ ├── LayoutOpen.quicc
│ │ ├── Menu
│ │ │ ├── SwitchBar.quicc
│ │ │ └── SlideBar.quicc
│ │ ├── Index.quicc
│ │ └── Controllers
│ │ │ └── TodoController.quicc
│ │ ├── Operator
│ │ ├── Inbox.quicc
│ │ ├── Preferences.quicc
│ │ └── Switch.quicc
│ │ ├── Layout
│ │ ├── TopBar.quicc
│ │ ├── TopBarGuest.quicc
│ │ ├── Notify.quicc
│ │ ├── TopLeft.quicc
│ │ ├── ProfileMenuGuest.quicc
│ │ └── ProfileMenu.quicc
│ │ ├── LayoutClose.quicc
│ │ ├── SysAdmin
│ │ ├── Index.quicc
│ │ └── MainMenu
│ │ │ └── 03_Users
│ │ │ └── 09_Manage.quicc
│ │ ├── SelfServe
│ │ ├── Switch.quicc
│ │ ├── ForgotPassword_step3.quicc
│ │ ├── Index.quicc
│ │ ├── ForgotPassword.quicc
│ │ ├── RegisterNewUser.quicc
│ │ ├── ForgotPassword_step2.quicc
│ │ ├── RegisterNewUser_step2.quicc
│ │ └── RegisterNewUser_step3.quicc
│ │ ├── Users
│ │ └── Edit_Users.quicc
│ │ ├── LayoutOpen.quicc
│ │ └── User
│ │ └── Index.quicc
├── Lib
│ └── Models
│ │ ├── replicator_model.quicc
│ │ └── extras_model.quicc
└── Database
│ ├── fb25
│ └── Models
│ │ └── extras_model.quicc
│ └── mssql12
│ └── Models
│ └── extras_model.quicc
├── index.js
├── .gitignore
├── lib
├── cli
│ └── index.js
└── sql-mvc.js
└── package.json
/server/udf/q_UDFLibC.h:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/install/install_script.sh:
--------------------------------------------------------------------------------
1 | #empty
--------------------------------------------------------------------------------
/client/views/empty_folder.html:
--------------------------------------------------------------------------------
1 | empty_folder
--------------------------------------------------------------------------------
/client/templates/Widgets/PickFieldEditSeperator.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/client/templates/Widgets/RadioFieldEditSeperator.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dev_server.sh:
--------------------------------------------------------------------------------
1 | cd -P .
2 | pwd
3 | nodejs app.js -p 3000
4 |
--------------------------------------------------------------------------------
/client/static/others/zx/This folder is for web accesable js files:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bin/sql-mvc:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | node --es_staging sql-mvc.js "$@"
3 |
4 |
--------------------------------------------------------------------------------
/install/crontab-e.md:
--------------------------------------------------------------------------------
1 | #add this to crontab -e
2 | @reboot /bin/bash /root/sql-mvc/run_web.sh
3 |
--------------------------------------------------------------------------------
/server/udf/q_UDFLibC.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/server/udf/q_UDFLibC.dll
--------------------------------------------------------------------------------
/client/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/favicon.ico
--------------------------------------------------------------------------------
/client/static/favicon.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/favicon.xcf
--------------------------------------------------------------------------------
/client/static/Hamburger.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/Hamburger.ico
--------------------------------------------------------------------------------
/client/static/Hamburger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/Hamburger.png
--------------------------------------------------------------------------------
/doc/win/win-run-as-admin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/doc/win/win-run-as-admin.png
--------------------------------------------------------------------------------
/client/static/images/Hamburger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/Hamburger.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/add.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/go.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/go.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/on.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/ql.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/ql.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/x.png
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/MainMenu/02_Demos.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 | <#dropinmenu (icon:"nav-icon chart-icon",title:"Demo pages")>
4 |
--------------------------------------------------------------------------------
/client/static/images/Hamburger.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/Hamburger.jpeg
--------------------------------------------------------------------------------
/client/static/images/qqui1/alert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/alert.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/check.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/cloud.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/dvsup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/dvsup.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/home.png
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/MainMenu/05_Documentation/10_Introduction.quicc:
--------------------------------------------------------------------------------
1 | <#include(type="md" file="./README.md") #>
2 |
3 |
4 |
--------------------------------------------------------------------------------
/client/static/images/HamburgerBold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/HamburgerBold.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/arrow-r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/arrow-r.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/arrow-se.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/arrow-se.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/bg-btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/bg-btn.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/bg-input.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/bg-input.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/bubble.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/bubble.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/coffee.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/coffee.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/document.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/document.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/eq-range.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/eq-range.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-a.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-b.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-c.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-d.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/graphy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/graphy.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/gridme.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/gridme.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/h-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/h-icon.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/itoggle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/itoggle.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/medal-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/medal-on.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/n-count.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/n-count.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/outlets.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/outlets.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/select.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/select2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/select2.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/shadow.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/slider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/slider.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/sort_asc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/sort_asc.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/sprite.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/star-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/star-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/star-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/star-on.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/toolbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/toolbar.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/bar-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/bar-sprite.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/bgnoise_lg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/bgnoise_lg.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/cancel-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/cancel-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/cancel-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/cancel-on.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/closelabel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/closelabel.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_hex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_hex.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-a-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-a-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-b-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-b-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-c-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-c-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/face-d-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/face-d-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/input-boxt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/input-boxt.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/list-icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/list-icons.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/medal-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/medal-off.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/search-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/search-box.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/sort_both.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/sort_both.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/sort_desc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/sort_desc.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/star-half.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/star-half.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/user-thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/user-thumb.png
--------------------------------------------------------------------------------
/install/make_app.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | mkdir /var/log/sql-mvc/ -p
3 | cd ../server/compiler/
4 | mkdir ./output/ -p
5 | bash make_all.sh
6 |
--------------------------------------------------------------------------------
/client/static/images/qqui1/action-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/action-sprite.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/addressbook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/addressbook.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/alert-lines.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/alert-lines.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/arrows-ffffff.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/arrows-ffffff.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/back_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/back_disabled.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/back_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/back_enabled.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/cancel-on-big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/cancel-on-big.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/chosen-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/chosen-sprite.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/classy_fabric.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/classy_fabric.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_hsb_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_hsb_b.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_hsb_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_hsb_h.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_hsb_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_hsb_s.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_rgb_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_rgb_b.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_rgb_g.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_rgb_g.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_rgb_r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_rgb_r.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_submit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_submit.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/dark-pattern.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/dark-pattern.jpg
--------------------------------------------------------------------------------
/client/static/images/qqui1/dark_dotted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/dark_dotted.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/dark_matter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/dark_matter.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/element-back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/element-back.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/fabric_plaid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/fabric_plaid.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/handle-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/handle-sprite.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/icons-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/icons-black.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/icons-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/icons-small.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/notify-icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/notify-icons.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/p-action-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/p-action-icon.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/pattern-cross.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/pattern-cross.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/pineapplecut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/pineapplecut.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/range-back-l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/range-back-l.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/slider-handle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/slider-handle.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/slider_center.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/slider_center.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/slider_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/slider_left.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/slider_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/slider_right.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/star-half-big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/star-half-big.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/star-off-big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/star-off-big.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/star-on-big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/star-on-big.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/toggle-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/toggle-sprite.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/user-thumb1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/user-thumb1.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/CSSTree/node.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/CSSTree/node.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/CSSTree/vline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/CSSTree/vline.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/emoji/emoji.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/emoji/emoji.png
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | // Initial entry point. Decides which directory of code to load
2 |
3 | // Load core
4 | module.exports = require('./lib/sql-mvc.js');
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/MainMenu/05_Documentation/20_Tutorials.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 | <#include(type="md" file="./doc/Tutorials.md") #>
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/MainMenu/05_Documentation/30_Getting_Started.quicc:
--------------------------------------------------------------------------------
1 | <#include(type="md" file="./doc/Getting_Started.md") #>
2 |
3 |
4 |
--------------------------------------------------------------------------------
/client/static/images/qqui1/ChevronOverlay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/ChevronOverlay.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/bg-input-focus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/bg-input-focus.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/cancel-off-big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/cancel-off-big.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_hex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_hex.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/forward_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/forward_enabled.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/search-text-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/search-text-box.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/slider-ui-back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/slider-ui-back.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/subtle_zebra_3d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/subtle_zebra_3d.png
--------------------------------------------------------------------------------
/client/static/images/Green_strawberry Icon.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/Green_strawberry Icon.jpeg
--------------------------------------------------------------------------------
/client/static/images/qqui1/checkered_pattern.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/checkered_pattern.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_hsb_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_hsb_b.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_hsb_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_hsb_h.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_hsb_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_hsb_s.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_rgb_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_rgb_b.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_rgb_g.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_rgb_g.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_rgb_r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_rgb_r.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_submit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_submit.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/custom_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/custom_background.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/forward_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/forward_disabled.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/right-panel-back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/right-panel-back.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/sort_asc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/sort_asc_disabled.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/sort_desc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/sort_desc_disabled.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/CSSTree/lastnode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/CSSTree/lastnode.png
--------------------------------------------------------------------------------
/client/templates/chat/message.html:
--------------------------------------------------------------------------------
1 |
2 | At {{time}} Sent:
3 | {{message}}
4 |
5 |
--------------------------------------------------------------------------------
/install/make_udf.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cd ../server/udf
3 | make clean
4 | make
5 | #sudo cp ../server/udf/q_UDFLibC /opt/firebird/UDF/q_UDFLibC.so
6 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Operator/Inbox.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Divout , DivoutName:content)#>
2 |
3 |
4 |
5 | #TO Follow... soon
6 |
7 |
--------------------------------------------------------------------------------
/client/static/images/Green_strawberryIconAlpha.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/Green_strawberryIconAlpha.ico
--------------------------------------------------------------------------------
/client/static/images/Green_strawberryIconAlpha.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/Green_strawberryIconAlpha.jpeg
--------------------------------------------------------------------------------
/client/static/images/Green_strawberryIconAlpha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/Green_strawberryIconAlpha.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_overlay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_overlay.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/notifiication-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/notifiication-sprite.png
--------------------------------------------------------------------------------
/Quale/Standard/Home/Operator/Preferences.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Divout , DivoutName:content)#>
2 |
3 |
4 |
5 | #TO Follow... soon
6 |
7 |
--------------------------------------------------------------------------------
/client/static/images/qqui1/colorpicker_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/colorpicker_background.png
--------------------------------------------------------------------------------
/client/static/images/qqui1/zx-main-icon-sprite-V100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/images/qqui1/zx-main-icon-sprite-V100.png
--------------------------------------------------------------------------------
/install/clean.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | rm -r ../client/templates/Home
3 | rm -r ../server/compiler/output
4 | rm -r /var/log/sql-mvc
5 | cd ../server/udf
6 | make clean
7 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Layout/TopBar.quicc:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/MainMenu/02_Demos/09_enter_todo_mvc.quicc:
--------------------------------------------------------------------------------
1 |
2 | <#view
3 | dropinmenu (title:"More Todo")
4 |
5 | #>
6 |
7 | <#include(file="/Home/Guest/Index") #>
8 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/CSSTree/README:
--------------------------------------------------------------------------------
1 | Following a tutorial [1] to create a tree in HTML using pure CSS.
2 |
3 | [1] http://odyniec.net/articles/turning-lists-into-trees/
4 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Layout/TopBarGuest.quicc:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/favicon.ico
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/sort_asc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/sort_asc.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/sort_both.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/sort_both.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/sort_desc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/sort_desc.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/Sorting icons.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/Sorting icons.psd
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/back_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/back_disabled.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/back_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/back_enabled.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-icons_2e83ff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-icons_2e83ff_256x240.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-icons_454545_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-icons_454545_256x240.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-icons_888888_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-icons_888888_256x240.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-icons_cd0a0a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-icons_cd0a0a_256x240.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/uniform/themes/default/images/bg-input.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/uniform/themes/default/images/bg-input.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/uniform/themes/default/images/sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/uniform/themes/default/images/sprite.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/forward_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/forward_disabled.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/forward_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/forward_enabled.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png
--------------------------------------------------------------------------------
/Quale/Standard/Home/LayoutClose.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/back_enabled_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/back_enabled_hover.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/sort_asc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/sort_asc_disabled.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/sort_desc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/sort_desc_disabled.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_flat_75_ffffff_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_flat_75_ffffff_40x100.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_glass_65_ffffff_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_glass_65_ffffff_1x400.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_glass_75_dadada_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_glass_75_dadada_1x400.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_glass_95_fef1ec_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_glass_95_fef1ec_1x400.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/media/images/forward_enabled_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/DataTables/media/images/forward_enabled_hover.png
--------------------------------------------------------------------------------
/client/static/others/qqui1/uniform/themes/default/images/bg-input-focus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/uniform/themes/default/images/bg-input-focus.png
--------------------------------------------------------------------------------
/install/debug_web.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #not working yet
3 | cd ..
4 | cd -P .
5 | pwd
6 | #sudo socat TCP-LISTEN:3004,reuseaddr,fork,su=nobody TCP:127.0.0.1:3002 &
7 | node-debug -p 3012 app.js -p 3000
8 |
9 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/SysAdmin/Index.quicc:
--------------------------------------------------------------------------------
1 | <#
2 |
3 | notify(style=Heading)
4 | SysAdmin
5 |
6 |
7 | #>
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quale-quest/sql-mvc/HEAD/client/static/others/qqui1/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png
--------------------------------------------------------------------------------
/install/quick-isql.sql:
--------------------------------------------------------------------------------
1 | show tables;
2 | select PK,TStamp,octet_length(coalesce(code,'1')),trim(FILE_NAME) from Z$SP;
3 | SELECT info,RES FROM Z$RUN ('10:18:48.968','',1000,0,'','','u08USER8002p041257w00x00');
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | dump.rdb
4 | npm-debug.log
5 | tmp
6 | Deprecate
7 |
8 | /database
9 | client/templates/Home
10 | server/compiler/output
11 |
12 | /output
13 | syntaxhighlighter_3.0.83
14 | /package-lock.json
15 |
--------------------------------------------------------------------------------
/client/templates/Widgets/RadioFieldEdit.html:
--------------------------------------------------------------------------------
1 | {{ItemTxt}}
--------------------------------------------------------------------------------
/client/templates/Widgets/RadioFieldEditUnChecked.html:
--------------------------------------------------------------------------------
1 | {{ItemTxt}}
--------------------------------------------------------------------------------
/server/compiler/update_ref.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | #Copies the output as a reference for future comparisons
4 |
5 | cp output/Home/Guest/Index.sql ../Index.sql
6 | cp output/Home/User/Index.sql ../UserIndex.sql
7 | cp output/Home/Guest/Dashboard/Dashboard.sql ../Dashboard.sql
8 |
9 |
--------------------------------------------------------------------------------
/client/templates/Widgets/PickFieldEditUnChecked.html:
--------------------------------------------------------------------------------
1 | {{ItemTxt}}
--------------------------------------------------------------------------------
/Quale/Standard/Home/Operator/Switch.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Divout , DivoutName:logout)#>
2 |
3 | <#script()
4 |
5 | logout()
6 |
7 | notify(style=Heading)
8 | Switching user
9 |
10 |
11 | #>
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/SelfServe/Switch.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Divout , DivoutName:logout)#>
2 |
3 | <#script()
4 |
5 | logout()
6 |
7 | notify(style=Heading)
8 | Switching user
9 |
10 |
11 | #>
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/client/templates/Widgets/PickFieldEdit.html:
--------------------------------------------------------------------------------
1 | {{ItemTxt}}
3 |
4 |
5 |
--------------------------------------------------------------------------------
/server/compiler/monitor.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | loops on check.sh
3 | #
4 |
5 | # The interval in seconds between each check on monitored files.
6 | INTERVAL_SECONDS=1
7 |
8 | DIR="$( cd "$( dirname "$0" )" && pwd)"
9 | pushd ${DIR}
10 |
11 | while [[ true ]] ; do
12 | bash ./check.sh
13 | sleep ${INTERVAL_SECONDS}
14 | done
15 |
16 | #eof
--------------------------------------------------------------------------------
/doc/Compiler/Debugging.md:
--------------------------------------------------------------------------------
1 | #Debugging
2 |
3 | Some notes on how the compiler is structured and how to expand
4 |
5 |
6 |
7 | ##Directory
8 |
9 |
10 | ##Plugins
11 |
12 | ##Multi pass
13 |
14 | ##Compiler debugging
15 |
16 | output with @nnn such as @413 refers to where a value is set. Grep for the @413 to find the location.
17 |
18 | end
--------------------------------------------------------------------------------
/install/tests/database/fakerun.sql:
--------------------------------------------------------------------------------
1 |
2 |
3 | connect '127.0.0.1:guest.fdb' user 'SYSDBA' password 'pickfb25';
4 |
5 | show tables;
6 |
7 | select PK,TStamp,octet_length(coalesce(code,'1')),trim(FILE_NAME) from FIELD_SQL;
8 |
9 |
10 |
11 | SELECT info,RES FROM Z_RUN ('10:18:48.968','',1000,0,'','','u08USER8002p041257w00x00');
12 |
13 |
14 |
--------------------------------------------------------------------------------
/server/database/db_fb25.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | //will / should be split into one per database
3 |
4 | var db = require("../../server/database/DatabasePool");
5 | var fs = require('fs');
6 | //var Sync = require('sync');
7 | var deasync = require('deasync');
8 | var deasync_const=5;
9 |
10 | var connection = {};
11 | var deepcopy = require('deepcopy');
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/database/db_mssql12.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | //will / should be split into one per database
3 |
4 | var db = require("../../server/database/DatabasePool");
5 | var fs = require('fs');
6 | //var Sync = require('sync');
7 | var deasync = require('deasync');
8 | var deasync_const=5;
9 |
10 | var connection = {};
11 | var deepcopy = require('deepcopy');
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/database/db_mysql57.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | //will / should be split into one per database
3 |
4 | var db = require("../../server/database/DatabasePool");
5 | var fs = require('fs');
6 | //var Sync = require('sync');
7 | var deasync = require('deasync');
8 | var deasync_const=5;
9 |
10 | var connection = {};
11 | var deepcopy = require('deepcopy');
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/database/db_nuosql32.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | //will / should be split into one per database
3 |
4 | var db = require("../../server/database/DatabasePool");
5 | var fs = require('fs');
6 | //var Sync = require('sync');
7 | var deasync = require('deasync');
8 | var deasync_const=5;
9 |
10 | var connection = {};
11 | var deepcopy = require('deepcopy');
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/database/db_odsql11.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | //will / should be split into one per database
3 |
4 | var db = require("../../server/database/DatabasePool");
5 | var fs = require('fs');
6 | //var Sync = require('sync');
7 | var deasync = require('deasync');
8 | var deasync_const=5;
9 |
10 | var connection = {};
11 | var deepcopy = require('deepcopy');
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/middleware/example.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Example request middleware
3 |
4 | // Only let a request through if the session has been authenticated
5 | exports.authenticated = function () {
6 | return function (req, res, next) {
7 | if (req.session && (req.session.userId !== null)) {
8 | return next();
9 | } else {
10 | return res(false);
11 | }
12 | };
13 | };
14 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/SelfServe/ForgotPassword_step3.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Plain , DivoutName:maincontainer)#>
2 | <#view
3 | master(user_table_name)
4 | notify(style=Heading) Your Login Details Has been Emailed.
5 |
6 | button(glymph:"bended-arrow-right-b" from=user_table_name where="INVITED_BY=session.id" form=Switch title:"Login now")
7 |
8 | #>
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/server/compiler/make_all.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # The absolute path of the directory containing this script.
5 | DIR="$( cd "$( dirname "$0" )" && pwd -P)"
6 | # Where is the top level project directory relative to this script?
7 |
8 | PROJECT_DIR="${DIR}/../.."
9 |
10 | #signal rebuild to restart and call the compiler's monitor
11 | rm $PROJECT_DIR/built_complete 2> /dev/null
12 | bash check.sh
13 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Todo/PerSessionEdit.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Popup , DivoutName:basicmodaldialog)#>
2 | <#view
3 | master(TODO_MVC)
4 |
5 | form()
6 | Select --:{Title:"Edit record",from:"TODO_MVC"}
7 | STATUS, --:{Action=Edit}
8 | NAME, --:{Action=Edit}
9 | OWNER, --:{Type:"Hide"}
10 | REF --:{Type:"Hide"}
11 | From TODO_MVC
12 | where (ref=master.ref)
13 |
14 | #>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/doc/Tutorial_Config_Options.md:
--------------------------------------------------------------------------------
1 | # Config Options
2 |
3 | **"login_first":true** : this instruct the home page to show a login page first,
4 | if this is off it will login automatically as guest.
5 |
6 |
7 | **"dont_reload":true** : This instructs the app to go back to the first page (login) when F5 is pressed,
8 | without this the app will attempt to reload the app to the current view of the user.
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/SelfServe/Index.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Plain , DivoutName:maincontainer)#>
2 | <#master(user_table_name)#>
3 |
4 | <#button(glymph:"bended-arrow-right-b" from=user_table_name where="INVITED_BY=session.id" form=RegisterNewUser title:"RegisterNewUser") #>
5 | <#button(glymph:"bended-arrow-right-b" from=user_table_name where="INVITED_BY=session.id" form=ForgotPassword title:"ForgotPassword") #>
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/server/database/db_common.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | //This is the common driver code file
3 | // For code that is better as a single block with limited dialect switches and variables
4 |
5 |
6 | var db = require("../../server/database/DatabasePool");
7 | var fs = require('fs');
8 | //var Sync = require('sync');
9 | var deasync = require('deasync');
10 | var deasync_const=5;
11 |
12 | var connection = {};
13 | var deepcopy = require('deepcopy');
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/server/database/z_Insertref.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE Z$INSERTREF
2 | (
3 | NON_MATCH VARCHAR(20),
4 | INSERT_REF VARCHAR(20)
5 | );
6 | GRANT DELETE, INSERT, REFERENCES, SELECT, UPDATE
7 | ON Z$INSERTREF TO SYSDBA WITH GRANT OPTION;
8 |
9 | INSERT INTO Z$INSERTREF (NON_MATCH, INSERT_REF) VALUES ('NON_MATCH_1', '1');
10 | INSERT INTO Z$INSERTREF (NON_MATCH, INSERT_REF) VALUES ('NON_MATCH_2', '2');
11 | INSERT INTO Z$INSERTREF (NON_MATCH, INSERT_REF) VALUES ('NON_MATCH_3', '3');
12 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Todo/PerSessionToDo.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Divout , DivoutName:detaildiv)#>
2 |
3 | <#view
4 |
5 |
6 |
7 | master(TODO_MVC)
8 |
9 |
10 | table(pagination:20)
11 | Select --:{Title:"Edit records",from:"TODO_MVC",tablestyle:"DT"}
12 | REF , --:{Type:"Hide"}
13 | STATUS, --:{}
14 | NAME, --:{as:popup,form:"Todo/PerSessionEdit"}
15 | OWNER --:{Type:"Hide"}
16 | From TODO_MVC
17 | where (owner=master.owner)
18 |
19 | dialect()
20 | #>
21 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Views/PerSessionToDo.quicc:
--------------------------------------------------------------------------------
1 |
2 | <#view
3 | master(TODO_MVC)
4 |
5 | html
6 | print Other To-do items in the same session(master.owner)
7 | html
8 |
9 | table()
10 | Select --:{Title:"Make new records",from:"TODO_MVC",tablestyle:"DT"}
11 | STATUS, --:{}
12 | NAME, --:{}
13 | OWNER, --:{Type:"Hide"}
14 | REF --:{}
15 | From TODO_MVC
16 | where (owner=master.owner)
17 |
18 | use(todo.source_files)
19 | #>
20 |
21 |
--------------------------------------------------------------------------------
/install/quick-isql.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | source /etc/firebird/2.5/SYSDBA.password
3 | export ISC_USER=$ISC_USER
4 | export ISC_PASSWORD=$ISC_PASSWORD
5 | var=`node -pe "JSON.parse(require('fs').readFileSync('../Quale/Config/config.json').toString()).db.database"`
6 | server=`node -pe "JSON.parse(require('fs').readFileSync('../Quale/Config/config.json').toString()).db.server"`
7 |
8 |
9 | echo db: $var
10 | echo press crtl-d to exit, or help;
11 | isql-fb "$server:$var" -i quick-isql.sql
12 |
13 |
--------------------------------------------------------------------------------
/doc/index.md:
--------------------------------------------------------------------------------
1 | # SQL-MVC Documentation Index:
2 |
3 | ##Introduction at :
4 | [Github - Install.md](https://github.com/quale-quest/sql-mvc/blob/master/README.md)
5 |
6 | ##Tutorials at :
7 | [Github - Install.md](https://github.com/quale-quest/sql-mvc/blob/master/doc/Tutorials.md)
8 |
9 | ##Install instructions at :
10 | [Github - Install.md](https://github.com/quale-quest/sql-mvc/blob/master/Install.md)
11 |
12 | ##Programmers Manual at :
13 | [Github - wiki](https://github.com/quale-quest/sql-mvc/wiki)
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Dashboard/Dashboard.quicc:
--------------------------------------------------------------------------------
1 | <#
2 | Container(style=Center)
3 | notify(style=Heading) Info
4 |
5 | print() you were here last at here.this_page_info
6 | script() set here.this_page_info=cast('now' as timestamp);
7 | html()
8 |
9 | print() ($select count(*) from MAIL where FROM_USER=session.id and SUBJECT='login log' $) actions from you
10 | and ($select count(*) from MAIL where SUBJECT='login log' $) actions total (in this session).
11 |
12 | CloseContainer
13 | #>
14 |
--------------------------------------------------------------------------------
/doc/Tutorial_Facebook_login.md:
--------------------------------------------------------------------------------
1 | # Facebook login
2 |
3 | To enable Facebook login
4 |
5 | Step 1) From your Facebook developer account get a facebook AppID,
6 | this AppID must be registered to the domain that the app will be hosted in.
7 |
8 | Step 2) In app.html, change the value of myFaceBookAppID from '' to the AppID
9 |
10 | step 3) In config.quicc change "login_first":false to true to disable automatic guest login.
11 |
12 | Optionally) Set auto_login_facebook_on_return to true;
13 |
14 | Optionally) Tweak the login div.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Models/TodoModel.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <#model
5 |
6 | CREATE TABLE TODO_MVC --:{as:"Table"}
7 | (
8 | REF VARCHAR(40), --:{as:pk}
9 | NAME VARCHAR(100), --:{as:text,size:40,title:"todo"}
10 | PROGRESS VARCHAR(100), --:{as:text,size:40,title:"Progress"}
11 | OWNER VARCHAR(40), --:{as:hidden}
12 | STATUS VARCHAR(10) default '' --:{as:ticked}
13 | );
14 |
15 | CREATE INDEX IDX_TODO_MVC1 ON TODO_MVC (REF);
16 | CREATE INDEX IDX_TODO_MVC2 ON TODO_MVC (OWNER,STATUS);
17 |
18 | #>
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/bin/sql-mvc.js:
--------------------------------------------------------------------------------
1 |
2 | var program = require('commander');
3 |
4 | program
5 | .usage('new |patch|forever path')
6 | //.version(quicc.version)
7 | .option('-m, --minimal', 'minimal install (no demo)')
8 | .option('-c, --coffee', 'use CoffeeScript')
9 | .option('-j, --jade', 'use Jade for Views')
10 | .option('-s, --stylus', 'use Stylus for CSS')
11 | .option('-l, --less', 'use Less for CSS')
12 | .option('-r, --repl', 'include Console Server / REPL')
13 | .parse(process.argv);
14 |
15 | require(__dirname + '/../lib/cli').process(program);
16 |
--------------------------------------------------------------------------------
/bin/clean.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #todo we need a naming convention to remove all files of plugins not only the SignaturePad
4 | ls -la output
5 | ls -la client/views
6 | ls -la client/static/others/signature_pad
7 | ls -la client/code/app
8 | ls -la client/templates/Widgets
9 |
10 |
11 | rm events.log
12 | rm -R output
13 | rm -R client/static/others/signature_pad
14 | rm -R client/code/app/signature_pad_plugin.js
15 | rm client/views/app.html
16 | rm client/code/app/plugins.js
17 | rm client/templates/Widgets/SignaturePad.html
18 | rm client/templates/Widgets/signature_pad.html
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/install/tests/tests.md:
--------------------------------------------------------------------------------
1 | #qq tests
2 |
3 | #methodlogy
4 | This test suite is intended to test the functionality of the qq compiler and server.
5 |
6 | In genertal mode it sets up a minimalist and controlled environment to produce consistent tests.
7 | In site mode it tests basic functionalities in your site.
8 |
9 | #Compiler - Basic tests
10 |
11 | *basic template
12 | *inheritance
13 | *complex template
14 |
15 |
16 | #Server
17 | database config and access
18 | udf's - Q_F2J
19 | node
20 |
21 | #Site mode
22 | configuration
23 | database availability
24 | databse support tables, generators ,procedures and triggers.
25 |
26 |
27 |
--------------------------------------------------------------------------------
/doc/Tutorials.md:
--------------------------------------------------------------------------------
1 | # SQL-MVC tutorials,
2 |
3 |
4 |
5 | ## Basic Application
6 | * Basic Tutorial : [Github - Tutorial_basic_1](https://github.com/quale-quest/sql-mvc/blob/master/doc/Tutorial_basic_1.md)
7 | * Element reference : [Github - Elements](https://github.com/quale-quest/sql-mvc/blob/master/doc/Elements.md)
8 |
9 | ## Advanced Application
10 | TODO
11 |
12 | ## Basic widgets
13 | TODO
14 |
15 | ## Advanced widgets
16 |
17 | * Making field widgets : [Github - Making field widget](https://github.com/quale-quest/sql-mvc/blob/master/doc/Tutorial_making_field_elements.md)
18 |
19 | ## Basic themes
20 | TODO
21 |
22 | ## Advanced themes
23 | TODO
--------------------------------------------------------------------------------
/server/database/z_pkcache.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE FIELD_DETAIL
2 | (
3 | MASTER INTEGER,
4 | INDX INTEGER,
5 | FIELD_NAME VARCHAR(40),
6 | VALU VARCHAR(1000),
7 | BASERECORD INTEGER,
8 | TARGET VARCHAR(100),
9 | QUERY VARCHAR(100),
10 | BODY VARCHAR(1000),
11 | MASTER_FIELDS VARCHAR(1000),
12 | PK_FIELD_NAME VARCHAR(40),
13 | NEW_VALUE VARCHAR(1000),
14 | OLD_VALUE VARCHAR(1000),
15 | NEW_VALUE_SET INTEGER,
16 | TARGET_VALUES VARCHAR(256)
17 | );
18 |
19 | CREATE INDEX IDX_FIELD_DETAIL1 ON FIELD_DETAIL (MASTER,INDX);
20 | CREATE INDEX IDX_FIELD_DETAIL2 ON FIELD_DETAIL (MASTER,NEW_VALUE_SET,VALU,QUERY,PK_FIELD_NAME);
21 |
22 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/timepicker/jquery-ui-timepicker-addon.css:
--------------------------------------------------------------------------------
1 | .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
2 | .ui-timepicker-div dl { text-align: left; }
3 | .ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
4 | .ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
5 | .ui-timepicker-div td { font-size: 90%; }
6 | .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
7 |
8 | .ui-timepicker-rtl{ direction: rtl; }
9 | .ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
10 | .ui-timepicker-rtl dl dt{ float: right; clear: right; }
11 | .ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }
--------------------------------------------------------------------------------
/server/compiler/modules/markdown.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | //var path = require('path');
4 | //var fs = require('fs');
5 | //var zx = require('../zx');
6 | var marked = require('marked');
7 | //var markdown = require( "markdown" ).markdown;
8 |
9 | marked.setOptions({
10 | gfm : true,
11 | tables : true,
12 | breaks : true,
13 | pedantic : false,
14 | sanitize : false,
15 | smartLists : true,
16 | smartypants : false
17 | });
18 |
19 | exports.preprocessor_md = function (zx, str) {
20 |
21 | // console.log( '>>>>>',str,'<<<<<' );
22 | // str=markdown.toHTML( str ) ;
23 | str = marked(str);
24 | //console.log( '>>>>>',str,'<<<<<' );
25 | return str;
26 | };
27 |
--------------------------------------------------------------------------------
/Quale/Lib/Models/replicator_model.quicc:
--------------------------------------------------------------------------------
1 |
2 | <#:model()
3 |
4 | CREATE GENERATOR ZR$LOG_ID;
5 | SET GENERATOR ZR$LOG_ID TO 1;
6 | CREATE GENERATOR ZR$LAST_CURRENT_TRANSACTION;
7 | SET GENERATOR ZR$LAST_CURRENT_TRANSACTION TO 0;
8 | CREATE GENERATOR ZR$MIN_CURRENT_TRANSACTION;
9 | SET GENERATOR ZR$MIN_CURRENT_TRANSACTION TO 0;
10 |
11 |
12 |
13 | CREATE TABLE ZR$LOG
14 | (
15 | TID Bigint,
16 | ID Bigint NOT NULL PRIMARY KEY,
17 | SHARD_ID Varchar(32),
18 | TS Timestamp DEFAULT current_timestamp,
19 | JSON Varchar(8000)
20 | );
21 |
22 | CREATE INDEX IDX_ZR$LOG ON ZR$LOG (SHARD_ID,TID,ID);
23 |
24 |
25 | #>
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/server/udf/Notes.txt:
--------------------------------------------------------------------------------
1 | #Json Encoder for Firebird
2 |
3 |
4 |
5 |
6 |
7 | #References:
8 | ##FB UDF
9 | http://www.codeproject.com/Articles/43200/Writing-UDFs-for-Firebird-Embedded-SQL-Server
10 | http://ibexpert.net/ibe/index.php?n=Doc.HowToWriteAnInternalUDFFunction
11 | http://www.aolserver.cz/download/UDF_fb_mhash-1.2.01.tgz
12 |
13 | http://code.openhub.net/project?pid=1DUnjYAueHw&prevcid=1&did=rfunc2&cid=ush_TNLKuwc&fp=267556&projSelected=true
14 | www.codeproject.com/KB/database/udf-for-firebird.aspx
15 |
16 |
17 | ##JSON
18 | https://code.google.com/p/json-simple/wiki/EscapingExamples
19 | https://github.com/ATNoG/JSONObject/blob/nativeCpp/StringUtils.hpp
--------------------------------------------------------------------------------
/doc/Debugging.md:
--------------------------------------------------------------------------------
1 | #Debugging
2 |
3 |
4 | Debugging the platform and your app is still quite primitive, error messages are often missing or unhelpful.
5 |
6 |
7 | Pressing Ctrl-Q on the web app toggles a debug menu that will be expanded much
8 |
9 | Output Folder contains both top level / last errors and folders with errro per app page
10 |
11 |
12 |
13 | Often it is hard to track the element names used,
14 |
15 |
16 | Make small changes via GIT to check when stuff breaks
17 |
18 |
19 | ## Client side trace logging to database
20 | for logging From client check trace_to_server rambase.tr_dt - not sure of use or implementation.
21 | "INSERT INTO track" track table does not exist yet
22 |
--------------------------------------------------------------------------------
/client/code/app/entry.js:
--------------------------------------------------------------------------------
1 | "dont use strict";
2 | /*jshint browser: true, node: false, jquery: true */
3 |
4 | // This file automatically gets called first by SocketStream and must always exist
5 |
6 | // Make 'ss' available to all modules and the browser console
7 | window.ss = require('socketstream');
8 |
9 | ss.server.on('disconnect', function () {
10 | console.log('Connection down :-(');
11 | });
12 |
13 | ss.server.on('reconnect', function () {
14 | console.log('Connection back up :-)');
15 | });
16 |
17 | ss.server.on('ready', function () {
18 |
19 | // Wait for the DOM to finish loading
20 | jQuery(function () {
21 |
22 | // Load app
23 | require('/app');
24 |
25 | });
26 |
27 | });
28 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/uniform/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | __MACOSX
3 | *.swp
4 | *~
5 | /node_modules/
6 | .sass-cache/
7 |
8 | # Do not ignore these generated files. This way, the GitHub generated
9 | # archives will automatically still contain the minified version
10 | # jquery.uniform.min.js
11 | # themes/*/css/uniform.*.min.css
12 |
13 |
14 | # These files are created with bin/build
15 | theme-kit/README.html
16 | www/downloads/theme-kit.zip
17 | www/downloads/uniform.*.theme.zip
18 | www/images/bg-input*.png
19 | www/images/sprite*.png
20 | www/index.html
21 | www/javascripts/jquery.uniform.js
22 | www/javascripts/jquery.uniform.min.js
23 | www/javascripts/themecss.js
24 | www/stylesheets/uniform.*.css
25 |
--------------------------------------------------------------------------------
/doc/BaseSystem/User Preferences.md:
--------------------------------------------------------------------------------
1 | # SQL-MVC User Preferences,
2 |
3 | Not implemented yet.
4 |
5 |
6 | CREATE TABLE USER_PREFERENCES --:{as:"Table"}
7 | (
8 | ID PK, --:{as:"pk"}
9 | User_ID FK, --:{as:"fk"}
10 | Show_error_on_open INTEGER, --:{as:"ticked"}
11 | Unit_of_measure FK --:{as:"fk"}
12 | }
13 |
14 | The user preferences should output to a object on the first page load of the user only, cached from then on.
15 |
16 | ## Preferences
17 |
18 | Show_error_on_open : validate all forms when opened
19 | Unit_of_measure : Imperial or metric
20 | Web_Language : any of the i18n languages.
21 |
22 | ## Implementation
23 |
24 | TODO
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Models/gallery_Model.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <#model
5 | CREATE TABLE GALLERY --:{as:"Table"}
6 | (
7 | REF VARCHAR(40), --:{as:pk}
8 | NAME VARCHAR(100), --:{as:text,size:40,title:"Image Name",onupdate:"owner=session.id"}
9 | OWNER VARCHAR(40), --:{as:hidden}
10 | STATUS VARCHAR(10) default '', --:{as:ticked}
11 |
12 | PAGE_NUMBER INTEGER, --:{as:text,size:4, length:4}
13 | PAGE_ROTATE INTEGER, --:{as:text,size:4, length:4}
14 | IMAGE_TYPE VARCHAR(40), --:{as:text,size:40}
15 |
16 | FILE_TYPE VARCHAR(40), --:{as:text,size:40}
17 | BLOB_ID VARCHAR(100), --:{as:image}
18 | BLOB_ID_filename VARCHAR(100) --:{as:image_filename}
19 |
20 | );
21 | #>
22 |
--------------------------------------------------------------------------------
/install/patch.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | zxPatch ()
3 | {
4 | echo "==============Patching $3 in $1" ;
5 | pushd $cwd/install/Patches/$2/
6 | diff -u $3 new_$3 >$3.patch
7 | popd
8 | pushd $cwd/$1/
9 | patch -N < $cwd/install/Patches/$2/$3.patch
10 | rm $cwd/install/Patches/$2/$3.patch
11 | popd
12 | }
13 |
14 | ##should be run from the install directory
15 | cd "$( cd "$( dirname "$0" )" && pwd -P)"
16 | cd ..
17 | cwd=`pwd`
18 | zxPatch node_modules/ss-hogan/node_modules/hogan.js/lib ss-hogan compiler.js
19 | zxPatch node_modules/ss-hogan ss-hogan client.js
20 | zxPatch node_modules/ss-hogan ss-hogan engine.js
21 | zxPatch node_modules/marked/lib marked marked.js
22 | zxPatch node_modules/emoji/lib emoji emoji.js
23 |
24 |
--------------------------------------------------------------------------------
/doc/Tutorial_Record_Context_Scripts.md:
--------------------------------------------------------------------------------
1 | # Record context scripts
2 |
3 | Every button can in addition to simply linking to another file (or updating the current)
4 | also execute a script with the context of the record it was in.
5 |
6 |
7 | The record must have a primary key, and this will be passed to the procedure as "run_procedure_pk",
8 | which can be used as per this example.
9 |
10 | Example
11 |
12 | ```
13 |
14 | <#script(when:name_of_script)
15 | UPDATE PRODUCT set UNIT=cast (UNIT as integer)+1
16 | where ref=:run_procedure_pk
17 | #>
18 |
19 | <#Table
20 | Select
21 | 'Increment', --:{title:"Increment",Action:"Link",Type:"Link",execute:name_of_script}
22 | ref --:{as:pk}
23 | ...
24 | #>
25 |
26 | ```
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/install/winstart-develop.bat:
--------------------------------------------------------------------------------
1 |
2 | @IF EXIST "%ProgramFiles%\Notepad++\notepad++.exe" (
3 | start /b "" "%ProgramFiles%\Notepad++\notepad++.exe" "C:\SQL-MVC\node_modules\sql-mvc\Quale\Standard\Home\Guest\Index.quicc" "C:\SQL-MVC\node_modules\sql-mvc\Quale\Standard\Home\Guest\Models\TodoModel.quicc" "C:\SQL-MVC\node_modules\sql-mvc\Quale\Standard\Home\Guest\Controllers\TodoController.quicc"
4 | )
5 |
6 | @IF EXIST "%ProgramFiles(x86)%\Notepad++\notepad++.exe" (
7 | start /b "" "%ProgramFiles(x86)%\Notepad++\notepad++.exe" "C:\SQL-MVC\node_modules\sql-mvc\Quale\Standard\Home\Guest\Index.quicc" "C:\SQL-MVC\node_modules\sql-mvc\Quale\Standard\Home\Guest\Models\TodoModel.quicc" "C:\SQL-MVC\node_modules\sql-mvc\Quale\Standard\Home\Guest\Controllers\TodoController.quicc"
8 | )
9 |
--------------------------------------------------------------------------------
/doc/Tutorial_SQL_Extensions.md:
--------------------------------------------------------------------------------
1 | # SQL-MVC Extensions
2 |
3 | The principle intention is for the compiler not to have to understand the SQL language.
4 |
5 | However we break this rule often, sometimes for good reason sometimes for convenience,
6 | we should avoid doing this.
7 |
8 |
9 |
10 | #DDL statements
11 |
12 | 1. CREATE_EXTEND extension_name TABLE :
13 | used to add field to an existing table. Use case facebook_model.quicc adding fields to the basic user table
14 |
15 |
16 |
17 | 2.setting a field's qualia as fk will automatically add a trigger and unique number generator to the field.
18 |
19 |
20 | #DML or PSQL
21 |
22 | 3. Pseudo variable:
23 | This is actually a platform feature and is desirable, mentioned here for completeness.
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/doc/Getting_Started.md:
--------------------------------------------------------------------------------
1 |
2 | # SQL-MVC Getting_Started,
3 |
4 | ##Windows
5 |
6 | [Windows install](https://github.com/quale-quest/sql-mvc-winstaller/blob/master/README.md)
7 |
8 | ##Cloud 9 IDE
9 | [Quick and easy to get going](https://github.com/quale-quest/sql-mvc-c9/blob/master/README.md)
10 |
11 | ##Existing node environment
12 | in a fresh project directory just do: npm install sql-mvc
13 |
14 | ##Install instructions for Linux from scratch:
15 | [Install.md](https://github.com/quale-quest/sql-mvc/blob/master/doc/Install-linux.md)
16 |
17 |
18 | ##Tutorials at :
19 | [Tutorials.md](https://github.com/quale-quest/sql-mvc/blob/master/doc/Tutorials.md)
20 |
21 |
22 | ##Programmers Manual at :
23 | [Github - wiki](https://github.com/quale-quest/sql-mvc/wiki)
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/LayoutOpen.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 | <#include(file=~/Layout/TopBarGuest)#>
4 | <#include(file=~/Layout/Notify)#>
5 |
Loading...
6 |
7 |
8 |
9 |
10 | <#
11 | Menu (name:"Start",style:"LBMenu")
12 |
13 | Menu (icon="nav-icon dboard-icon" from=user_table_name where="user_pk_field=Operator.user_pk_field" form=Dashboard/Dashboard title="Dashboard")
14 |
15 | MenuScan (menuname:"MainMenu")
16 |
17 |
18 | MenuEnd
19 |
20 | #>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/SelfServe/ForgotPassword.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Plain , DivoutName:maincontainer)#>
2 | <#master(user_table_name)#>
3 |
4 |
5 | <#
6 | script
7 | UPDATE OR INSERT INTO user_table_name (NAME,LOGIN_NAME,OWNER,INVITED_BY,LANDING_PAGE) VALUES ('EmailMe','EmailMe' ,operator.id, session.id,'xxxx' ) matching (INVITED_BY) ;
8 | #>
9 |
10 | <#view
11 |
12 |
13 | notify(style=Heading) Forgot Password?
14 |
15 |
16 | form()
17 | Select --:{Title:"Manage existing users",from:user_table_name}
18 | first 1
19 |
20 | EMAIL, --:{Action:Edit}
21 |
22 | user_pk_field --:{as:"pk",Type:"Hide"}
23 | From user_table_name
24 | where INVITED_BY=session.id
25 |
26 | #>
27 |
28 | <#button(glymph:"bended-arrow-right-b" from=user_table_name where="INVITED_BY=session.id" form=ForgotPassword_step2 title:"Check my email address") #>
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/server/database/isql-access.sh:
--------------------------------------------------------------------------------
1 | connect '127.0.0.1:/var/db/guest-t2.fdb' user 'SYSDBA' password 'pickfb25' ;
2 |
3 |
4 |
5 | CREATE TABLE MAIL
6 | (
7 | REF VARCHAR(20),
8 | SUBJECT VARCHAR(20),
9 | TYP INTEGER,
10 | STATUS INTEGER,
11 | TO_USER VARCHAR(20),
12 | CC_USER VARCHAR(20),
13 | FROM_USER VARCHAR(20),
14 | THREAD VARCHAR(20),
15 | KEYWORDS VARCHAR(40),
16 | READSTAMP TIMESTAMP,
17 | PENDING INTEGER,
18 | OUTCOME INTEGER,
19 | IMPORTANCE INTEGER,
20 | ATTACHMENT VARCHAR(20),
21 | BRIEF VARCHAR(4000),
22 | NOTES BLOB SUB_TYPE 1,
23 | STAMP TIMESTAMP DEFAULT 'now',
24 | context_1 VARCHAR(20),
25 | context_2 VARCHAR(20),
26 | DESTINATION TEXT40
27 | );
28 |
29 | CREATE INDEX IDX_MAIL1 ON MAIL (REF);
30 | CREATE INDEX IDX_MAIL2 ON MAIL (FROM_USER);
31 | CREATE INDEX IDX_MAIL3 ON MAIL (TO_USER);
32 |
33 |
--------------------------------------------------------------------------------
/doc/Tutorial_making_field_elements.md:
--------------------------------------------------------------------------------
1 | #Making field elements
2 |
3 |
4 | ## for new link types in Fields.quicc presume with tablestyle:"DT" and Newsubstyle
5 | element(DtNewsubstyleLinkFieldLink_Main)
6 | element(DtNewsubstyleLinkFieldLink_Div)
7 | element(DtNewsubstyleLinkFieldLink_Script)
8 |
9 | use as --:{substyle:Newsubstyle, in quale
10 |
11 |
12 | Element translations functions
13 | proper - converts CamelCase and Under_score text to Proper case text - useful for getting titles from field names
14 | quotes - escape the text into one, single quoted string, converts new lines to spaces and single quotes to double
15 | urlescape - escape a string suitable for passing as a uri
16 | marked - escape markdown text to display as html
17 |
18 | These translate functions can only run on static content,
19 | To translate content from the database you must use softcodecs
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Views/ShowPeers.quicc:
--------------------------------------------------------------------------------
1 |
2 |
Other To-do items in the same session
3 |
4 |
5 | <#view
6 | master(TODO_MVC)
7 |
8 | form()
9 | Select --:{Title:"For session ",from:"TODO_MVC",tablestyle:"ToDo"}
10 | OWNER --:{title:"Also in session",Type:"View"}
11 | From TODO_MVC
12 | where (ref=master.ref)
13 |
14 |
15 | table()
16 | Select --:{Title:"Make new records",from:"TODO_MVC",tablestyle:"DT"}
17 | first 100
18 | STATUS, --:{}
19 | NAME, --:{}
20 | OWNER, --:{}
21 | REF --:{}
22 | From TODO_MVC
23 | where (owner=master.owner)
24 |
25 | button (title:"View all")
26 | set here.todo_type='';
27 |
28 | button {title:"Active"}
29 | set here.todo_type='1';
30 |
31 | button {title:"Completed"}
32 | set here.todo_type='2';
33 |
34 | use(todo.source_files)
35 | #>
36 |
37 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/MainMenu/02_Demos/10_todo_mvc.quicc:
--------------------------------------------------------------------------------
1 |
2 | <#view
3 |
4 | dropinmenu (icon:"nav-icon invoice-icon",title:"Todo Reports")
5 |
6 |
7 | table(pagination:3)
8 | Select --:{Title:"View sessions",from:TODO_MVC,tablestyle:DT}
9 | first 1000
10 | OWNER, --:{as:fordetaildiv,form:"Todo/PerSessionToDo"}
11 | Count(*), --:{Type:View}
12 | substring(list(substring(name from 1 for 8)) from 1 for 198) --:{Type:"View"}
13 |
14 | From TODO_MVC
15 | where (( (here.todo_type='' and (status!='3' or status is null))
16 | or( (status='' or status is null) and here.todo_type='1')or(status='1' and here.todo_type='2')))
17 | group by Owner
18 |
19 |
20 | button (title:"View all")
21 | set here.todo_type='';
22 |
23 | button {title:"Active"}
24 | set here.todo_type='1';
25 |
26 | button {title:"Completed"}
27 | set here.todo_type='2';
28 |
29 | #>
30 |
31 |
32 |
details go here
33 |
--------------------------------------------------------------------------------
/client/static/others/zx/zxCalendar.js:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | var cal = new CalendarPopup();
5 | //cal.showNavigationDropdowns();
6 | cal.setReturnFunction("zx_cal_ReturnFunction");
7 |
8 | function zxCalendar(i) {
9 | //alert('XXX Use ');
10 | NewCssCal(i,'yyyymmdd','arrow',false);
11 | return false;}
12 |
13 | function zxTimeStamp(i) {
14 | NewCssCal(i,'yyyymmdd','arrow',true);
15 | return false;}
16 |
17 |
18 |
19 | function zx_cal_ReturnFunction(y,m,d) {
20 | if (window.CP_targetInput!=null) {
21 | var dt = new Date(y,m-1,d,0,0,0);
22 | if (window.CP_calendarObject!=null) { window.CP_calendarObject.copyMonthNamesToWindow(); }
23 | window.CP_targetInput.value = formatDate(dt,window.CP_dateFormat);
24 | window.CP_targetInput.onchange();
25 | }
26 | else {
27 | alert('Use setReturnFunction() to define which function will get the clicked results!');
28 | }
29 | }
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/SelfServe/RegisterNewUser.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Login , DivoutName:maincontainer)#>
2 | <#
3 | master(user_table_name)
4 |
5 | #>
6 |
7 | <#
8 | script
9 | UPDATE OR INSERT INTO user_table_name (OWNER,INVITED_BY,LANDING_PAGE) VALUES (operator.id, session.id,'<%run.SelfCreate_Landingpage%>') matching (INVITED_BY) ;
10 |
11 | #>
12 |
13 | <#view
14 |
15 |
16 | notify(style=BigBold1) Create Login
17 | notify id: operator.id and session.id
18 |
19 |
20 | form()
21 | Select --:{Title:"Manage existing users",from:user_table_name,validator:[BlockForm]}
22 | first 1
23 |
24 | EMAIL, --:{Action:Edit,validator:{Email,AllowBlank,BlockField}}
25 |
26 | user_pk_field --:{as:"pk",Type:"Hide"}
27 | From user_table_name
28 | where INVITED_BY=session.id
29 |
30 | #>
31 |
32 | <#button(glymph:"bended-arrow-right-b" from=user_table_name where="INVITED_BY=session.id" form=RegisterNewUser_step2 title:"Next") #>
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/server/udf/q_UDFLibC.sql:
--------------------------------------------------------------------------------
1 |
2 | DECLARE EXTERNAL FUNCTION Z$F_VERSION
3 | RETURNS INTEGER BY VALUE
4 | ENTRY_POINT 'Z$F_VERSION' MODULE_NAME 'q_UDFLibC';
5 | --select Z$F_VERSION() from RDB$DATABASE
6 |
7 | DROP EXTERNAL FUNCTION Z$F_F2J;
8 | declare external function Z$F_F2J
9 | cstring(256)
10 | returns cstring(256) free_it
11 | entry_point 'Z$F_F2J' module_name 'q_UDFLibC';
12 | --select Z$F_F2J(NULL)||','||Z$F_F2J('ab"cd') from RDB$DATABASE
13 |
14 | DROP EXTERNAL FUNCTION Z$F_J2F;
15 | declare external function Z$F_J2F
16 | cstring(256)
17 | returns cstring(256) free_it
18 | entry_point 'Z$F_J2F' module_name 'q_UDFLibC';
19 | --select Z$F_F2J(NULL)||','||Z$F_F2J('ab"cd') from RDB$DATABASE
20 |
21 | DROP EXTERNAL FUNCTION Z$F_F2SQL;
22 | declare external function Z$F_F2SQL
23 | cstring(256)
24 | returns cstring(256) free_it
25 | entry_point 'Z$F_F2SQL' module_name 'q_UDFLibC';
26 | --select Z$F_F2SQL(NULL)||','||Z$F_F2SQL('ab'cd') from RDB$DATABASE
27 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Layout/Notify.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
#{title}
5 |
6 | #{text}
7 |
8 |
9 |
10 |
x
11 |
#{title}
12 |
13 | #{text}
14 |
15 |
16 |
17 |
x
18 |
19 |
20 |
21 |
#{title}
22 |
23 | #{text}
24 |
25 |
26 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/Theory/Javascript_is_not_fit_for_writing_web_applications.md:
--------------------------------------------------------------------------------
1 | #Javascript is not fit for writing web applications
2 |
3 |
4 | I am not the only one that feels this way:
5 |
6 |
7 | This kind of wide-ranging usage led Microsoft's Scott Hanselman to dub JavaScript the "assembly language for the Web," a sentiment largely shared by people such as Brendan Eich, who invented JavaScript, and Douglas Crockford, who invented JSON, widely used for JavaScript-based data interchange.
8 |
9 |
10 |
11 |
12 |
13 | The software industry, contrary to what you might expect, is absolutely filled with people who hate progress.
14 | most of the software industry makes its decisions like a high school teenager: they obsessively check for what’s cool in their clique,
15 |
16 | [About Lafras] (https://github.com/quale-quest/sql-mvc/blob/master/doc/Theory/About_Lafras.md)
17 |
--------------------------------------------------------------------------------
/install/post_script.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #read -p "When running this script, if prompted for [more] or password, press the enter key, like now...[more]"
4 |
5 | echo Post_Script :
6 | #DEBIAN_FRONTEND=noninteractive sudo apt-get install -y -qq firebird2.5-classic firebird-dev
7 | #service firebird2.5-classic start
8 | #chmod o+r /etc/firebird/2.5/SYSDBA.password
9 |
10 |
11 | echo "node server/compiler/compile.js app Home/Guest all"
12 | # cd node_modules/sql-mvc/;node server/compiler/compile.js app Home/Guest all
13 |
14 |
15 |
16 | echo you can now run the server like this :
17 | #pwd ==/home/ubuntu/workspace/node_modules/sql-mvc
18 | echo "cd node_modules/sql-mvc/;node app.js"
19 |
20 |
21 | #ln Quale/Standard/Home/Guest/Index.quicc ../../Index.quicc -s
22 | #ln node_modules/sql-mvc/Quale/Standard/Home/Guest/Controllers/TodoController.quicc TodoController.quicc -s
23 | #ln node_modules/sql-mvc/Quale/Standard/Home/Guest/Models/TodoModel.quicc TodoModel.quicc -s
24 |
25 | #node app.js
26 |
27 | echo Post_Script done:
28 |
--------------------------------------------------------------------------------
/lib/cli/index.js:
--------------------------------------------------------------------------------
1 | // Parse commands from '' binary
2 | // There will be other commands in the future
3 |
4 | exports.process = function(program) {
5 | switch (program.args[0]) {
6 |
7 | // Create a new project
8 | case 'new':
9 | case 'n':
10 | return require('./generate').generate(program);
11 | case 'patch':
12 | case 'p':
13 | return require('./generate').patch(program);
14 | case 'post_script':
15 | return require('./generate').post_script(program);
16 | case 'patchhost':
17 | case 'ph':
18 | return require('./generate').patchhost(program);
19 | case 'forever':
20 | case '4e':
21 | return require('./generate').forever(program);
22 | case 'udf':
23 | return require('./generate').udf(program);
24 | case 'check':
25 | return require('./generate').check(program);
26 | default:
27 | return console.log('Type "sql-mvc new
" to create a new application');
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/server/database/db_ms_sql_gen.js:
--------------------------------------------------------------------------------
1 | //place holder for future microsoft sql generator
2 | /*
3 | speed/memory performance is not important
4 | ease of use is important
5 | */
6 |
7 | //http://en.wikipedia.org/wiki/Stored_procedure
8 |
9 | //general info about porting, differences and features
10 | //http://www.firebirdsql.org/manual/migration-mssql-syntax.html
11 | //http://www.ispirer.com/products/interbase-firebird-to-sql-server-migration
12 |
13 | //http://www.paragoncorporation.com/ArticleDetail.aspx?ArticleID=28
14 |
15 | //http://msdn.microsoft.com/en-us/library/dn133186.aspx
16 | //http://msdn.microsoft.com/en-us/library/dn133184.aspx
17 | //ms sql Stored procedures that only reference memory-optimized tables can be natively compiled into machine code
18 | // optimal back-end storage of links are important -
19 | // currently we use basic tables -- this will be optimised - to "in memory" or GTT or redis type tables.
20 | // remember these tables may have a very short life....as soon as we move to the next page they are gone.....
21 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Layout/TopLeft.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
23 |
--------------------------------------------------------------------------------
/doc/Tutorial_User_management.md:
--------------------------------------------------------------------------------
1 | # User Management
2 |
3 |
4 | Login options in config.json/run:
5 |
6 | "login_first":
7 | false : does first page render with guest user
8 |
9 | "cookie_guest":
10 | false : use common guest user
11 | true : create a unique user per visitor based on a browser cookie
12 |
13 |
14 | "selfmanage" :
15 | true : allow the guest to create its own user
16 |
17 | "Guest_Landingpage":"Home/Guest", - Allow the guest page to be redirected without having to delete the demo pages
18 |
19 | "SelfCreate_Landingpage":"Home/User" - where self created users land up.
20 |
21 | "Sysadmin_Password":"PasswordGen" - make sure sysadmin in demo installs don't come with a fixed public password
22 |
23 |
24 | #Defaulting to recommended default user management
25 | cookie_guest:true
26 | login_first:false
27 | "selfmanage" :true,
28 |
29 |
30 | #Shortcut to login to a specific page
31 |
32 | either in production or very useful in debugging
33 |
34 | examples
35 | http://192.168.177.128:3000/user=sysadmin&password=OTwrg2JZgtaAg730
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Users/Edit_Users.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(element:Popup , DivoutName:basicmodaldialog)#>
2 | <#view
3 | master(user_table_name)
4 |
5 |
6 | list{
7 | "name": "LANDING_PAGE",
8 | "values": {
9 | "Home/Sysadmin": "Home/Sysadmin",
10 | "Home/SelfServe":"Home/SelfServe",
11 | "Home/Guest": "Home/Guest",
12 | "Home/User": "Home/User",
13 | "Home/Manager": "Home/Manager",
14 | }
15 | }
16 |
17 |
18 | form()
19 | Select --:{Title:"Manage existing users",from:user_table_name}
20 | first 1
21 | NAME, --:{Action:Edit}
22 |
23 | LOGIN_NAME, --:{Action:Edit}
24 | PASSWD, --:{Action:Edit}
25 |
26 | MOBILE_NUMBER, --:{Action:Edit}
27 | EMAIL, --:{Action:Edit}
28 |
29 |
30 | LANDING_PAGE, --:{Action:Edit,Type:Lookup,List:LANDING_PAGE}
31 |
32 |
33 |
34 | user_pk_field --:{as:"pk",Type:"Hide"}
35 | From user_table_name
36 | where user_pk_field=master.user_pk_field
37 |
38 | #>
39 |
40 |
41 |
42 |
43 | Done
44 |
45 |
46 |
--------------------------------------------------------------------------------
/doc/Caveats.md:
--------------------------------------------------------------------------------
1 | # Caveats
2 |
3 | ##Features and changes still to be added to the docs
4 |
5 | the drop-in package name prefix has changed from sql-mvc to sql-mvc-di
6 | plug-ins are now called sql-mvc-*, and are manually configured under packages in the config file
7 |
8 | We can now inherit config files in a chain,
9 | or from the base install when we are in the super directory under a project name
10 | example :
11 | {
12 | "config_inherit":"base" ,
13 | "db": {"database": "/var/lib/firebird/2.5/data/demo_db_gm1.fdb"}
14 | }
15 |
16 |
17 | ##Server
18 |
19 | all parameters passed from command line get leading 0's stripped
20 | including usernames may not start with a 0
21 |
22 |
23 |
24 |
25 |
26 |
27 | maximum script size at the moment is around 32k ..not sure why
28 |
29 |
30 | ##Compiler
31 |
32 | SET TERM ^ ; or SET TERM ; ^ must have a space between the ^ ;
33 |
34 |
35 | ##Language
36 |
37 | in a button script, the code will execute in the reload of the page, thus
38 | local variables like :assign (var="lead_number='0'||substring(params.phone_number from 3)");
39 | will not be available as #lead_number#
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/doc/Source/General.md:
--------------------------------------------------------------------------------
1 | # Genral Overview,
2 |
3 | ## WIP
4 |
5 | ...
6 |
7 | ## Passing paramaters to the new page
8 |
9 | by class: example --:{class:fordetaildiv,Action:Link,Type:Link,pass:{DivoutName:detaildiv},pointer:0}
10 |
11 |
12 | ## How does run_procedure work?
13 |
14 | when a button with procedure is clicked,
15 | then run_procedure is set as a flag
16 | and the target form will execute a conditional code based on that value in the run procedure
17 |
18 | page params passes
19 | run_procedure
20 | run_procedure_pk
21 | run_procedure_param=''" + param
22 |
23 | this is used in click code, links and pop up pages.
24 |
25 |
26 |
27 | ## How to develop in the source
28 |
29 |
30 |
31 |
32 |
33 | ## TODO
34 |
35 | * remove driver dependant sql from GUI
36 | * separate sql drivers into separate files
37 | * postgresql driver
38 | * mysql documentation
39 | * get config for db engines from alternate file - main config should be kept simple
40 | * DB Engine Directive so wherever you can use alternate database specific code in the quicc source.
41 |
42 |
43 |
44 |
45 | ## Done
46 |
47 | * fake_domains
48 | * simple translations
49 |
50 |
--------------------------------------------------------------------------------
/lib/sql-mvc.js:
--------------------------------------------------------------------------------
1 | // SQL-MVC 0.0
2 | // ----------------
3 |
4 | //require('colors');
5 |
6 | // Get current version from package.json
7 | var fs = require('fs');
8 | var version = require('../../package').version;
9 | //= JSON.parse(fs.readFileSync(__dirname + '/../../package.json')).version;
10 |
11 | // Set root path of your project
12 | var root = exports.root = process.cwd().replace(/\\/g, '/'); // replace '\' with '/' to support Windows
13 |
14 | // Warn if attempting to start without a cwd (e.g. through upstart script)
15 | if (root == '/') throw new Error("You must change into the project directory before starting your app");
16 |
17 | //todo the rest is still socket stream
18 |
19 | // Set environment
20 | var env = exports.env = (process.env['SS_ENV'] || 'development').toLowerCase();
21 |
22 | var api = {};
23 |
24 | // Only one instance of the server can be started at once
25 | var serverInstance = null;
26 |
27 | // Public API
28 | var start = function(httpServer) {
29 |
30 |
31 | return api;
32 | };
33 |
34 | // Ensure server can only be started once
35 | exports.start = function(httpServer) {
36 | return serverInstance || (serverInstance = start(httpServer));
37 | };
38 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Layout/ProfileMenuGuest.quicc:
--------------------------------------------------------------------------------
1 |
2 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/DataTables/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2008-2013 SpryMedia Limited
2 | http://datatables.net
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy
5 | of this software and associated documentation files (the "Software"), to deal
6 | in the Software without restriction, including without limitation the rights
7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the Software is
9 | furnished to do so, subject to the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included in
12 | all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 | THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/Guest/Menu/SwitchBar.quicc:
--------------------------------------------------------------------------------
1 | <#Menu (Name=Start Style=ShortCutBar) #>
2 |
3 |
4 |
5 | <#xMenu refresh=1 icon="sc-icon Save-swb" Title="Save" broken - last onchange event does not fire. last update is not saved #>
6 |
7 | <#Menux icon="sc-icon dashboard" from=Me where=ref=Operator.Ref form=Dashboard/Dashboard Title="Busy" #>
8 |
9 | <#Menu (
10 | form=Settings/Staff
11 | Title="VoiceMail"
12 | icon="sc-icon userlist")
13 | #>
14 |
15 | <#Menux
16 | refresh=1
17 | form=Settings/Numbers
18 | Title="NoAnswer"
19 | icon="sc-icon tasklist"
20 | #>
21 |
22 | <#Menux
23 | refresh=1
24 | form=Reports/QuickReport
25 | Title="InvalidData"
26 | icon="sc-icon reports-c"
27 | #>
28 |
29 |
30 | <#Menux
31 | refresh=1
32 | form=Reports/DefinedReports
33 | Title="DefinedReports"
34 | icon="sc-icon content-c"
35 | #>
36 |
37 | <#Menux
38 | refresh=1
39 | form=Reports/RecentCalls
40 | Title="RecentCalls"
41 | icon="sc-icon PlayFile"
42 | #>
43 |
44 |
45 | <#Menux
46 | refresh=1
47 | form=Reports/Uploads_and_bandwidth
48 | Title="BandwidthUse"
49 | icon="sc-icon satistics"
50 | #>
51 |
52 |
53 | <#Menux icon="sc-icon help-swb" from=Me where=ref=Operator.Ref form=Help/Main Title="Help"#>
54 |
55 |
56 | <#MenuEnd#>
57 |
--------------------------------------------------------------------------------
/doc/Tutorial_Saving_Updates.md:
--------------------------------------------------------------------------------
1 | # Saving updates
2 |
3 | When fields are changed the changes are cached at the client side until saved.
4 |
5 | The number of unsaved changes is indicated to the user in UI1 as a counter on a diskette Icon.
6 |
7 | There are 4 ways to save the changes to the server.
8 |
9 |
10 | ##Navigating
11 | Navigating of the page will save all the outstanding changes.
12 |
13 | ##The "Save" Button
14 | Pressing the diskette Icon in UI1, will save the changes and reload the current page.
15 |
16 | ##autosave:Yes
17 | --:{Autosave:yes} qualia on a specific field will save all the outstanding changes when this field is changed,
18 | and also reload the current page with the refreshed values, including any scripts or visual changes that may be in effect due to the changes.
19 |
20 | This option is quite resource intensive and not suitable for high tragic or high latency sites.
21 |
22 | ##autosave:push
23 | --:{Autosave:push} qualia on a specific field will save all the outstanding changes when this field is changed,
24 | but will not reload the page.
25 |
26 | This option is very useful to make sure all changes save to the server with minimal overhead at the server side,
27 | it has the benefit that the user can loose connection or the server may restart and the user will not loose the changes to the fields.
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/doc/Theory/Origin.md:
--------------------------------------------------------------------------------
1 | #Origin
2 |
3 | Since 1999 I have been using my own platform to do the occasional custom line of business web app.
4 | Last year (2014) I had a need to write a simple app for an embedded ARM processor (BeagleBone Black), and as my
5 | platform was windows only, I had to evaluate and choose from the latest app development technologies,
6 | I was quite amazed that app development seems to be less efficient now that back in the 90's.
7 |
8 | So I started this project to modernize my methods, and make them available to the public. These methods were developed in isolation, as a result SQL-MVC is quite different to anything else out there.
9 |
10 | In January 2015 published some pretty cool stuff, but nobody seems to notice it between all the "noise" of new technologies, So I started to try and document the theory behind it, I actually had to discover what I invented and find a way to express it in a theoretical manner that would illustrate the benefits, this has been great and has lead to more abstract thinking and further evolution of the concepts - truly a Quest.
11 |
12 |
13 | Please visit my home page or the Github repository for some more detail on the platform.
14 |
15 |
16 | [About Lafras] (https://github.com/quale-quest/sql-mvc/blob/master/doc/Theory/About_Lafras.md)
17 |
18 |
19 |
--------------------------------------------------------------------------------
/client/static/others/qqui1/CSSTree/CSSTree.css:
--------------------------------------------------------------------------------
1 | /* ul[class=tree] and every ul under it loses all alignment, and bullet
2 | * style.
3 | */
4 | ul.tree, ul.tree ul {
5 | list-style-type: none;
6 | margin:0;
7 | padding:0;
8 | display : none;
9 | }
10 |
11 | /* Every ul under ul[class=tree] gets an indent of 1em, and a background
12 | * image (vertical line) applied to all nodes under it (repeat-y)
13 | */
14 | ul.tree ul {
15 | padding-left: 1em;
16 | background: url(vline.png) repeat-y;
17 | }
18 |
19 | /* ... except the last ul child in every ul; so no vertical lines for
20 | * the children of the last ul
21 | */
22 | ul.tree ul:last-child {
23 | background: none;
24 | }
25 |
26 | /* Every li under ul[class=tree]
27 | * - gets styling to make it bold and blue, and indented.
28 | * - gets a background image (tilted T), to denote that its a node
29 | * - sets height to match the height of background image
30 | */
31 | ul.tree li {
32 | margin:0;
33 | padding: 0 1.2em;
34 | background: url(node.png) no-repeat;
35 | line-height: 20px;
36 | color: #369;
37 | font-weight: bold;
38 | }
39 |
40 | /* The last li gets a different background image to denote it as the
41 | * end of branch
42 | */
43 | ul.tree li:nth-last-of-type(1) {
44 | background: url(lastnode.png) no-repeat;
45 | }
46 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/LayoutOpen.quicc:
--------------------------------------------------------------------------------
1 |
2 |
3 | <#xinclude file=Menu/SlideBar
4 | xifnotexists="select user_display_field from user_table_name where user_table_name.user_pk_field=user_pk_field and user_keys_field containing 'SWB'"
5 | #>
6 |
7 |
8 | <#include(file=~/Layout/TopBar)#>
9 | <#include(file=~/Layout/Notify)#>
10 |
Loading...
11 | <#xinclude file=Menu/SwitchBar
12 | xifnotexists="select user_display_field from user_table_name where user_table_name.user_pk_field=operator.user_pk_field and user_keys_field containing 'SWB'"
13 | #>
14 |
15 |
16 |
17 |
18 | <#
19 | Menu (name:"Start",style:"LBMenu")
20 |
21 | Menu (icon="nav-icon dboard-icon" from=user_table_name where="user_pk_field=Operator.user_pk_field" form=Dashboard/Dashboard title="Dashboard")
22 |
23 | MenuScan (menuname:"MainMenu")
24 |
25 | rem Menu{form=Dashboard/Dashboard xform:"Help/Main",title:"About" fromx=user_table_name wherex="user_pk_field=Operator.user_pk_field"}
26 |
27 |
28 | MenuEnd
29 |
30 | #>
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 | <#xG960 #>
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Quale/Standard/Home/SelfServe/ForgotPassword_step2.quicc:
--------------------------------------------------------------------------------
1 | <#divcontainer(type:Plain , DivoutName:maincontainer)#>
2 | <#view
3 | master(user_table_name)
4 |
5 |
6 | ifquery ( ($select count(*) from Z$USER u where u.status=10 and u.EMAIL=(select email from Z$USER s where s.INVITED_BY=session.id) $)>0 )
7 | notify (style=Heading) Your email is registered.
8 |
9 | button(glymph:"bended-arrow-right-b" from=user_table_name where="INVITED_BY=session.id" form=ForgotPassword_step3 title:"Please email me my login details")
10 | sql INSERT INTO MAIL (SUBJECT, TYP, STATUS, TO_USER,FROM_USER,STAMP, BRIEF) VALUES ( 'Login Details Reminder', 11 ,11,(Select first 1 user_pk_field From user_table_name where INVITED_BY=session.id),'no reply', 'now',
11 | ' your login details:\r\n Username:'||(Select first 1 LOGIN_NAME from user_table_name where (status/10=1) and EMAIL=(Select first 1 EMAIL From user_table_name where INVITED_BY=session.id))||
12 | ' \r\n Password:'||(Select first 1 PASSWD from user_table_name where (status/10=1) and EMAIL=(Select first 1 EMAIL From user_table_name where INVITED_BY=session.id))
13 | )
14 |
15 |
16 | elsequery
17 |
18 | notify (style=Heading) Your email is not registered.
19 |
20 |
21 | button(glymph:"bended-arrow-right-b" from=user_table_name where="INVITED_BY=session.id" form=RegisterNewUser title:"Register As New User")
22 |
23 | endquery
24 |
25 | #>
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/server/udf/Makefile:
--------------------------------------------------------------------------------
1 | #working make file for linux taken from
2 | #http://www.aolserver.cz/ -> http://www.aolserver.cz/download/UDF_fb_mhash-1.2.01.tgz
3 |
4 | #CLI version
5 | #sudo gcc -fPIC -Wall -w -I/opt/firebird/include -c q_UDFLibC.c -o q_UDFLibC.o
6 | #sudo ld q_UDFLibC.o -o /opt/firebird/UDF/q_UDFLibC.so -shared -lib_util
7 |
8 | #old IBASE= /opt/firebird
9 | IBASE= /usr/lib/firebird/2.5
10 |
11 | # ---------------------------------------------------------------------
12 | # General Compiler and linker Defines for Linux
13 | # ---------------------------------------------------------------------
14 | CC= gcc
15 | LINK= gcc
16 | LIB_LINK= ld
17 | CFLAGS= -c -w -I$(IBASE)/include
18 | LIB_CFLAGS= -fPIC $(CFLAGS)
19 | LIB_LINK_FLAGS= -shared -lib_util
20 | RM= rm -f
21 |
22 | .SUFFIXES: .o .c
23 |
24 |
25 | .c.o:
26 | $(CC) $< $(CFLAGS) $@
27 |
28 |
29 |
30 | all: q_UDFLibC
31 |
32 | q_UDFLibC.o:q_UDFLibC.c
33 | $(CC) $< $(LIB_CFLAGS) -o $@
34 |
35 | q_UDFLibC: q_UDFLibC.o
36 | $(LIB_LINK) $@.o -o $@ $(LIB_LINK_FLAGS)
37 | @echo coping q_UDFLibC to $(IBASE)/UDF
38 | cp q_UDFLibC $(IBASE)/UDF/q_UDFLibC.so
39 | ls -l $(IBASE)/UDF/q_UDFLibC.so
40 |
41 | clean:
42 | $(RM) *.o q_UDFLibC
43 |
44 | sudo:
45 | sudo cp q_UDFLibC $(IBASE)/UDF/q_UDFLibC.so
46 | ls -l $(IBASE)/UDF/q_UDFLibC.so
47 |
48 |
49 |
50 | # --------------------------------------------------------------------
51 | #eof
--------------------------------------------------------------------------------
/Quale/Standard/Home/Layout/ProfileMenu.quicc:
--------------------------------------------------------------------------------
1 |
2 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/client/templates/Widgets/Uploader.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |