From 1ec776bee04db2f907deaae0c730800db13c850d Mon Sep 17 00:00:00 2001 From: jianyan74 Date: Thu, 19 Sep 2019 09:11:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E5=88=B02.?= =?UTF-8?q?3.124=20=E5=85=B7=E4=BD=93=E6=9B=B4=E6=96=B0=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E7=9C=8B=E6=9B=B4=E6=96=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +- addons/RfArticle/Upgrade.php | 12 +- .../api/controllers/AdvController.php | 1 + .../api/controllers/ArticleCateController.php | 1 + .../api/controllers/ArticleController.php | 1 + addons/RfArticle/backend/assets/AppAsset.php | 1 + .../backend/controllers/AdvController.php | 1 + .../controllers/ArticleCateController.php | 1 + .../backend/controllers/ArticleController.php | 1 + .../controllers/ArticleSingleController.php | 1 + .../controllers/ArticleTagController.php | 1 + .../backend/controllers/BaseController.php | 5 +- .../backend/controllers/SettingController.php | 1 + addons/RfArticle/common/config/api.php | 16 +- addons/RfArticle/common/models/Adv.php | 1 + addons/RfArticle/common/models/Article.php | 5 +- .../RfArticle/common/models/ArticleCate.php | 1 + .../RfArticle/common/models/ArticleSingle.php | 1 + addons/RfArticle/common/models/ArticleTag.php | 1 + .../RfArticle/common/models/ArticleTagMap.php | 1 + addons/RfArticle/frontend/assets/AppAsset.php | 1 + .../RfArticle/frontend/views/index/index.php | 2 +- addons/RfArticle/wechat/assets/AppAsset.php | 1 + .../wechat/controllers/BaseController.php | 5 +- .../wechat/controllers/IndexController.php | 13 +- .../RfArticle/wechat/views/index/detail.php | 4 +- addons/RfArticle/wechat/views/index/index.php | 27 +- .../RfArticle/wechat/views/layouts/main.php | 5 +- .../controllers/TimestampController.php | 21 + .../backend/views/province-job/index.php | 2 +- .../backend/views/timestamp/index.php | 97 + addons/RfDevTool/common/config/backend.php | 7 + .../views/curd/{content.php => _form.php} | 1 + addons/RfExample/backend/views/curd/edit.php | 2 +- .../backend/views/grid-curd/edit.php | 2 +- .../backend/views/mongo-db-curd/index.php | 4 +- .../RfExample/common/models/MongoDbCurd.php | 24 +- .../controllers/DataBaseController.php | 10 +- .../backend/views/data-base/backups.php | 3 +- .../backend/controllers/RoleController.php | 49 +- .../RfMerchants/backend/views/role/edit.php | 160 +- .../RfMerchants/backend/views/role/index.php | 4 +- api/behaviors/BeforeSend.php | 10 +- api/config/params.php | 2 +- api/controllers/ActiveController.php | 3 +- .../v1/controllers/MiniProgramController.php | 46 - api/modules/v1/controllers/PayController.php | 5 +- api/modules/v1/controllers/SiteController.php | 2 +- backend/assets/AppAsset.php | 1 - backend/components/Tree.php | 39 +- backend/components/gii/crud/Generator.php | 260 +- .../gii/crud/default/controller.php | 58 +- backend/components/gii/crud/form.php | 5 + backend/config/params.php | 2 +- backend/forms/ClearCache.php | 2 +- .../controllers/ActionBehaviorController.php | 2 +- .../common/controllers/AddonsController.php | 2 + .../common/controllers/AuthRoleController.php | 35 +- .../views/action-behavior/ajax-edit.php | 3 +- .../common/views/action-behavior/index.php | 5 +- .../modules/common/views/action-log/index.php | 12 +- .../modules/common/views/action-log/view.php | 27 +- .../modules/common/views/addons/ajax-edit.php | 3 +- .../modules/common/views/addons/create.php | 4 +- .../views/addons/template/view/main.php | 2 + .../modules/common/views/attachment/index.php | 8 +- .../common/views/auth-item/ajax-edit.php | 8 +- .../modules/common/views/auth-item/index.php | 3 - .../modules/common/views/auth-role/edit.php | 133 +- .../common/views/config-cate/ajax-edit.php | 3 +- .../modules/common/views/config/ajax-edit.php | 3 +- .../common/views/ip-blacklist/ajax-edit.php | 3 +- backend/modules/common/views/log/index.php | 8 +- backend/modules/common/views/log/stat.php | 5 +- backend/modules/common/views/log/view.php | 3 +- .../modules/common/views/pay-log/index.php | 4 +- backend/modules/common/views/pay-log/view.php | 3 +- .../modules/common/views/sms-log/index.php | 5 +- backend/modules/common/views/sms-log/stat.php | 5 +- backend/modules/common/views/sms-log/view.php | 3 +- .../member/controllers/MemberController.php | 3 +- .../member/views/address/ajax-edit.php | 3 +- .../modules/member/views/member/ajax-edit.php | 3 +- backend/modules/member/views/member/edit.php | 11 +- backend/modules/member/views/member/index.php | 8 +- .../modules/member/views/member/recharge.php | 8 +- .../modules/oauth2/views/client/ajax-edit.php | 4 +- backend/modules/sys/components/cpu_usage.vbs | 3 - .../modules/sys/components/memory_usage.vbs | 6 - .../NotifySubscriptionConfigController.php | 38 +- .../modules/sys/forms/NotifyMessageForm.php | 2 + .../forms/NotifySubscriptionActionForm.php | 15 +- backend/modules/sys/views/manager/_form.php | 1 + .../modules/sys/views/manager/ajax-edit.php | 3 +- .../modules/sys/views/menu-cate/ajax-edit.php | 3 +- backend/modules/sys/views/menu/ajax-edit.php | 3 +- .../sys/views/notify-message/ajax-edit.php | 3 +- .../notify-subscription-config/index.php | 49 +- backend/modules/sys/views/system/info.php | 6 + .../wechat/controllers/RuleController.php | 2 +- .../modules/wechat/views/attachment/news.php | 9 +- .../modules/wechat/views/attachment/send.php | 3 +- .../modules/wechat/views/fans/move-tag.php | 3 +- .../wechat/views/fans/send-message.php | 3 +- backend/modules/wechat/views/fans/view.php | 3 +- backend/modules/wechat/views/rule/edit.php | 51 +- .../modules/wechat/views/stat/fans-follow.php | 4 +- .../wechat/views/stat/rule-keyword.php | 4 +- backend/modules/wechat/views/stat/rule.php | 4 +- backend/views/addons/rule-edit.php | 55 +- backend/views/layouts/_footer.php | 49 +- backend/views/layouts/addon.php | 12 +- backend/views/layouts/default.php | 50 +- backend/views/layouts/main.php | 13 +- backend/views/main/clear-cache.php | 2 +- backend/views/main/index.php | 2 + backend/widgets/Alert.php | 2 +- backend/widgets/area/Area.php | 6 +- backend/widgets/area/views/area.php | 165 +- backend/widgets/cropper/views/crop.php | 50 +- backend/widgets/cropper/views/default.php | 14 +- .../widgets/echarts/views/line-graphic.php | 86 - backend/widgets/jstree/JsTree.php | 167 + backend/widgets/jstree/assets/AppAsset.php | 26 + .../widgets/jstree/resources}/jstree.js | 1642 ++++++-- .../widgets/jstree/resources/jstree.min.js | 6 + .../resources/themes/default-dark/32px.png | Bin 0 -> 1525 bytes .../resources/themes/default-dark/40px.png | Bin 0 -> 6526 bytes .../resources/themes/default-dark/style.css | 1146 ++++++ .../themes/default-dark/style.min.css | 1 + .../themes/default-dark/throbber.gif | Bin 0 -> 1464 bytes .../resources/themes/default-rage}/32px.png | Bin .../themes/default-rage}/style.min.css | 0 .../themes/default-rage}/throbber.gif | Bin .../jstree/resources/themes/default/32px.png | Bin 0 -> 5667 bytes .../jstree/resources/themes/default/40px.png | Bin 0 -> 2218 bytes .../jstree/resources/themes/default/style.css | 1102 ++++++ .../resources/themes/default/style.min.css | 1 + .../resources/themes/default/throbber.gif | Bin 0 -> 1464 bytes backend/widgets/jstree/views/default.php | 13 + backend/widgets/notify/Notify.php | 5 +- backend/widgets/notify/NotifyController.php | 7 +- backend/widgets/notify/views/_nav.php | 33 + .../widgets/notify/views/announce-view.php | 21 +- backend/widgets/notify/views/announce.php | 115 +- backend/widgets/notify/views/message.php | 93 +- backend/widgets/notify/views/notify.php | 12 +- backend/widgets/notify/views/remind.php | 131 +- backend/widgets/provinces/Provinces.php | 2 + .../widgets/provinces/ProvincesController.php | 7 +- backend/widgets/selectmap/Map.php | 13 +- backend/widgets/selectmap/MapController.php | 4 +- backend/widgets/selectmap/views/input.php | 2 + backend/widgets/selector/Select.php | 6 +- .../widgets/selector/SelectorController.php | 1 + common/behaviors/ActionLogBehavior.php | 13 - common/behaviors/CounterBehavior.php | 9 +- {api => common}/behaviors/HttpSignAuth.php | 4 +- common/behaviors/TrafficShaperBehavior.php | 38 + common/components/BaseAction.php | 2 +- common/components/Debris.php | 2 + common/components/Init.php | 44 +- common/components/Pay.php | 5 +- common/components/Service.php | 10 + common/components/TrafficShaper.php | 100 + common/components/UploadDrive.php | 4 + common/components/payment/AliPay.php | 68 +- common/components/payment/UnionPay.php | 6 +- common/components/payment/WechatPay.php | 6 +- common/config/main.php | 2 +- common/config/params.php | 8 +- common/controllers/FileBaseController.php | 17 +- common/controllers/WechatApiController.php | 6 +- common/enums/MessageLevelEnum.php | 1 + common/enums/StatusEnum.php | 1 + common/enums/SubscriptionActionEnum.php | 19 +- common/enums/SubscriptionAlertTypeEnum.php | 44 + common/enums/SubscriptionReasonEnum.php | 12 +- common/helpers/AddonHelper.php | 79 +- common/helpers/Auth.php | 2 +- common/helpers/EchantsHelper.php | 42 + common/helpers/Hook.php | 19 +- common/helpers/Html.php | 26 +- common/helpers/StringHelper.php | 19 + common/helpers/UploadHelper.php | 10 +- common/models/base/BaseModel.php | 1 + common/models/common/Addons.php | 11 + common/models/common/Attachment.php | 3 +- common/models/forms/CreditsLogForm.php | 3 +- common/models/forms/PayForm.php | 3 + {api => common/models}/forms/SignAuthForm.php | 2 +- common/models/member/Account.php | 61 + common/models/member/CreditsLog.php | 4 +- common/models/member/Member.php | 41 +- common/models/sys/Manager.php | 4 + common/models/sys/Menu.php | 38 +- common/models/sys/Notify.php | 2 +- common/models/sys/NotifyPullTime.php | 49 + .../models/sys/NotifySubscriptionConfig.php | 12 +- common/models/wechat/FormId.php | 24 +- common/queues/MailerJob.php | 1 + common/queues/SmsJob.php | 3 +- ...ateMsgJob.php => WechatTemplateMsgJob.php} | 5 +- common/widgets/Alert.php | 9 +- .../widgets/echarts/Echarts.php | 6 +- .../widgets/echarts/assets/AppAsset.php | 6 +- .../widgets/echarts/resources/echarts.min.js | 0 .../echarts/resources/extension/bmap.js | 0 .../echarts/resources/extension/bmap.js.map | 0 .../echarts/resources/extension/bmap.min.js | 0 .../echarts/resources/extension/dataTool.js | 0 .../resources/extension/dataTool.js.map | 0 .../resources/extension/dataTool.min.js | 0 .../echarts/resources/theme/macarons.js | 0 .../echarts/resources/theme/purple-passion.js | 0 .../widgets/echarts/resources/theme/roma.js | 0 .../widgets/echarts/resources/theme/walden.js | 0 .../echarts/resources/theme/westeros.js | 0 .../echarts/resources/theme/wonderland.js | 0 .../widgets/echarts/views/_nav.php | 0 .../widgets/echarts/views/area-stack.php | 0 .../widgets/echarts/views/bmap.php | 0 .../widgets/echarts/views/line-bar.php | 0 common/widgets/echarts/views/line-graphic.php | 89 + .../widgets/echarts/views/pie.php | 0 common/widgets/ueditor/UEditor.php | 21 +- common/widgets/ueditor/UeditorController.php | 1 - common/widgets/ueditor/assets/AppAsset.php | 3 +- .../ueditor/resources/dialogs/video/video.js | 116 +- .../widgets/ueditor/resources/ueditor.all.js | 29 +- .../ueditor/resources/ueditor.config.js | 6 +- common/widgets/webuploader/Files.php | 17 +- composer.lock | 732 ++-- console/controllers/MsgHistoryController.php | 10 +- console/controllers/PasswordController.php | 1 + console/controllers/PullRemindController.php | 72 + console/controllers/SendMessageController.php | 5 +- .../m190719_024048_common_attachment.php | 6 +- .../m190719_024049_member_money_log.php | 47 - .../migrations/m190719_024049_sys_manager.php | 1 + .../m190828_010629_sys_notify_pull_time.php | 39 + ...9_member.php => m190902_021229_member.php} | 10 +- .../m190902_021313_member_account.php | 44 + .../m190908_032821_wechat_form_id.php | 6 +- docs/guide-zh-CN/README.md | 7 +- docs/guide-zh-CN/addon-flow.md | 5 + docs/guide-zh-CN/addon-hook.md | 5 +- docs/guide-zh-CN/component-search-model.md | 86 +- docs/guide-zh-CN/images/RageFrame2.png | Bin 109663 -> 114294 bytes docs/guide-zh-CN/images/addon-activity.png | Bin 81076 -> 84309 bytes docs/guide-zh-CN/images/addon-list.png | Bin 114384 -> 165132 bytes docs/guide-zh-CN/images/log-stat.png | Bin 0 -> 149773 bytes docs/guide-zh-CN/images/member-info.png | Bin 0 -> 105739 bytes docs/guide-zh-CN/images/rbac-role.png | Bin 103055 -> 105612 bytes docs/guide-zh-CN/images/sys-config.png | Bin 119384 -> 97632 bytes docs/guide-zh-CN/images/sys-index.png | Bin 58142 -> 56415 bytes docs/guide-zh-CN/images/system.png | Bin 0 -> 145521 bytes docs/guide-zh-CN/images/wechat-menu.png | Bin 128593 -> 122814 bytes docs/guide-zh-CN/images/wechat-stat.png | Bin 111032 -> 0 bytes docs/guide-zh-CN/start-installation.md | 2 +- docs/guide-zh-CN/start-update-log.md | 34 + ...s-global-description.md => sys-console.md} | 28 +- docs/guide-zh-CN/sys-exploit.md | 40 +- docs/guide-zh-CN/sys-payment.md | 7 +- docs/guide-zh-CN/sys-queue.md | 11 + docs/guide-zh-CN/sys-subassembly.md | 21 +- docs/guide-zh-CN/sys-widget.md | 2 +- docs/guide-zh-CN/system-code-template.md | 136 + docs/guide-zh-CN/system-optimize.md | 5 +- docs/guide-zh-CN/system-relyon.md | 66 + environments/dev/web/api/index.php | 2 + environments/dev/web/backend/index.php | 2 + environments/dev/web/index.php | 2 + environments/dev/web/oauth2/index.php | 2 + environments/dev/web/wechat/index.php | 2 + frontend/config/params.php | 2 +- frontend/controllers/SiteController.php | 3 +- oauth2/behaviors/JWTAuth.php | 2 +- oauth2/config/params.php | 2 +- oauth2/controllers/ActiveController.php | 2 +- services/Application.php | 11 +- services/api/AccessTokenService.php | 25 +- services/common/ActionLogService.php | 10 +- services/common/AddonsConfigService.php | 25 + services/common/AddonsService.php | 18 +- services/common/AuthItemService.php | 4 +- services/common/AuthRoleService.php | 84 +- services/common/IpBlacklistService.php | 2 +- services/common/JPushService.php | 12 +- services/common/LogService.php | 166 +- services/common/PayService.php | 11 +- services/common/SmsService.php | 27 +- services/member/AccountService.php | 15 + services/member/AddressService.php | 1 + services/member/AuthService.php | 1 + services/member/CreditsLogService.php | 65 +- services/member/MemberService.php | 32 +- services/member/MoneyLogService.php | 39 - services/merchant/MerchantService.php | 3 +- services/oauth2/AccessTokenService.php | 12 +- services/oauth2/AuthorizationCodeService.php | 3 +- services/oauth2/ClientService.php | 1 + services/oauth2/RefreshTokenService.php | 9 +- services/oauth2/ServerService.php | 2 +- services/sys/ManagerService.php | 1 + services/sys/MenuCateService.php | 1 + services/sys/MenuService.php | 3 +- services/sys/NotifyPullTimeService.php | 55 + services/sys/NotifyService.php | 66 +- .../sys/NotifySubscriptionConfigService.php | 47 + services/sys/SysService.php | 1 + services/wechat/AttachmentNewsService.php | 3 +- services/wechat/AttachmentService.php | 42 +- services/wechat/FansService.php | 27 +- services/wechat/FansStatService.php | 9 +- services/wechat/FansTagMapService.php | 1 + services/wechat/FansTagsService.php | 1 + services/wechat/MenuProvincesService.php | 3 +- services/wechat/MenuService.php | 2 +- services/wechat/MessageService.php | 4 +- services/wechat/MsgHistoryService.php | 13 +- services/wechat/QrcodeService.php | 1 + services/wechat/ReplyDefaultService.php | 1 + services/wechat/RuleKeywordService.php | 174 +- services/wechat/RuleKeywordStatService.php | 3 +- services/wechat/RuleService.php | 3 +- services/wechat/RuleStatService.php | 3 +- services/wechat/SettingService.php | 2 +- services/wechat/TemplateMsgService.php | 33 +- .../bootstrap-colorpicker/.bower.json | 14 - .../bootstrap-colorpicker/.editorconfig | 11 - .../.github/CODE_OF_CONDUCT.md | 47 - .../.github/CONTRIBUTING.md | 42 - .../.github/ISSUE_TEMPLATE.md | 51 - .../.github/PULL_REQUEST_TEMPLATE.md | 38 - .../bootstrap-colorpicker/.jshintrc | 18 - .../bootstrap-colorpicker/.npmignore | 21 - .../bootstrap-colorpicker/.travis.yml | 13 - .../bootstrap-colorpicker/Gruntfile.js | 188 - .../bootstrap-colorpicker/LICENSE | 13 - .../bootstrap-colorpicker/README.md | 24 - .../bootstrap-colorpicker/composer.json | 15 - .../dist/css/bootstrap-colorpicker.css | 230 -- .../dist/css/bootstrap-colorpicker.css.map | 1 - .../dist/css/bootstrap-colorpicker.min.css | 10 - .../css/bootstrap-colorpicker.min.css.map | 1 - .../alpha-horizontal.png | Bin 557 -> 0 bytes .../dist/img/bootstrap-colorpicker/alpha.png | Bin 488 -> 0 bytes .../bootstrap-colorpicker/hue-horizontal.png | Bin 478 -> 0 bytes .../dist/img/bootstrap-colorpicker/hue.png | Bin 504 -> 0 bytes .../img/bootstrap-colorpicker/saturation.png | Bin 4143 -> 0 bytes .../dist/js/bootstrap-colorpicker.js | 1327 ------- .../dist/js/bootstrap-colorpicker.min.js | 5 - .../docs/assets/main.css | 61 - .../docs/helpers/code/index.js | 23 - .../docs/includes/api.hbs | 278 -- .../docs/includes/example.hbs | 13 - .../docs/includes/examples.hbs | 23 - .../docs/includes/examples/01_basic.hbs | 6 - .../docs/includes/examples/02_component.hbs | 9 - .../examples/03_component_options.hbs | 12 - .../docs/includes/examples/04_events.hbs | 8 - .../docs/includes/examples/05_transparent.hbs | 9 - .../docs/includes/examples/06_horizontal.hbs | 9 - .../docs/includes/examples/07_inline.hbs | 15 - .../docs/includes/examples/08_palette.hbs | 21 - .../docs/includes/examples/09_size.hbs | 37 - .../docs/includes/examples/10_disabled.hbs | 23 - .../docs/includes/examples/11_modal.hbs | 20 - .../docs/includes/social.hbs | 20 - .../bootstrap-colorpicker/docs/layout.hbs | 30 - .../docs/pages/index.hbs | 29 - .../bootstrap-colorpicker/index.html | 794 ---- .../bootstrap-colorpicker/package.json | 48 - .../bootstrap-colorpicker/serve.js | 31 - .../spec/color/hex-color-spec.js | 11 - .../spec/support/jasmine.json | 11 - .../src/js/colorpicker-color.js | 676 ---- .../src/js/colorpicker-component.js | 566 --- .../src/js/colorpicker-defaults.js | 65 - .../src/js/colorpicker-plugin-wrapper.js | 30 - .../src/less/colorpicker.less | 272 -- .../src/sass/_colorpicker.scss | 272 -- .../bootstrap-colorpicker/yarn.lock | 2362 ----------- .../bootstrap-datepicker/.bower.json | 23 - .../bootstrap-datepicker/.editorconfig | 11 - .../.github/ISSUE_TEMPLATE.md | 13 - .../.github/PULL_REQUEST_TEMPLATE.md | 7 - .../bootstrap-datepicker/.travis.yml | 9 - .../bootstrap-datepicker/CHANGELOG.md | 491 --- .../bootstrap-datepicker/CODE_OF_CONDUCT.md | 74 - .../bootstrap-datepicker/CONTRIBUTING.md | 41 - .../bootstrap-datepicker/Gruntfile.js | 261 -- .../bootstrap-datepicker/LICENSE | 202 - .../bootstrap-datepicker/README.md | 42 - .../bootstrap-datepicker/bower.json | 12 - .../bootstrap-datepicker/build/build.less | 69 - .../bootstrap-datepicker/build/build3.less | 76 - .../build/build_standalone.less | 64 - .../build/build_standalone3.less | 55 - .../bootstrap-datepicker/composer.json | 39 - .../dist/css/bootstrap-datepicker.css | 477 --- .../dist/css/bootstrap-datepicker.css.map | 1 - .../dist/css/bootstrap-datepicker.min.css | 7 - .../css/bootstrap-datepicker.standalone.css | 510 --- .../bootstrap-datepicker.standalone.css.map | 1 - .../bootstrap-datepicker.standalone.min.css | 7 - .../dist/css/bootstrap-datepicker3.css | 683 ---- .../dist/css/bootstrap-datepicker3.css.map | 1 - .../dist/css/bootstrap-datepicker3.min.css | 7 - .../css/bootstrap-datepicker3.standalone.css | 712 ---- .../bootstrap-datepicker3.standalone.css.map | 1 - .../bootstrap-datepicker3.standalone.min.css | 7 - .../dist/js/bootstrap-datepicker.js | 2035 ---------- .../dist/js/bootstrap-datepicker.min.js | 8 - .../locales/bootstrap-datepicker-en-CA.min.js | 1 - .../locales/bootstrap-datepicker.ar-tn.min.js | 1 - .../locales/bootstrap-datepicker.ar.min.js | 1 - .../locales/bootstrap-datepicker.az.min.js | 1 - .../locales/bootstrap-datepicker.bg.min.js | 1 - .../locales/bootstrap-datepicker.bn.min.js | 1 - .../locales/bootstrap-datepicker.br.min.js | 1 - .../locales/bootstrap-datepicker.bs.min.js | 1 - .../locales/bootstrap-datepicker.ca.min.js | 1 - .../locales/bootstrap-datepicker.cs.min.js | 1 - .../locales/bootstrap-datepicker.cy.min.js | 1 - .../locales/bootstrap-datepicker.da.min.js | 1 - .../locales/bootstrap-datepicker.de.min.js | 1 - .../locales/bootstrap-datepicker.el.min.js | 1 - .../locales/bootstrap-datepicker.en-AU.min.js | 1 - .../locales/bootstrap-datepicker.en-CA.min.js | 1 - .../locales/bootstrap-datepicker.en-GB.min.js | 1 - .../locales/bootstrap-datepicker.en-IE.min.js | 1 - .../locales/bootstrap-datepicker.en-NZ.min.js | 1 - .../locales/bootstrap-datepicker.en-ZA.min.js | 1 - .../locales/bootstrap-datepicker.eo.min.js | 1 - .../locales/bootstrap-datepicker.es.min.js | 1 - .../locales/bootstrap-datepicker.et.min.js | 1 - .../locales/bootstrap-datepicker.eu.min.js | 1 - .../locales/bootstrap-datepicker.fa.min.js | 1 - .../locales/bootstrap-datepicker.fi.min.js | 1 - .../locales/bootstrap-datepicker.fo.min.js | 1 - .../locales/bootstrap-datepicker.fr-CH.min.js | 1 - .../locales/bootstrap-datepicker.fr.min.js | 1 - .../locales/bootstrap-datepicker.gl.min.js | 1 - .../locales/bootstrap-datepicker.he.min.js | 1 - .../locales/bootstrap-datepicker.hi.min.js | 1 - .../locales/bootstrap-datepicker.hr.min.js | 1 - .../locales/bootstrap-datepicker.hu.min.js | 1 - .../locales/bootstrap-datepicker.hy.min.js | 1 - .../locales/bootstrap-datepicker.id.min.js | 1 - .../locales/bootstrap-datepicker.is.min.js | 1 - .../locales/bootstrap-datepicker.it-CH.min.js | 1 - .../locales/bootstrap-datepicker.it.min.js | 1 - .../locales/bootstrap-datepicker.ja.min.js | 1 - .../locales/bootstrap-datepicker.ka.min.js | 1 - .../locales/bootstrap-datepicker.kh.min.js | 1 - .../locales/bootstrap-datepicker.kk.min.js | 1 - .../locales/bootstrap-datepicker.km.min.js | 1 - .../locales/bootstrap-datepicker.ko.min.js | 1 - .../locales/bootstrap-datepicker.kr.min.js | 1 - .../locales/bootstrap-datepicker.lt.min.js | 1 - .../locales/bootstrap-datepicker.lv.min.js | 1 - .../locales/bootstrap-datepicker.me.min.js | 1 - .../locales/bootstrap-datepicker.mk.min.js | 1 - .../locales/bootstrap-datepicker.mn.min.js | 1 - .../locales/bootstrap-datepicker.ms.min.js | 1 - .../locales/bootstrap-datepicker.nl-BE.min.js | 1 - .../locales/bootstrap-datepicker.nl.min.js | 1 - .../locales/bootstrap-datepicker.no.min.js | 1 - .../locales/bootstrap-datepicker.oc.min.js | 1 - .../locales/bootstrap-datepicker.pl.min.js | 1 - .../locales/bootstrap-datepicker.pt-BR.min.js | 1 - .../locales/bootstrap-datepicker.pt.min.js | 1 - .../locales/bootstrap-datepicker.ro.min.js | 1 - .../bootstrap-datepicker.rs-latin.min.js | 1 - .../locales/bootstrap-datepicker.rs.min.js | 1 - .../locales/bootstrap-datepicker.ru.min.js | 1 - .../locales/bootstrap-datepicker.si.min.js | 1 - .../locales/bootstrap-datepicker.sk.min.js | 1 - .../locales/bootstrap-datepicker.sl.min.js | 1 - .../locales/bootstrap-datepicker.sq.min.js | 1 - .../bootstrap-datepicker.sr-latin.min.js | 1 - .../locales/bootstrap-datepicker.sr.min.js | 1 - .../locales/bootstrap-datepicker.sv.min.js | 1 - .../locales/bootstrap-datepicker.sw.min.js | 1 - .../locales/bootstrap-datepicker.ta.min.js | 1 - .../locales/bootstrap-datepicker.tg.min.js | 1 - .../locales/bootstrap-datepicker.th.min.js | 1 - .../locales/bootstrap-datepicker.tk.min.js | 1 - .../locales/bootstrap-datepicker.tr.min.js | 1 - .../locales/bootstrap-datepicker.uk.min.js | 1 - .../bootstrap-datepicker.uz-cyrl.min.js | 1 - .../bootstrap-datepicker.uz-latn.min.js | 1 - .../locales/bootstrap-datepicker.vi.min.js | 1 - .../locales/bootstrap-datepicker.zh-CN.min.js | 1 - .../locales/bootstrap-datepicker.zh-TW.min.js | 1 - .../bootstrap-datepicker/docs/Makefile | 153 - .../bootstrap-datepicker/docs/README.md | 20 - .../docs/_screenshots/demo_head.html | 36 - .../docs/_screenshots/markup_component.html | 26 - .../docs/_screenshots/markup_daterange.html | 32 - .../docs/_screenshots/markup_inline.html | 15 - .../docs/_screenshots/markup_input.html | 21 - .../_screenshots/option_calendarweeks.html | 25 - .../docs/_screenshots/option_clearbtn.html | 22 - .../option_daysofweekdisabled.html | 22 - .../docs/_screenshots/option_enddate.html | 22 - .../docs/_screenshots/option_language.html | 36 - .../docs/_screenshots/option_multidate.html | 27 - .../docs/_screenshots/option_startdate.html | 22 - .../docs/_screenshots/option_todaybtn.html | 21 - .../_screenshots/option_todayhighlight.html | 47 - .../docs/_screenshots/option_weekstart.html | 25 - .../docs/_screenshots/script/common.css | 9 - .../docs/_screenshots/script/common.js | 2 - .../docs/_screenshots/script/debug.js | 21 - .../_screenshots/script/html-imports.min.js | 30 - .../docs/_screenshots/script/screenshot.js | 69 - .../docs/_static/screenshots/demo_head.png | Bin 48880 -> 0 bytes .../_static/screenshots/markup_component.png | Bin 18320 -> 0 bytes .../_static/screenshots/markup_daterange.png | Bin 23879 -> 0 bytes .../_static/screenshots/markup_inline.png | Bin 16089 -> 0 bytes .../docs/_static/screenshots/markup_input.png | Bin 17449 -> 0 bytes .../screenshots/option_calendarweeks.png | Bin 29735 -> 0 bytes .../_static/screenshots/option_clearbtn.png | Bin 18208 -> 0 bytes .../screenshots/option_daysofweekdisabled.png | Bin 17374 -> 0 bytes .../_static/screenshots/option_enddate.png | Bin 17100 -> 0 bytes .../_static/screenshots/option_language.png | Bin 59995 -> 0 bytes .../_static/screenshots/option_multidate.png | Bin 37891 -> 0 bytes .../_static/screenshots/option_startdate.png | Bin 17346 -> 0 bytes .../_static/screenshots/option_todaybtn.png | Bin 18433 -> 0 bytes .../screenshots/option_todayhighlight.png | Bin 23234 -> 0 bytes .../_static/screenshots/option_weekstart.png | Bin 31564 -> 0 bytes .../bootstrap-datepicker/docs/conf.py | 249 -- .../bootstrap-datepicker/docs/events.rst | 63 - .../bootstrap-datepicker/docs/i18n.rst | 36 - .../bootstrap-datepicker/docs/index.rst | 127 - .../bootstrap-datepicker/docs/keyboard.rst | 27 - .../bootstrap-datepicker/docs/make.bat | 190 - .../bootstrap-datepicker/docs/markup.rst | 89 - .../bootstrap-datepicker/docs/methods.rst | 226 -- .../bootstrap-datepicker/docs/options.rst | 567 --- .../docs/requirements.txt | 1 - .../bootstrap-datepicker/grunt/.jshintrc | 7 - .../bootstrap-datepicker/js/.jscsrc | 22 - .../bootstrap-datepicker/js/.jshintrc | 25 - .../js/bootstrap-datepicker.js | 2048 ---------- .../js/locales/bootstrap-datepicker-en-CA.js | 22 - .../js/locales/bootstrap-datepicker.ar-tn.js | 15 - .../js/locales/bootstrap-datepicker.ar.js | 15 - .../js/locales/bootstrap-datepicker.az.js | 12 - .../js/locales/bootstrap-datepicker.bg.js | 14 - .../js/locales/bootstrap-datepicker.bn.js | 19 - .../js/locales/bootstrap-datepicker.br.js | 18 - .../js/locales/bootstrap-datepicker.bs.js | 15 - .../js/locales/bootstrap-datepicker.ca.js | 18 - .../js/locales/bootstrap-datepicker.cs.js | 19 - .../js/locales/bootstrap-datepicker.cy.js | 14 - .../js/locales/bootstrap-datepicker.da.js | 19 - .../js/locales/bootstrap-datepicker.de.js | 18 - .../js/locales/bootstrap-datepicker.el.js | 16 - .../js/locales/bootstrap-datepicker.en-AU.js | 18 - .../js/locales/bootstrap-datepicker.en-CA.js | 18 - .../js/locales/bootstrap-datepicker.en-GB.js | 18 - .../js/locales/bootstrap-datepicker.en-IE.js | 17 - .../js/locales/bootstrap-datepicker.en-NZ.js | 17 - .../js/locales/bootstrap-datepicker.en-ZA.js | 17 - .../js/locales/bootstrap-datepicker.eo.js | 17 - .../js/locales/bootstrap-datepicker.es.js | 18 - .../js/locales/bootstrap-datepicker.et.js | 18 - .../js/locales/bootstrap-datepicker.eu.js | 19 - .../js/locales/bootstrap-datepicker.fa.js | 17 - .../js/locales/bootstrap-datepicker.fi.js | 17 - .../js/locales/bootstrap-datepicker.fo.js | 15 - .../js/locales/bootstrap-datepicker.fr-CH.js | 21 - .../js/locales/bootstrap-datepicker.fr.js | 18 - .../js/locales/bootstrap-datepicker.gl.js | 13 - .../js/locales/bootstrap-datepicker.he.js | 15 - .../js/locales/bootstrap-datepicker.hi.js | 18 - .../js/locales/bootstrap-datepicker.hr.js | 13 - .../js/locales/bootstrap-datepicker.hu.js | 18 - .../js/locales/bootstrap-datepicker.hy.js | 18 - .../js/locales/bootstrap-datepicker.id.js | 15 - .../js/locales/bootstrap-datepicker.is.js | 14 - .../js/locales/bootstrap-datepicker.it-CH.js | 20 - .../js/locales/bootstrap-datepicker.it.js | 18 - .../js/locales/bootstrap-datepicker.ja.js | 17 - .../js/locales/bootstrap-datepicker.ka.js | 17 - .../js/locales/bootstrap-datepicker.kh.js | 21 - .../js/locales/bootstrap-datepicker.kk.js | 15 - .../js/locales/bootstrap-datepicker.km.js | 15 - .../js/locales/bootstrap-datepicker.ko.js | 18 - .../js/locales/bootstrap-datepicker.kr.js | 19 - .../js/locales/bootstrap-datepicker.lt.js | 19 - .../js/locales/bootstrap-datepicker.lv.js | 18 - .../js/locales/bootstrap-datepicker.me.js | 17 - .../js/locales/bootstrap-datepicker.mk.js | 15 - .../js/locales/bootstrap-datepicker.mn.js | 17 - .../js/locales/bootstrap-datepicker.ms.js | 15 - .../js/locales/bootstrap-datepicker.nl-BE.js | 18 - .../js/locales/bootstrap-datepicker.nl.js | 18 - .../js/locales/bootstrap-datepicker.no.js | 18 - .../js/locales/bootstrap-datepicker.oc.js | 17 - .../js/locales/bootstrap-datepicker.pl.js | 17 - .../js/locales/bootstrap-datepicker.pt-BR.js | 17 - .../js/locales/bootstrap-datepicker.pt.js | 18 - .../js/locales/bootstrap-datepicker.ro.js | 17 - .../locales/bootstrap-datepicker.rs-latin.js | 20 - .../js/locales/bootstrap-datepicker.rs.js | 20 - .../js/locales/bootstrap-datepicker.ru.js | 18 - .../js/locales/bootstrap-datepicker.si.js | 18 - .../js/locales/bootstrap-datepicker.sk.js | 18 - .../js/locales/bootstrap-datepicker.sl.js | 15 - .../js/locales/bootstrap-datepicker.sq.js | 15 - .../locales/bootstrap-datepicker.sr-latin.js | 16 - .../js/locales/bootstrap-datepicker.sr.js | 16 - .../js/locales/bootstrap-datepicker.sv.js | 17 - .../js/locales/bootstrap-datepicker.sw.js | 15 - .../js/locales/bootstrap-datepicker.ta.js | 18 - .../js/locales/bootstrap-datepicker.tg.js | 19 - .../js/locales/bootstrap-datepicker.th.js | 14 - .../js/locales/bootstrap-datepicker.tk.js | 18 - .../js/locales/bootstrap-datepicker.tr.js | 18 - .../js/locales/bootstrap-datepicker.uk.js | 17 - .../locales/bootstrap-datepicker.uz-cyrl.js | 18 - .../locales/bootstrap-datepicker.uz-latn.js | 18 - .../js/locales/bootstrap-datepicker.vi.js | 16 - .../js/locales/bootstrap-datepicker.zh-CN.js | 18 - .../js/locales/bootstrap-datepicker.zh-TW.js | 18 - .../bootstrap-datepicker/less/.csslintrc | 19 - .../bootstrap-datepicker/less/datepicker.less | 242 -- .../less/datepicker3.less | 257 -- .../bootstrap-datepicker/package.json | 48 - .../bootstrap-datepicker/tests/README.md | 30 - .../tests/assets/coverage.js | 48 - .../tests/assets/jquery-1.7.1.min.js | 4 - .../bootstrap-datepicker/tests/assets/mock.js | 49 - .../tests/assets/qunit-logging.js | 29 - .../tests/assets/qunit.css | 235 -- .../tests/assets/qunit.js | 1669 -------- .../tests/assets/utils.js | 21 - .../tests/suites/calendar-weeks.js | 48 - .../tests/suites/component.js | 267 -- .../tests/suites/data-api.js | 114 - .../tests/suites/events.js | 507 --- .../tests/suites/formats.js | 314 -- .../tests/suites/inline.js | 28 - .../tests/suites/keyboard_navigation/2011.js | 228 -- .../tests/suites/keyboard_navigation/2012.js | 483 --- .../tests/suites/keyboard_navigation/all.js | 62 - .../tests/suites/methods.js | 188 - .../tests/suites/methods_jquery.js | 26 - .../tests/suites/mouse_navigation/2011.js | 66 - .../tests/suites/mouse_navigation/2012.js | 266 -- .../tests/suites/mouse_navigation/all.js | 33 - .../tests/suites/noconflict.js | 20 - .../tests/suites/options.js | 1802 --------- .../tests/suites/timezone.js | 24 - .../tests/suites/touch_navigation/all.js | 27 - .../bootstrap-datepicker/tests/tests.html | 55 - .../bootstrap-datepicker/tests/timezone.html | 36 - .../bootstrap-datepicker/yarn.lock | 1963 ---------- .../bootstrap-daterangepicker/.bower.json | 31 - .../bootstrap-daterangepicker/README.md | 44 - .../bootstrap-daterangepicker/bower.json | 20 - .../daterangepicker.css | 269 -- .../daterangepicker.js | 1653 -------- .../daterangepicker.scss | 611 --- .../bootstrap-daterangepicker/demo.html | 369 -- .../bootstrap-daterangepicker/drp.png | Bin 216210 -> 0 bytes .../example/amd/index.html | 210 - .../example/amd/main.js | 141 - .../example/amd/require.js | 36 - .../example/browserify/README.md | 11 - .../example/browserify/bundle.js | 0 .../example/browserify/index.html | 209 - .../example/browserify/main.js | 135 - .../bootstrap-daterangepicker/package.js | 18 - .../bootstrap-daterangepicker/package.json | 32 - .../website/index.html | 836 ---- .../website/website.css | 127 - .../website/website.js | 146 - .../bootstrap-timepicker/.bower.json | 45 - .../bootstrap-timepicker/CHANGELOG.md | 56 - .../bootstrap-timepicker/LICENSE | 20 - .../bootstrap-timepicker/README.md | 73 - .../bootstrap-timepicker/bower.json | 35 - .../bootstrap-timepicker/css/timepicker.less | 172 - .../js/bootstrap-timepicker.js | 1177 ------ .../bower_components/chart.js/.bower.json | 20 - .../bower_components/chart.js/.travis.yml | 13 - .../bower_components/chart.js/CONTRIBUTING.md | 55 - .../bower_components/chart.js/Chart.js | 3477 ----------------- .../bower_components/chart.js/Chart.min.js | 11 - .../bower_components/chart.js/LICENSE.md | 7 - .../bower_components/chart.js/README.md | 20 - .../bower_components/chart.js/bower.json | 11 - .../chart.js/docs/00-Getting-Started.md | 203 - .../chart.js/docs/01-Line-Chart.md | 166 - .../chart.js/docs/02-Bar-Chart.md | 149 - .../chart.js/docs/03-Radar-Chart.md | 177 - .../chart.js/docs/04-Polar-Area-Chart.md | 172 - .../chart.js/docs/05-Pie-Doughnut-Chart.md | 158 - .../chart.js/docs/06-Advanced.md | 185 - .../chart.js/docs/07-Notes.md | 42 - .../bower_components/chart.js/gulpfile.js | 137 - .../bower_components/chart.js/package.json | 28 - .../chart.js/samples/bar.html | 45 - .../chart.js/samples/doughnut.html | 67 - .../chart.js/samples/line-customTooltips.html | 129 - .../chart.js/samples/line.html | 54 - .../chart.js/samples/pie-customTooltips.html | 156 - .../chart.js/samples/pie.html | 58 - .../chart.js/samples/polar-area.html | 60 - .../chart.js/samples/radar.html | 53 - .../chart.js/src/Chart.Bar.js | 302 -- .../chart.js/src/Chart.Core.js | 2021 ---------- .../chart.js/src/Chart.Doughnut.js | 184 - .../chart.js/src/Chart.Line.js | 374 -- .../chart.js/src/Chart.PolarArea.js | 250 -- .../chart.js/src/Chart.Radar.js | 343 -- web/backend/resources/dist/css/checkbox.css | 257 ++ web/backend/resources/dist/css/rageframe.css | 14 +- .../resources/dist/css/rageframe.widgets.css | 1 + web/backend/resources/dist/js/contabs.js | 3 + web/backend/resources/dist/js/rageframe.js | 11 +- .../resources/dist/js/rageframe.widgets.js | 123 +- .../resources/dist/js/ueditor.all.min.js | 710 ---- .../resources/plugins/jsTree/jstree.min.js | 69 - wechat/assets/AppAsset.php | 1 + wechat/config/params.php | 2 +- wechat/controllers/FileController.php | 6 +- 733 files changed, 7796 insertions(+), 48149 deletions(-) create mode 100644 addons/RfDevTool/backend/controllers/TimestampController.php create mode 100644 addons/RfDevTool/backend/views/timestamp/index.php rename addons/RfExample/backend/views/curd/{content.php => _form.php} (98%) delete mode 100644 backend/modules/sys/components/cpu_usage.vbs delete mode 100644 backend/modules/sys/components/memory_usage.vbs delete mode 100644 backend/widgets/echarts/views/line-graphic.php create mode 100644 backend/widgets/jstree/JsTree.php create mode 100644 backend/widgets/jstree/assets/AppAsset.php rename {web/backend/resources/plugins/jsTree => backend/widgets/jstree/resources}/jstree.js (85%) create mode 100644 backend/widgets/jstree/resources/jstree.min.js create mode 100644 backend/widgets/jstree/resources/themes/default-dark/32px.png create mode 100644 backend/widgets/jstree/resources/themes/default-dark/40px.png create mode 100644 backend/widgets/jstree/resources/themes/default-dark/style.css create mode 100644 backend/widgets/jstree/resources/themes/default-dark/style.min.css create mode 100644 backend/widgets/jstree/resources/themes/default-dark/throbber.gif rename {web/backend/resources/plugins/jsTree => backend/widgets/jstree/resources/themes/default-rage}/32px.png (100%) rename {web/backend/resources/plugins/jsTree => backend/widgets/jstree/resources/themes/default-rage}/style.min.css (100%) rename {web/backend/resources/plugins/jsTree => backend/widgets/jstree/resources/themes/default-rage}/throbber.gif (100%) create mode 100644 backend/widgets/jstree/resources/themes/default/32px.png create mode 100644 backend/widgets/jstree/resources/themes/default/40px.png create mode 100644 backend/widgets/jstree/resources/themes/default/style.css create mode 100644 backend/widgets/jstree/resources/themes/default/style.min.css create mode 100644 backend/widgets/jstree/resources/themes/default/throbber.gif create mode 100644 backend/widgets/jstree/views/default.php create mode 100644 backend/widgets/notify/views/_nav.php rename {api => common}/behaviors/HttpSignAuth.php (94%) create mode 100644 common/behaviors/TrafficShaperBehavior.php create mode 100644 common/components/TrafficShaper.php create mode 100644 common/enums/SubscriptionAlertTypeEnum.php rename {api => common/models}/forms/SignAuthForm.php (97%) create mode 100644 common/models/member/Account.php create mode 100644 common/models/sys/NotifyPullTime.php rename common/queues/{WxTemplateMsgJob.php => WechatTemplateMsgJob.php} (80%) rename {backend => common}/widgets/echarts/Echarts.php (94%) rename {backend => common}/widgets/echarts/assets/AppAsset.php (74%) rename {backend => common}/widgets/echarts/resources/echarts.min.js (100%) rename {backend => common}/widgets/echarts/resources/extension/bmap.js (100%) rename {backend => common}/widgets/echarts/resources/extension/bmap.js.map (100%) rename {backend => common}/widgets/echarts/resources/extension/bmap.min.js (100%) rename {backend => common}/widgets/echarts/resources/extension/dataTool.js (100%) rename {backend => common}/widgets/echarts/resources/extension/dataTool.js.map (100%) rename {backend => common}/widgets/echarts/resources/extension/dataTool.min.js (100%) rename {backend => common}/widgets/echarts/resources/theme/macarons.js (100%) rename {backend => common}/widgets/echarts/resources/theme/purple-passion.js (100%) rename {backend => common}/widgets/echarts/resources/theme/roma.js (100%) rename {backend => common}/widgets/echarts/resources/theme/walden.js (100%) rename {backend => common}/widgets/echarts/resources/theme/westeros.js (100%) rename {backend => common}/widgets/echarts/resources/theme/wonderland.js (100%) rename {backend => common}/widgets/echarts/views/_nav.php (100%) rename {backend => common}/widgets/echarts/views/area-stack.php (100%) rename {backend => common}/widgets/echarts/views/bmap.php (100%) rename {backend => common}/widgets/echarts/views/line-bar.php (100%) create mode 100644 common/widgets/echarts/views/line-graphic.php rename {backend => common}/widgets/echarts/views/pie.php (100%) create mode 100644 console/controllers/PullRemindController.php delete mode 100644 console/migrations/m190719_024049_member_money_log.php create mode 100644 console/migrations/m190828_010629_sys_notify_pull_time.php rename console/migrations/{m190719_024049_member.php => m190902_021229_member.php} (81%) create mode 100644 console/migrations/m190902_021313_member_account.php create mode 100644 docs/guide-zh-CN/images/log-stat.png create mode 100644 docs/guide-zh-CN/images/member-info.png create mode 100644 docs/guide-zh-CN/images/system.png delete mode 100644 docs/guide-zh-CN/images/wechat-stat.png rename docs/guide-zh-CN/{sys-global-description.md => sys-console.md} (82%) create mode 100644 docs/guide-zh-CN/system-code-template.md create mode 100644 docs/guide-zh-CN/system-relyon.md create mode 100644 services/common/AddonsConfigService.php create mode 100644 services/member/AccountService.php delete mode 100644 services/member/MoneyLogService.php create mode 100644 services/sys/NotifyPullTimeService.php create mode 100644 services/sys/NotifySubscriptionConfigService.php delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.bower.json delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.editorconfig delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.github/CODE_OF_CONDUCT.md delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.github/CONTRIBUTING.md delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.github/ISSUE_TEMPLATE.md delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.github/PULL_REQUEST_TEMPLATE.md delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.jshintrc delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.npmignore delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/.travis.yml delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/Gruntfile.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/LICENSE delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/README.md delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/composer.json delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css.map delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css.map delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha-horizontal.png delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha.png delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue-horizontal.png delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue.png delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/img/bootstrap-colorpicker/saturation.png delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/assets/main.css delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/helpers/code/index.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/api.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/example.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/01_basic.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/02_component.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/03_component_options.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/04_events.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/05_transparent.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/06_horizontal.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/07_inline.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/08_palette.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/09_size.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/examples/11_modal.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/includes/social.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/layout.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/docs/pages/index.hbs delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/index.html delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/package.json delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/serve.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/spec/color/hex-color-spec.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/spec/support/jasmine.json delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/src/js/colorpicker-color.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/src/js/colorpicker-component.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/src/js/colorpicker-defaults.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/src/js/colorpicker-plugin-wrapper.js delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/src/less/colorpicker.less delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/src/sass/_colorpicker.scss delete mode 100644 web/backend/resources/bower_components/bootstrap-colorpicker/yarn.lock delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/.bower.json delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/.editorconfig delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/.github/ISSUE_TEMPLATE.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/.github/PULL_REQUEST_TEMPLATE.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/.travis.yml delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/CHANGELOG.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/CODE_OF_CONDUCT.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/CONTRIBUTING.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/Gruntfile.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/LICENSE delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/README.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/bower.json delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/build/build.less delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/build/build3.less delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/build/build_standalone.less delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/build/build_standalone3.less delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/composer.json delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.css.map delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css.map delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.min.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.css.map delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.css.map delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.min.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker-en-CA.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ar-tn.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ar.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.az.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.bg.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.bn.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.br.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.bs.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ca.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.cs.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.cy.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.da.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.de.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.el.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-AU.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-CA.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-GB.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-IE.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-NZ.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-ZA.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.eo.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.es.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.et.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.eu.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fa.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fi.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fo.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fr-CH.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fr.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.gl.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.he.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.hi.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.hr.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.hu.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.hy.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.id.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.is.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.it-CH.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.it.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ja.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ka.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.kh.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.kk.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.km.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ko.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.kr.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.lt.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.lv.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.me.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.mk.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.mn.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ms.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nl-BE.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nl.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.no.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.oc.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pl.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pt-BR.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pt.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ro.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.rs-latin.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.rs.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ru.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.si.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sk.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sl.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sq.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sr-latin.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sr.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sv.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sw.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ta.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.tg.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.th.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.tk.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.tr.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.uk.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.uz-cyrl.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.uz-latn.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.vi.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-CN.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-TW.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/Makefile delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/README.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/demo_head.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/markup_component.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/markup_daterange.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/markup_inline.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/markup_input.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_calendarweeks.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_clearbtn.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_daysofweekdisabled.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_enddate.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_language.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_multidate.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_startdate.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_todaybtn.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_todayhighlight.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/option_weekstart.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/script/common.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/script/common.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/script/debug.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/script/html-imports.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_screenshots/script/screenshot.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/demo_head.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/markup_component.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/markup_daterange.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/markup_inline.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/markup_input.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_calendarweeks.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_clearbtn.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_daysofweekdisabled.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_enddate.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_language.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_multidate.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_startdate.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_todaybtn.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_todayhighlight.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/_static/screenshots/option_weekstart.png delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/conf.py delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/events.rst delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/i18n.rst delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/index.rst delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/keyboard.rst delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/make.bat delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/markup.rst delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/methods.rst delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/options.rst delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/docs/requirements.txt delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/grunt/.jshintrc delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/.jscsrc delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/.jshintrc delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker-en-CA.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ar-tn.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ar.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.az.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.bg.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.bn.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.br.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.bs.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ca.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.cy.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.el.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-AU.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-CA.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-GB.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-IE.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-NZ.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-ZA.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.eo.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.et.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.eu.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fa.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fo.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr-CH.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.gl.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.he.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.hi.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.hr.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.hu.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.hy.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.it-CH.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ka.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.kh.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.kk.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.km.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ko.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.me.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.mk.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.mn.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl-BE.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.no.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.oc.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ro.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs-latin.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.si.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sk.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sl.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sq.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sr-latin.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sr.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sw.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ta.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.tg.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.tk.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.uk.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.uz-cyrl.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.uz-latn.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.vi.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/less/.csslintrc delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/less/datepicker.less delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/less/datepicker3.less delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/package.json delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/README.md delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/assets/coverage.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/assets/jquery-1.7.1.min.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/assets/mock.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/assets/qunit-logging.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/assets/qunit.css delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/assets/qunit.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/assets/utils.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/calendar-weeks.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/component.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/data-api.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/events.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/formats.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/inline.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/keyboard_navigation/2011.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/keyboard_navigation/2012.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/keyboard_navigation/all.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/methods.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/methods_jquery.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/mouse_navigation/2011.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/mouse_navigation/2012.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/mouse_navigation/all.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/noconflict.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/options.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/timezone.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/suites/touch_navigation/all.js delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/tests.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/tests/timezone.html delete mode 100644 web/backend/resources/bower_components/bootstrap-datepicker/yarn.lock delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/.bower.json delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/README.md delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/bower.json delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/daterangepicker.css delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/daterangepicker.js delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/daterangepicker.scss delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/demo.html delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/drp.png delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/example/amd/index.html delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/example/amd/main.js delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/example/amd/require.js delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/example/browserify/README.md delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/example/browserify/bundle.js delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/example/browserify/index.html delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/example/browserify/main.js delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/package.js delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/package.json delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/website/index.html delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/website/website.css delete mode 100644 web/backend/resources/bower_components/bootstrap-daterangepicker/website/website.js delete mode 100644 web/backend/resources/bower_components/bootstrap-timepicker/.bower.json delete mode 100644 web/backend/resources/bower_components/bootstrap-timepicker/CHANGELOG.md delete mode 100644 web/backend/resources/bower_components/bootstrap-timepicker/LICENSE delete mode 100644 web/backend/resources/bower_components/bootstrap-timepicker/README.md delete mode 100644 web/backend/resources/bower_components/bootstrap-timepicker/bower.json delete mode 100644 web/backend/resources/bower_components/bootstrap-timepicker/css/timepicker.less delete mode 100644 web/backend/resources/bower_components/bootstrap-timepicker/js/bootstrap-timepicker.js delete mode 100644 web/backend/resources/bower_components/chart.js/.bower.json delete mode 100644 web/backend/resources/bower_components/chart.js/.travis.yml delete mode 100644 web/backend/resources/bower_components/chart.js/CONTRIBUTING.md delete mode 100644 web/backend/resources/bower_components/chart.js/Chart.js delete mode 100644 web/backend/resources/bower_components/chart.js/Chart.min.js delete mode 100644 web/backend/resources/bower_components/chart.js/LICENSE.md delete mode 100644 web/backend/resources/bower_components/chart.js/README.md delete mode 100644 web/backend/resources/bower_components/chart.js/bower.json delete mode 100644 web/backend/resources/bower_components/chart.js/docs/00-Getting-Started.md delete mode 100644 web/backend/resources/bower_components/chart.js/docs/01-Line-Chart.md delete mode 100644 web/backend/resources/bower_components/chart.js/docs/02-Bar-Chart.md delete mode 100644 web/backend/resources/bower_components/chart.js/docs/03-Radar-Chart.md delete mode 100644 web/backend/resources/bower_components/chart.js/docs/04-Polar-Area-Chart.md delete mode 100644 web/backend/resources/bower_components/chart.js/docs/05-Pie-Doughnut-Chart.md delete mode 100644 web/backend/resources/bower_components/chart.js/docs/06-Advanced.md delete mode 100644 web/backend/resources/bower_components/chart.js/docs/07-Notes.md delete mode 100644 web/backend/resources/bower_components/chart.js/gulpfile.js delete mode 100644 web/backend/resources/bower_components/chart.js/package.json delete mode 100644 web/backend/resources/bower_components/chart.js/samples/bar.html delete mode 100644 web/backend/resources/bower_components/chart.js/samples/doughnut.html delete mode 100644 web/backend/resources/bower_components/chart.js/samples/line-customTooltips.html delete mode 100644 web/backend/resources/bower_components/chart.js/samples/line.html delete mode 100644 web/backend/resources/bower_components/chart.js/samples/pie-customTooltips.html delete mode 100644 web/backend/resources/bower_components/chart.js/samples/pie.html delete mode 100644 web/backend/resources/bower_components/chart.js/samples/polar-area.html delete mode 100644 web/backend/resources/bower_components/chart.js/samples/radar.html delete mode 100644 web/backend/resources/bower_components/chart.js/src/Chart.Bar.js delete mode 100644 web/backend/resources/bower_components/chart.js/src/Chart.Core.js delete mode 100644 web/backend/resources/bower_components/chart.js/src/Chart.Doughnut.js delete mode 100644 web/backend/resources/bower_components/chart.js/src/Chart.Line.js delete mode 100644 web/backend/resources/bower_components/chart.js/src/Chart.PolarArea.js delete mode 100644 web/backend/resources/bower_components/chart.js/src/Chart.Radar.js create mode 100644 web/backend/resources/dist/css/checkbox.css delete mode 100644 web/backend/resources/dist/js/ueditor.all.min.js delete mode 100644 web/backend/resources/plugins/jsTree/jstree.min.js diff --git a/README.md b/README.md index 51c4aa5e8..b3dab832c 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,15 @@ RageFrame创建于2016年4月16日,一个基于Yii2高级框架的快速开发 - 极致的插件机制,系统内的系统,安装和卸载不会对原来的系统产生影响,强大的功能完全满足各阶段的需求,支持用户多端访问(后台、微信、Api、前台等),系统中的系统。 - 极完善的RBAC权限控制管理、无限父子级权限分组、可自由分配子级权限,且按钮/链接/自定义内容/插件等都可加入权限控制。 - 只做基础底层内容,不会在上面开发过多的业务内容,满足绝大多数的系统二次开发。 -- 多入口模式,多入口分为 backend(后台)、frontend(PC前端),wechat(微信),api(对内接口),oauth2 server(对外接口),不同的业务,不同的设备,进入不同的入口。 +- 多入口模式,多入口分为 backend(后台)、frontend(PC前端)、wechat(微信)、console(控制台)、api(对内接口)、oauth2 server(对外接口),不同的业务,不同的设备,进入不同的入口。 - 对接微信公众号且支持小程序,使用了一款优秀的微信非官方SDK Easywechat 4.x,开箱即用,预置了绝大部分功能,大幅度的提升了微信开发效率。 - 整合了第三方登录,目前有QQ、微信、微博、GitHub等等。 - 整合了第三方支付,目前有微信支付、支付宝支付、银联支付,二次封装为网关多个支付一个入口一个出口。 - 整合了RESTful API,支持前后端分离接口开发和app接口开发,可直接上手开发业务。 - 一键切换云存储,本地存储、腾讯COS、阿里云OOS、七牛云存储都可一键切换,且增加其他第三方存储也非常方便。 -- 全面监控系统报错,报错日志写入数据库,方便定位错误信息。 +- 全面监控系统报错,报错日志写入数据库,方便定位错误信息。支持直接钉钉提醒。 - 快速高效的Servises(服务层),遵循Yii2的懒加载方式,只初始化使用到的组件服务。 -- 丰富的表单控件(时间、日期、时间日期、日期范围选择、颜色选择器、省市区三级联动、省市区勾选、单图上传、多图上传、单文件上传、多文件上传、百度编辑器、图表、多文本编辑框、地图经纬度选择器、图片裁剪上传、TreeGrid)和组件(二维码生成、Curl、IP地址转地区),快速开发,不必在为基础组件而担忧。 +- 丰富的表单控件(时间、日期、时间日期、日期范围选择、颜色选择器、省市区三级联动、省市区勾选、单图上传、多图上传、单文件上传、多文件上传、百度编辑器、百度图表、多文本编辑框、地图经纬度选择器、图片裁剪上传、TreeGrid、JsTree)和组件(二维码生成、Curl、IP地址转地区),快速开发,不必在为基础组件而担忧。 - 完善的文档和辅助类,方便二次开发与集成。 ### 思维导图 @@ -38,14 +38,18 @@ RageFrame创建于2016年4月16日,一个基于Yii2高级框架的快速开发 ![image](docs/guide-zh-CN/images/sys-config.png) 【系统 - 角色编辑】 ![image](docs/guide-zh-CN/images/rbac-role.png) +【系统 - 日志统计】 +![image](docs/guide-zh-CN/images/log-stat.png) +【会员 - 信息】 +![image](docs/guide-zh-CN/images/member-info.png) 【微信 - 自定义菜单】 ![image](docs/guide-zh-CN/images/wechat-menu.png) -【微信 - 关注统计】 -![image](docs/guide-zh-CN/images/wechat-stat.png) 【插件模块 - 列表】 ![image](docs/guide-zh-CN/images/addon-list.png) 【插件模块 - 文章模块】 ![image](docs/guide-zh-CN/images/addon-activity.png) +【插件模块 - 系统监控】 +![image](docs/guide-zh-CN/images/system.png) ### 开始之前 diff --git a/addons/RfArticle/Upgrade.php b/addons/RfArticle/Upgrade.php index 3bfac39b6..aa7de5313 100644 --- a/addons/RfArticle/Upgrade.php +++ b/addons/RfArticle/Upgrade.php @@ -1,4 +1,5 @@ version) - { + switch ($addon->version) { case '1.0.1' : // 增加测试 - 冗余的字段 // $migration->addColumn('{{%addon_example_curd}}', 'redundancy_field', 'varchar(48)'); diff --git a/addons/RfArticle/api/controllers/AdvController.php b/addons/RfArticle/api/controllers/AdvController.php index 7355c1e5f..973b732af 100644 --- a/addons/RfArticle/api/controllers/AdvController.php +++ b/addons/RfArticle/api/controllers/AdvController.php @@ -1,4 +1,5 @@ [ [ - 'title' => '首页入口', - 'route' => 'index/index', + 'title' => '幻灯片管理', + 'route' => 'adv/index', 'icon' => '' - ] + ], + [ + 'title' => '文章分类管理', + 'route' => 'article-cate/index', + 'icon' => '' + ], + [ + 'title' => '文章管理', + 'route' => 'article/index', + 'icon' => '' + ], ], // ----------------------- 菜单配置 ----------------------- // diff --git a/addons/RfArticle/common/models/Adv.php b/addons/RfArticle/common/models/Adv.php index 37ce51da1..b471e9ed6 100644 --- a/addons/RfArticle/common/models/Adv.php +++ b/addons/RfArticle/common/models/Adv.php @@ -1,4 +1,5 @@ where(['<', 'id', $id]) ->andWhere(['merchant_id' => Yii::$app->services->merchant->getId()]) ->select(['id', 'title']) - ->orderBy('id asc') + ->orderBy('id desc') ->one(); } @@ -180,7 +181,7 @@ protected function getPosition() */ public function getCate() { - return $this->hasOne(ArticleCate::class,['id' => 'cate_id']); + return $this->hasOne(ArticleCate::class, ['id' => 'cate_id']); } /** diff --git a/addons/RfArticle/common/models/ArticleCate.php b/addons/RfArticle/common/models/ArticleCate.php index e87227e32..f17dd7a37 100644 --- a/addons/RfArticle/common/models/ArticleCate.php +++ b/addons/RfArticle/common/models/ArticleCate.php @@ -1,4 +1,5 @@
- +
置顶 diff --git a/addons/RfArticle/wechat/assets/AppAsset.php b/addons/RfArticle/wechat/assets/AppAsset.php index 86354057b..5aa04d491 100644 --- a/addons/RfArticle/wechat/assets/AppAsset.php +++ b/addons/RfArticle/wechat/assets/AppAsset.php @@ -1,4 +1,5 @@ request->isAjax) - { + if (Yii::$app->request->isAjax) { $data = ArticleSingle::find() ->select(['id', 'title', 'cover', 'created_at']) ->where(['status' => StatusEnum::ENABLED]) ->andFilterWhere(['merchant_id' => $this->getMerchantId()]); - $pages = new Pagination(['totalCount' => $data->count(), 'pageSize' => $this->pageSize, 'validatePage' => false]); + $pages = new Pagination([ + 'totalCount' => $data->count(), + 'pageSize' => $this->pageSize, + 'validatePage' => false + ]); $models = $data->offset($pages->offset) ->orderBy('sort asc, id desc') ->limit($pages->limit) ->asArray() ->all(); - foreach ($models as &$model) - { + foreach ($models as &$model) { $model['link'] = Url::to(['detail', 'id' => $model['id']]); $model['created_at'] = date('Y-m-d', $model['created_at']); } diff --git a/addons/RfArticle/wechat/views/index/detail.php b/addons/RfArticle/wechat/views/index/detail.php index 6dcfb88a8..edee6df4b 100644 --- a/addons/RfArticle/wechat/views/index/detail.php +++ b/addons/RfArticle/wechat/views/index/detail.php @@ -1,4 +1,5 @@ title = '文章详情'; @@ -7,9 +8,8 @@

时间:formatter->asDate($model['created_at']); ?>
-
- +

diff --git a/addons/RfArticle/wechat/views/index/index.php b/addons/RfArticle/wechat/views/index/index.php index 469fc540a..193b9c53d 100644 --- a/addons/RfArticle/wechat/views/index/index.php +++ b/addons/RfArticle/wechat/views/index/index.php @@ -1,4 +1,5 @@
- +

{{item.title}}

{{item.created_at}}

@@ -25,27 +26,27 @@ \ No newline at end of file diff --git a/addons/RfDevTool/common/config/backend.php b/addons/RfDevTool/common/config/backend.php index 7b6074323..61470de2d 100644 --- a/addons/RfDevTool/common/config/backend.php +++ b/addons/RfDevTool/common/config/backend.php @@ -37,6 +37,13 @@ 'params' => [ ], ], + [ + 'title' => '时间戳转换', + 'route' => 'timestamp/index', + 'icon' => '', + 'params' => [ + ], + ], [ 'title' => 'PHP信息', 'route' => 'php-info/index', diff --git a/addons/RfExample/backend/views/curd/content.php b/addons/RfExample/backend/views/curd/_form.php similarity index 98% rename from addons/RfExample/backend/views/curd/content.php rename to addons/RfExample/backend/views/curd/_form.php index bdf218729..60a3bbe97 100644 --- a/addons/RfExample/backend/views/curd/content.php +++ b/addons/RfExample/backend/views/curd/_form.php @@ -137,6 +137,7 @@ field($model, 'content')->widget(\common\widgets\ueditor\UEditor::class, [ 'formData' => [ 'drive' => 'local', // 默认本地 支持qiniu/oss/cos 上传 + 'poster' => false, // 上传视频时返回视频封面图,开启此选项需要安装 ffmpeg 命令 'thumb' => [ [ 'width' => 100, diff --git a/addons/RfExample/backend/views/curd/edit.php b/addons/RfExample/backend/views/curd/edit.php index b1fdfeff8..9fd469c99 100644 --- a/addons/RfExample/backend/views/curd/edit.php +++ b/addons/RfExample/backend/views/curd/edit.php @@ -16,7 +16,7 @@

基本信息

- render('./content', [ + render('./_form', [ 'model' => $model, 'form' => $form, ]); ?> diff --git a/addons/RfExample/backend/views/grid-curd/edit.php b/addons/RfExample/backend/views/grid-curd/edit.php index f4ac9f6e6..ae03ead29 100644 --- a/addons/RfExample/backend/views/grid-curd/edit.php +++ b/addons/RfExample/backend/views/grid-curd/edit.php @@ -10,7 +10,7 @@
- render('../curd/content', [ + render('../curd/_form', [ 'model' => $model, 'form' => $form, ]); ?> diff --git a/addons/RfExample/backend/views/mongo-db-curd/index.php b/addons/RfExample/backend/views/mongo-db-curd/index.php index 8a5a7fe64..1e704f209 100644 --- a/addons/RfExample/backend/views/mongo-db-curd/index.php +++ b/addons/RfExample/backend/views/mongo-db-curd/index.php @@ -34,9 +34,9 @@ - $model['_id']]); ?> + $model['_id']]); ?> - $model['_id']]); ?> + $model['_id']]); ?> diff --git a/addons/RfExample/common/models/MongoDbCurd.php b/addons/RfExample/common/models/MongoDbCurd.php index 83415f471..e243febc6 100644 --- a/addons/RfExample/common/models/MongoDbCurd.php +++ b/addons/RfExample/common/models/MongoDbCurd.php @@ -1,9 +1,10 @@ 'intval'], [['author'], 'safe'], ]; @@ -60,6 +63,7 @@ public function attributeLabels() { return [ '_id' => 'ID', + 'merchant_id' => '商户ID', 'title' => '标题', 'sort' => '排序', 'status' => '状态', @@ -71,20 +75,4 @@ public function attributeLabels() 'updated_at' => '更新时间', ]; } - - /** - * @return array - */ - public function behaviors() - { - return [ - [ - 'class' => TimestampBehavior::class, - 'attributes' => [ - ActiveRecord::EVENT_BEFORE_INSERT => ['created_at', 'updated_at'], - ActiveRecord::EVENT_BEFORE_UPDATE => ['updated_at'], - ], - ], - ]; - } } \ No newline at end of file diff --git a/addons/RfHelpers/backend/controllers/DataBaseController.php b/addons/RfHelpers/backend/controllers/DataBaseController.php index b72efd2ca..b2f1af13d 100644 --- a/addons/RfHelpers/backend/controllers/DataBaseController.php +++ b/addons/RfHelpers/backend/controllers/DataBaseController.php @@ -81,6 +81,11 @@ public function actionExport() // 读取备份配置 $config = $this->config; + // 检查备份目录是否可写 + if (!is_writeable($config['path'])) { + return ResultDataHelper::json(404, '备份目录不存在或不可写,请检查后重试!'); + } + // 检查是否有正在执行的任务 $lock = $config['path'] . $config['lock']; if (is_file($lock)) { @@ -90,11 +95,6 @@ public function actionExport() // 创建锁文件 file_put_contents($lock, time()); - // 检查备份目录是否可写 - if (!is_writeable($config['path'])) { - return ResultDataHelper::json(404, '备份目录不存在或不可写,请检查后重试!'); - } - // 生成备份文件信息 $file = [ 'name' => date('Ymd-His', time()), diff --git a/addons/RfHelpers/backend/views/data-base/backups.php b/addons/RfHelpers/backend/views/data-base/backups.php index 72961ad46..cd609d023 100644 --- a/addons/RfHelpers/backend/views/data-base/backups.php +++ b/addons/RfHelpers/backend/views/data-base/backups.php @@ -229,9 +229,8 @@ function repair() { if (this.checked) { $("#list :checkbox").prop("checked", true); } else { - $("#list :checkbox").attr("checked", false); + $("#list :checkbox").prop("checked", false); } }); - }) \ No newline at end of file diff --git a/addons/RfMerchants/backend/controllers/RoleController.php b/addons/RfMerchants/backend/controllers/RoleController.php index 8752f5a8f..efddeb6c4 100644 --- a/addons/RfMerchants/backend/controllers/RoleController.php +++ b/addons/RfMerchants/backend/controllers/RoleController.php @@ -3,13 +3,13 @@ namespace addons\RfMerchants\backend\controllers; use Yii; +use yii\data\ActiveDataProvider; use common\helpers\ArrayHelper; use common\components\Curd; use common\models\common\AuthRole; use common\enums\AppEnum; use common\enums\AuthTypeEnum; use common\helpers\ResultDataHelper; -use yii\data\ActiveDataProvider; /** * Class RoleController @@ -55,13 +55,6 @@ public function actionIndex() 'pagination' => false ]); - foreach ($childRoles as &$childRole) { - $role_id = $role['id'] ?? 0; - if ($childRole['pid'] == $role_id) { - $childRole['pid'] = 0; - }; - } - $dataProvider->setModels($childRoles); return $this->render('index', [ @@ -92,15 +85,36 @@ public function actionEdit() } // 创建角色关联的权限信息 - Yii::$app->services->authRole->accredit($model->id, $data['userTreeIds'] ?? [], AuthTypeEnum::TYPE_DEFAULT); - Yii::$app->services->authRole->accredit($model->id, $data['plugTreeIds'] ?? [], AuthTypeEnum::TYPE_ADDONS); + Yii::$app->services->authRole->accredit($model->id, $data['userTreeIds'] ?? [], AuthTypeEnum::TYPE_DEFAULT, $this->appId); + Yii::$app->services->authRole->accredit($model->id, $data['plugTreeIds'] ?? [], AuthTypeEnum::TYPE_ADDONS, $this->appId); return ResultDataHelper::json(200, '提交成功'); } // 获取当前角色权限 - list($defaultFormAuth, $defaultCheckIds, $addonsFormAuth, $addonsCheckIds) = Yii::$app->services->authRole->getJsTreeData($id); + list($defaultFormAuth, $defaultCheckIds, $addonsFormAuth, $addonsCheckIds) = Yii::$app->services->authRole->getJsTreeData($id, $this->appId); + + return $this->render($this->action->id, [ + 'model' => $model, + 'defaultFormAuth' => $defaultFormAuth, + 'defaultCheckIds' => $defaultCheckIds, + 'addonsFormAuth' => $addonsFormAuth, + 'addonsCheckIds' => $addonsCheckIds, + 'dropDownList' => $this->getDropDownList($id), + 'merchant_id' => $this->merchant_id + ]); + } + /** + * 获取上级角色 + * + * 注意:如果是其他应用则需要自行获取上级 + * + * @param $id + * @return array + */ + protected function getDropDownList($id) + { // 获取父级 $role = Yii::$app->services->authRole->getRole(); $childRoles = Yii::$app->services->authRole->getChildList($this->appId, $role); @@ -112,19 +126,10 @@ public function actionEdit() } $dropDownList = ArrayHelper::itemsMerge($childRoles, $role['pid'] ?? 0); - $dropDownList = ArrayHelper::map(ArrayHelper::itemsMergeDropDown($dropDownList, 'id', 'title', - $role['level'] ?? 1), 'id', 'title'); + $dropDownList = ArrayHelper::map(ArrayHelper::itemsMergeDropDown($dropDownList, 'id', 'title', $role['level'] ?? 1), 'id', 'title'); Yii::$app->services->auth->isSuperAdmin() && $dropDownList = ArrayHelper::merge([0 => '顶级角色'], $dropDownList); - return $this->render($this->action->id, [ - 'model' => $model, - 'defaultFormAuth' => $defaultFormAuth, - 'defaultCheckIds' => $defaultCheckIds, - 'addonsFormAuth' => $addonsFormAuth, - 'addonsCheckIds' => $addonsCheckIds, - 'dropDownList' => $dropDownList, - 'merchant_id' => $this->merchant_id - ]); + return $dropDownList; } /** diff --git a/addons/RfMerchants/backend/views/role/edit.php b/addons/RfMerchants/backend/views/role/edit.php index 3c249ee5f..a9dd9c277 100644 --- a/addons/RfMerchants/backend/views/role/edit.php +++ b/addons/RfMerchants/backend/views/role/edit.php @@ -1,8 +1,8 @@ title = $model->isNewRecord ? '创建' : '编辑'; $this->params['breadcrumbs'][] = ['label' => '商户管理', 'url' => ['merchant/index']]; @@ -10,8 +10,6 @@ $this->params['breadcrumbs'][] = ['label' => $this->title]; ?> - -
@@ -26,11 +24,23 @@
field($model, 'pid')->dropDownList($dropDownList) ?> field($model, 'title')->textInput(); ?> + field($model, 'status')->radioList(StatusEnum::$listExplain); ?> field($model, 'sort')->textInput(); ?> - field($model, 'status')->radioList(StatusEnum::$listExplain); ?>
-
-
+
+ "userTree", + 'defaultData' => $defaultFormAuth, + 'selectIds' => $defaultCheckIds, + ])?> +
+
+ "plugTree", + 'defaultData' => $addonsFormAuth, + 'selectIds' => $addonsCheckIds, + ])?> +
- - -render('_footer')?> +render('_footer') ?> endBody() ?> diff --git a/backend/views/layouts/default.php b/backend/views/layouts/default.php index 657eab5cc..87ebcf4db 100644 --- a/backend/views/layouts/default.php +++ b/backend/views/layouts/default.php @@ -1,31 +1,35 @@ beginPage() ?> - - - - - - - - <?= Html::encode($this->title) ?> - head() ?> - -beginBody() ?> - - -render('_footer')?> -endBody() ?> - + + + + + + + + <?= Html::encode($this->title) ?> + head() ?> + + beginBody() ?> + + + render('_footer') ?> + endBody() ?> + endPage() ?> \ No newline at end of file diff --git a/backend/views/layouts/main.php b/backend/views/layouts/main.php index b5fc623bf..a1f0102f9 100644 --- a/backend/views/layouts/main.php +++ b/backend/views/layouts/main.php @@ -1,11 +1,14 @@ beginPage() ?> @@ -25,14 +28,14 @@
刷新 - request->referrer != Yii::$app->request->hostInfo . Yii::$app->request->getBaseUrl() . '/'){ ?> + request->referrer != Yii::$app->request->hostInfo . Yii::$app->request->getBaseUrl() . '/') { ?> 返回 'ol', - 'homeLink'=>[ + 'homeLink' => [ 'label' => '' . Yii::$app->params['adminAcronym'], 'url' => "", ], @@ -51,10 +54,10 @@ let config = { tag: "debris->config('sys_tags') ?? false; ?>", isMobile: "params['isMobile'] ?? false; ?>", - emojiBaseUrl : "request->baseUrl ?>/resources/dist/img/emoji/", + emojiBaseUrl: "request->baseUrl ?>/resources/dist/img/emoji/", }; - render('_footer')?> + render('_footer') ?> endBody() ?> diff --git a/backend/views/main/clear-cache.php b/backend/views/main/clear-cache.php index eae030ebc..f02b3bc04 100644 --- a/backend/views/main/clear-cache.php +++ b/backend/views/main/clear-cache.php @@ -28,4 +28,4 @@
-
+
\ No newline at end of file diff --git a/backend/views/main/index.php b/backend/views/main/index.php index 935565152..19159958d 100644 --- a/backend/views/main/index.php +++ b/backend/views/main/index.php @@ -2,6 +2,8 @@ use common\helpers\Html; use backend\assets\AppAsset; +/* @var $this yii\web\View */ + AppAsset::register($this); ?> beginPage() ?> diff --git a/backend/widgets/Alert.php b/backend/widgets/Alert.php index 48ed57fe6..3a4ab38ab 100644 --- a/backend/widgets/Alert.php +++ b/backend/widgets/Alert.php @@ -68,7 +68,7 @@ public function run() // 调用函数 $this->view->registerJs(<<level = (int) $this->level; + $this->level = (int)$this->level; $this->level < 1 && $this->level = 1; $this->level > 3 && $this->level = 3; } @@ -93,7 +94,7 @@ public function run() $areaName = $this->areaName; $provinceIds = StringHelper::parseAttr($this->model->$provincesName); - $cityIds = $this->level >= 2 ? StringHelper::parseAttr($this->model->$cityName) : []; + $cityIds = $this->level >= 2 ? StringHelper::parseAttr($this->model->$cityName) : []; $areaIds = $this->level == 3 ? StringHelper::parseAttr($this->model->$areaName) : []; // 获取选中数据 @@ -114,4 +115,5 @@ public function run() ]); } } + ?> \ No newline at end of file diff --git a/backend/widgets/area/views/area.php b/backend/widgets/area/views/area.php index 6162e3e1d..2640cf3dc 100644 --- a/backend/widgets/area/views/area.php +++ b/backend/widgets/area/views/area.php @@ -1,36 +1,39 @@ field($model, $provincesName)->hiddenInput(['id' => 'provinceIds'])->label(false) ?> = 2) { echo $form->field($model, $cityName)->hiddenInput(['id' => 'cityIds'])->label(false); -}?> +} ?> = 3) { echo $form->field($model, $areaName)->hiddenInput(['id' => 'areaIds'])->label(false); -}?> +} ?>