├── .gitignore ├── README.md ├── lab1-25.07.19 ├── .idea │ ├── .gitignore │ ├── codeStyles │ │ └── codeStyleConfig.xml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ ├── lab1-25.07.19.iml │ ├── misc.xml │ ├── modules.xml │ ├── php.xml │ └── vcs.xml ├── answer.php ├── docs │ ├── css-code.pdf │ ├── html-code.pdf │ ├── js-code.pdf │ ├── php-code.pdf │ ├── веб-прог_лаб1_отчёт.docx │ ├── конспекты │ │ ├── 1-Протокол HTTP.docx │ │ ├── 10-Библиотека jQuery.docx │ │ ├── 11-Реализация AJAX с помощью SuperAgent.docx │ │ ├── 12-Серверные сценарии. CGI - определение, назначение, ключевые особенности.docx │ │ ├── 13-FastCGI - особенности технологии, преимущества и недостатки относительно CGI.docx │ │ ├── 6-LESS, Sass, SCSS.docx │ │ ├── 8-Версии ECMAScript, новые возможности ES6 и ES7.docx │ │ └── 9-Синхронная и асинхронная обработка HTTP-запросов. AJAX.docx │ └── полезные ссылки.txt ├── fonts │ └── AvenirNextCyr-Regular.ttf ├── images │ ├── areas.png │ ├── avatar.png │ ├── favicon.jpg │ ├── favicon_old.png │ └── pulpit_logo.png ├── index.html ├── stylesheets │ ├── check_button.css │ └── page.css └── validator.js ├── lab2-16.09.19 ├── .idea │ ├── $PRODUCT_WORKSPACE_FILE$ │ ├── .gitignore │ ├── artifacts │ │ ├── lab2_16_09_19_war.xml │ │ └── lab2_16_09_19_war_exploded.xml │ ├── codeStyles │ │ └── codeStyleConfig.xml │ ├── dictionaries │ │ └── pugalol.xml │ ├── misc.xml │ ├── modules.xml │ └── vcs.xml ├── docs │ ├── areas.png │ ├── backend 1.pdf │ ├── backend 2.pdf │ ├── frontend.pdf │ ├── map.xmind │ ├── алгоритм запуска.txt │ ├── веб-прог_лаб2_отчёт.docx │ ├── полезные ссылки.txt │ └── порты.png ├── lab2-16.09.19.iml ├── out │ ├── artifacts │ │ ├── lab2_16_09_19_war │ │ │ └── lab2-16.09.19_war.war │ │ └── lab2_16_09_19_war_exploded │ │ │ ├── WEB-INF │ │ │ ├── classes │ │ │ │ ├── AreaCheckServlet.class │ │ │ │ ├── ControllerServlet.class │ │ │ │ └── Point.class │ │ │ └── web.xml │ │ │ ├── error_page.jsp │ │ │ ├── fonts │ │ │ └── AvenirNextCyr-Regular.ttf │ │ │ ├── images │ │ │ ├── avatar.png │ │ │ ├── favicon.jpg │ │ │ ├── favicon_old.png │ │ │ ├── graph.svg │ │ │ └── pulpit_logo.png │ │ │ ├── index.jsp │ │ │ ├── scripts │ │ │ ├── easter_egg.js │ │ │ ├── graph_drawer.js │ │ │ └── validator.js │ │ │ └── stylesheets │ │ │ ├── check_button.css │ │ │ ├── error_page.css │ │ │ └── main_page.css │ └── production │ │ └── lab2-16.09.19 │ │ ├── AreaCheckServlet.class │ │ ├── ControllerServlet.class │ │ └── Point.class ├── src │ ├── AreaCheckServlet.java │ ├── ControllerServlet.java │ └── Point.java └── web │ ├── WEB-INF │ └── web.xml │ ├── error_page.jsp │ ├── fonts │ └── AvenirNextCyr-Regular.ttf │ ├── images │ ├── avatar.png │ ├── favicon.jpg │ ├── favicon_old.png │ ├── graph.svg │ └── pulpit_logo.png │ ├── index.jsp │ ├── scripts │ ├── easter_egg.js │ ├── graph_drawer.js │ └── validator.js │ └── stylesheets │ ├── check_button.css │ ├── error_page.css │ └── main_page.css ├── lab3-20.10.19 ├── .idea │ ├── $PRODUCT_WORKSPACE_FILE$ │ ├── .gitignore │ ├── artifacts │ │ ├── lab3_20_10_19_war.xml │ │ └── lab3_20_10_19_war_exploded.xml │ ├── dataSources.xml │ ├── libraries │ │ ├── JPA_2_0_2_0.xml │ │ ├── Primefaces.xml │ │ ├── eclipselink.xml │ │ └── postgresql_42_2_8.xml │ ├── misc.xml │ ├── modules.xml │ ├── sqldialects.xml │ ├── uiDesigner.xml │ └── vcs.xml ├── docs │ ├── areas.png │ ├── backend.pdf │ ├── frontend.pdf │ ├── schema.sql │ ├── веб-прог_лаб3_отчёт.docx │ └── полезные ссылки.txt ├── lab3-20.10.19.iml ├── lib │ ├── eclipselink.jar │ ├── javax.persistence.jar │ ├── postgresql-42.2.8.jar │ └── primefaces-7.0.jar ├── out │ ├── artifacts │ │ ├── lab3_20_10_19_war │ │ │ └── lab3-20.10.19_war.war │ │ └── lab3_20_10_19_war_exploded │ │ │ ├── WEB-INF │ │ │ ├── classes │ │ │ │ ├── META-INF │ │ │ │ │ └── persistence.xml │ │ │ │ ├── Point.class │ │ │ │ └── RealHumanBean.class │ │ │ ├── faces-config.xml │ │ │ ├── lib │ │ │ │ ├── eclipselink.jar │ │ │ │ ├── javax.persistence.jar │ │ │ │ ├── postgresql-42.2.8.jar │ │ │ │ ├── primefaces-7.0.jar │ │ │ │ └── sqlite-jdbc-3.30.1.jar │ │ │ └── web.xml │ │ │ ├── app.xhtml │ │ │ ├── error_page.xhtml │ │ │ ├── index.xhtml │ │ │ ├── resources │ │ │ ├── fonts │ │ │ │ └── AvenirNextCyr-Regular.ttf │ │ │ ├── images │ │ │ │ ├── avatar.png │ │ │ │ ├── favicon.jpg │ │ │ │ ├── favicon_old.png │ │ │ │ ├── joker.jpg │ │ │ │ └── pulpit_logo.png │ │ │ ├── js │ │ │ │ ├── clock.js │ │ │ │ ├── easter_eggs.js │ │ │ │ ├── graph_drawer.js │ │ │ │ └── validator.js │ │ │ └── stylesheets │ │ │ │ ├── app_page.css │ │ │ │ ├── check_button.css │ │ │ │ ├── error_page.css │ │ │ │ └── temp_layout_page.css │ │ │ └── templates │ │ │ └── temp_layout.xhtml │ └── production │ │ └── lab3-20.10.19 │ │ ├── META-INF │ │ └── persistence.xml │ │ ├── Point.class │ │ └── RealHumanBean.class ├── src │ ├── META-INF │ │ └── persistence.xml │ ├── Point.java │ └── RealHumanBean.java └── web │ ├── WEB-INF │ ├── faces-config.xml │ └── web.xml │ ├── app.xhtml │ ├── error_page.xhtml │ ├── index.xhtml │ ├── resources │ ├── fonts │ │ └── AvenirNextCyr-Regular.ttf │ ├── images │ │ ├── avatar.png │ │ ├── favicon.jpg │ │ ├── favicon_old.png │ │ ├── joker.jpg │ │ └── pulpit_logo.png │ ├── js │ │ ├── clock.js │ │ ├── easter_eggs.js │ │ ├── graph_drawer.js │ │ └── validator.js │ └── stylesheets │ │ ├── app_page.css │ │ ├── check_button.css │ │ ├── error_page.css │ │ └── temp_layout_page.css │ └── templates │ └── temp_layout.xhtml └── lab4-12.11.19 ├── .idea ├── $PRODUCT_WORKSPACE_FILE$ ├── .gitignore ├── artifacts │ └── rursus_war_exploded.xml ├── codeStyles │ └── codeStyleConfig.xml ├── compiler.xml ├── dataSources.xml ├── dictionaries │ └── pugalol.xml ├── encodings.xml ├── inspectionProfiles │ └── Project_Default.xml ├── jsLibraryMappings.xml ├── libraries │ ├── Maven__antlr_antlr_2_7_7.xml │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_1.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_1.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_1.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_1.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_1.xml │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_1.xml │ ├── Maven__com_sun_activation_jakarta_activation_1_2_1.xml │ ├── Maven__com_sun_istack_istack_commons_runtime_3_0_8.xml │ ├── Maven__com_sun_mail_jakarta_mail_1_6_4.xml │ ├── Maven__com_sun_xml_fastinfoset_FastInfoset_1_2_16.xml │ ├── Maven__com_zaxxer_HikariCP_3_4_1.xml │ ├── Maven__io_jsonwebtoken_jjwt_0_9_1.xml │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_1.xml │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ ├── Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml │ ├── Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_1.xml │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml │ ├── Maven__net_bytebuddy_byte_buddy_1_10_4.xml │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_29.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_29.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_29.xml │ ├── Maven__org_aspectj_aspectjweaver_1_9_5.xml │ ├── Maven__org_dom4j_dom4j_2_1_1.xml │ ├── Maven__org_glassfish_jaxb_jaxb_runtime_2_3_2.xml │ ├── Maven__org_glassfish_jaxb_txw2_2_3_2.xml │ ├── Maven__org_hibernate_common_hibernate_commons_annotations_5_1_0_Final.xml │ ├── Maven__org_hibernate_hibernate_core_5_4_9_Final.xml │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ ├── Maven__org_javassist_javassist_3_24_0_GA.xml │ ├── Maven__org_jboss_jandex_2_1_1_Final.xml │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ ├── Maven__org_jvnet_staxex_stax_ex_1_8_1.xml │ ├── Maven__org_postgresql_postgresql_42_2_8.xml │ ├── Maven__org_projectlombok_lombok_1_18_10.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_29.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_29.xml │ ├── Maven__org_springframework_boot_spring_boot_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_aop_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_mail_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_security_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_2_RELEASE.xml │ ├── Maven__org_springframework_data_spring_data_commons_2_2_3_RELEASE.xml │ ├── Maven__org_springframework_data_spring_data_jpa_2_2_3_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_config_5_2_1_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_core_5_2_1_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_web_5_2_1_RELEASE.xml │ ├── Maven__org_springframework_spring_aop_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_aspects_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_beans_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_context_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_context_support_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_core_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_expression_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_jcl_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_jdbc_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_orm_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_tx_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_web_5_2_2_RELEASE.xml │ ├── Maven__org_springframework_spring_webmvc_5_2_2_RELEASE.xml │ └── Maven__org_yaml_snakeyaml_1_25.xml ├── misc.xml ├── modules.xml ├── uiDesigner.xml └── vcs.xml ├── docs ├── areas.png ├── javadoc │ ├── allclasses-frame.html │ ├── allclasses-noframe.html │ ├── constant-values.html │ ├── deprecated-list.html │ ├── help-doc.html │ ├── index-files │ │ ├── index-1.html │ │ ├── index-10.html │ │ ├── index-11.html │ │ ├── index-12.html │ │ ├── index-13.html │ │ ├── index-14.html │ │ ├── index-15.html │ │ ├── index-16.html │ │ ├── index-17.html │ │ ├── index-18.html │ │ ├── index-19.html │ │ ├── index-2.html │ │ ├── index-20.html │ │ ├── index-3.html │ │ ├── index-4.html │ │ ├── index-5.html │ │ ├── index-6.html │ │ ├── index-7.html │ │ ├── index-8.html │ │ └── index-9.html │ ├── index.html │ ├── logic │ │ ├── RursusApplication.html │ │ ├── config │ │ │ ├── ApplicationConfigurer.html │ │ │ ├── JWTConfigurer.html │ │ │ ├── SecurityConfig.html │ │ │ ├── SecurityConfigurer.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── controllers │ │ │ ├── PointController.html │ │ │ ├── UserController.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── filters │ │ │ ├── CORSFilter.html │ │ │ ├── JWTFilter.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── models │ │ │ ├── Point.html │ │ │ ├── User.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ ├── repos │ │ │ ├── UserRepository.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── requests │ │ │ ├── PointDTO.html │ │ │ ├── UserDTO.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── security │ │ │ ├── JWTUtil.html │ │ │ ├── UserPrincipal.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ └── services │ │ │ ├── UserDetailsServiceImpl.html │ │ │ ├── UserService.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ ├── overview-frame.html │ ├── overview-summary.html │ ├── overview-tree.html │ ├── package-list │ ├── script.js │ ├── serialized-form.html │ └── stylesheet.css ├── uml.pdf ├── веб-прог_лаб4_отчёт.docx └── полезные ссылки.txt ├── hominem ├── .gitignore ├── README.md ├── babel.config.js ├── hominem.iml ├── node_modules │ ├── @types │ │ ├── events │ │ │ ├── index.d.ts │ │ │ └── package.json │ │ ├── glob │ │ │ ├── index.d.ts │ │ │ └── package.json │ │ ├── minimatch │ │ │ ├── index.d.ts │ │ │ └── package.json │ │ ├── node │ │ │ ├── assert.d.ts │ │ │ ├── async_hooks.d.ts │ │ │ ├── base.d.ts │ │ │ ├── buffer.d.ts │ │ │ ├── child_process.d.ts │ │ │ ├── cluster.d.ts │ │ │ ├── console.d.ts │ │ │ ├── constants.d.ts │ │ │ ├── crypto.d.ts │ │ │ ├── dgram.d.ts │ │ │ ├── dns.d.ts │ │ │ ├── domain.d.ts │ │ │ ├── events.d.ts │ │ │ ├── fs.d.ts │ │ │ ├── globals.d.ts │ │ │ ├── http.d.ts │ │ │ ├── http2.d.ts │ │ │ ├── https.d.ts │ │ │ ├── index.d.ts │ │ │ ├── inspector.d.ts │ │ │ ├── module.d.ts │ │ │ ├── net.d.ts │ │ │ ├── os.d.ts │ │ │ ├── package.json │ │ │ ├── path.d.ts │ │ │ ├── perf_hooks.d.ts │ │ │ ├── process.d.ts │ │ │ ├── punycode.d.ts │ │ │ ├── querystring.d.ts │ │ │ ├── readline.d.ts │ │ │ ├── repl.d.ts │ │ │ ├── stream.d.ts │ │ │ ├── string_decoder.d.ts │ │ │ ├── timers.d.ts │ │ │ ├── tls.d.ts │ │ │ ├── trace_events.d.ts │ │ │ ├── ts3.2 │ │ │ │ ├── fs.d.ts │ │ │ │ ├── globals.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ └── util.d.ts │ │ │ ├── tty.d.ts │ │ │ ├── url.d.ts │ │ │ ├── util.d.ts │ │ │ ├── v8.d.ts │ │ │ ├── vm.d.ts │ │ │ ├── worker_threads.d.ts │ │ │ └── zlib.d.ts │ │ ├── normalize-package-data │ │ │ ├── index.d.ts │ │ │ └── package.json │ │ └── q │ │ │ ├── index.d.ts │ │ │ └── package.json │ ├── @vue │ │ ├── cli-plugin-babel │ │ │ ├── codemods │ │ │ │ ├── __testfixtures__ │ │ │ │ │ ├── customConfig.input.js │ │ │ │ │ ├── customConfig.output.js │ │ │ │ │ ├── default.input.js │ │ │ │ │ ├── default.output.js │ │ │ │ │ ├── doubleQuote.input.js │ │ │ │ │ ├── doubleQuote.output.js │ │ │ │ │ ├── require.input.js │ │ │ │ │ ├── require.output.js │ │ │ │ │ ├── templateLiteral.input.js │ │ │ │ │ └── templateLiteral.output.js │ │ │ │ └── usePluginPreset.js │ │ │ ├── generator.js │ │ │ ├── index.js │ │ │ ├── migrator │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ └── preset.js │ │ ├── cli-plugin-eslint │ │ │ ├── eslintOptions.js │ │ │ ├── generator │ │ │ │ └── index.js │ │ │ ├── index.js │ │ │ ├── lint.js │ │ │ ├── migrator │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ ├── prompts.js │ │ │ └── ui │ │ │ │ ├── configDescriptor.js │ │ │ │ ├── index.js │ │ │ │ └── taskDescriptor.js │ │ ├── cli-service │ │ │ ├── bin │ │ │ │ └── vue-cli-service.js │ │ │ ├── generator │ │ │ │ ├── index.js │ │ │ │ ├── router.js │ │ │ │ ├── template │ │ │ │ │ └── src │ │ │ │ │ │ ├── App.vue │ │ │ │ │ │ ├── components │ │ │ │ │ │ └── HelloWorld.vue │ │ │ │ │ │ └── main.js │ │ │ │ └── vuex.js │ │ │ ├── lib │ │ │ │ ├── PluginAPI.js │ │ │ │ ├── Service.js │ │ │ │ ├── commands │ │ │ │ │ ├── build │ │ │ │ │ │ ├── entry-lib-no-default.js │ │ │ │ │ │ ├── entry-lib.js │ │ │ │ │ │ ├── formatStats.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── resolveAppConfig.js │ │ │ │ │ │ ├── resolveLibConfig.js │ │ │ │ │ │ ├── resolveWcConfig.js │ │ │ │ │ │ ├── resolveWcEntry.js │ │ │ │ │ │ └── setPublicPath.js │ │ │ │ │ ├── help.js │ │ │ │ │ ├── inspect.js │ │ │ │ │ └── serve.js │ │ │ │ ├── config │ │ │ │ │ ├── app.js │ │ │ │ │ ├── base.js │ │ │ │ │ ├── css.js │ │ │ │ │ ├── prod.js │ │ │ │ │ └── terserOptions.js │ │ │ │ ├── options.js │ │ │ │ ├── util │ │ │ │ │ ├── getAssetPath.js │ │ │ │ │ ├── getPadLength.js │ │ │ │ │ ├── isAbsoluteUrl.js │ │ │ │ │ ├── prepareProxy.js │ │ │ │ │ ├── prepareURLs.js │ │ │ │ │ ├── resolveClientEnv.js │ │ │ │ │ ├── resolveLoaderError.js │ │ │ │ │ ├── resolveLocal.js │ │ │ │ │ └── validateWebpackConfig.js │ │ │ │ └── webpack │ │ │ │ │ ├── CorsPlugin.js │ │ │ │ │ ├── DashboardPlugin.js │ │ │ │ │ ├── ModernModePlugin.js │ │ │ │ │ ├── MovePlugin.js │ │ │ │ │ └── analyzeBundle.js │ │ │ ├── package.json │ │ │ ├── types │ │ │ │ ├── ProjectOptions.d.ts │ │ │ │ └── index.d.ts │ │ │ └── webpack.config.js │ │ └── component-compiler-utils │ │ │ ├── dist │ │ │ ├── compileStyle.d.ts │ │ │ ├── compileTemplate.d.ts │ │ │ ├── index.d.ts │ │ │ ├── parse.d.ts │ │ │ ├── stylePlugins │ │ │ │ ├── scoped.d.ts │ │ │ │ └── trim.d.ts │ │ │ ├── styleProcessors │ │ │ │ └── index.d.ts │ │ │ ├── templateCompilerModules │ │ │ │ ├── assetUrl.d.ts │ │ │ │ ├── srcset.d.ts │ │ │ │ └── utils.d.ts │ │ │ └── types.d.ts │ │ │ ├── lib │ │ │ ├── compileStyle.ts │ │ │ ├── compileTemplate.ts │ │ │ ├── index.ts │ │ │ ├── parse.ts │ │ │ ├── stylePlugins │ │ │ │ ├── scoped.ts │ │ │ │ └── trim.ts │ │ │ ├── styleProcessors │ │ │ │ └── index.ts │ │ │ ├── templateCompilerModules │ │ │ │ ├── assetUrl.ts │ │ │ │ ├── srcset.ts │ │ │ │ └── utils.ts │ │ │ └── types.ts │ │ │ └── package.json │ ├── address │ │ ├── lib │ │ │ └── address.d.ts │ │ └── package.json │ ├── chalk │ │ ├── package.json │ │ └── types │ │ │ └── index.d.ts │ ├── cli-highlight │ │ ├── dist │ │ │ ├── cli.d.ts │ │ │ ├── index.d.ts │ │ │ └── theme.d.ts │ │ └── package.json │ ├── dotenv-expand │ │ ├── index.d.ts │ │ └── package.json │ ├── dotenv │ │ ├── package.json │ │ └── types │ │ │ ├── index.d.ts │ │ │ └── test.ts │ ├── javascript-stringify │ │ ├── dist │ │ │ ├── array.d.ts │ │ │ ├── function.d.ts │ │ │ ├── index.d.ts │ │ │ ├── index.spec.d.ts │ │ │ ├── object.d.ts │ │ │ ├── quote.d.ts │ │ │ ├── stringify.d.ts │ │ │ └── types.d.ts │ │ └── package.json │ ├── portfinder │ │ ├── lib │ │ │ └── portfinder.d.ts │ │ └── package.json │ ├── postcss-selector-parser │ │ ├── package.json │ │ └── postcss-selector-parser.d.ts │ ├── postcss │ │ ├── lib │ │ │ └── postcss.d.ts │ │ └── package.json │ ├── source-map │ │ └── package.json │ ├── vue-loader │ │ ├── lib │ │ │ └── index.d.ts │ │ └── package.json │ └── webpack-chain │ │ ├── package.json │ │ └── types │ │ └── index.d.ts ├── package-lock.json ├── package.json ├── public │ ├── assets │ │ ├── fonts │ │ │ └── AvenirNextCyr-Regular.ttf │ │ ├── img │ │ │ ├── avatar.png │ │ │ ├── favicon.jpg │ │ │ ├── favicon_old.png │ │ │ ├── joker.jpg │ │ │ └── pulpit.png │ │ └── js │ │ │ └── easter_egg.js │ ├── favicon.ico │ └── index.html ├── src │ ├── App.vue │ ├── components │ │ ├── Accessor.vue │ │ ├── CheckButton.vue │ │ ├── Error.vue │ │ ├── Footer.vue │ │ ├── Header.vue │ │ ├── Notification.vue │ │ └── Validator.vue │ ├── main.js │ └── router.js └── vue.config.js ├── out └── artifacts │ └── rursus_war_exploded │ ├── META-INF │ └── MANIFEST.MF │ └── WEB-INF │ └── classes │ ├── META-INF │ └── rursus.kotlin_module │ ├── application.properties │ └── logic │ ├── RursusApplication.class │ ├── config │ ├── JWTConfigurer.class │ └── SecurityConfigurer.class │ ├── controllers │ ├── PointController.class │ ├── UserController$1.class │ └── UserController.class │ ├── filters │ ├── CORSFilter.class │ └── JWTFilter.class │ ├── models │ ├── Point.class │ └── User.class │ ├── repos │ └── UserRepository.class │ ├── requests │ ├── PointDTO.class │ └── UserDTO.class │ ├── security │ ├── JWTUtil.class │ └── UserPrincipal.class │ └── services │ ├── UserDetailsServiceImpl.class │ └── UserService.class └── rursus ├── .gitignore ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml ├── restful_test ├── add_point.http ├── clear_points.http ├── delete_account.http ├── load_points.http ├── login.http └── register.http ├── rursus.iml └── src └── main ├── java └── logic │ ├── RursusApplication.java │ ├── config │ ├── ApplicationBeansProvider.java │ ├── JWTConfigurer.java │ ├── SecurityConfigurer.java │ └── package-info.java │ ├── controllers │ ├── PointController.java │ ├── UserController.java │ └── package-info.java │ ├── filters │ ├── CORSFilter.java │ ├── JWTFilter.java │ └── package-info.java │ ├── models │ ├── Point.java │ ├── User.java │ └── package-info.java │ ├── package-info.java │ ├── repos │ ├── UserRepository.java │ └── package-info.java │ ├── requests │ ├── PointDTO.java │ ├── UserDTO.java │ └── package-info.java │ ├── security │ ├── JWTUtil.java │ ├── UserPrincipal.java │ └── package-info.java │ └── services │ ├── UserDetailsServiceImpl.java │ ├── UserService.java │ └── package-info.java └── resources └── application.properties /.gitignore: -------------------------------------------------------------------------------- 1 | links/ 2 | stories/ 3 | lectures/ -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/lab1-25.07.19.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/php.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /lab1-25.07.19/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lab1-25.07.19/docs/css-code.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/css-code.pdf -------------------------------------------------------------------------------- /lab1-25.07.19/docs/html-code.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/html-code.pdf -------------------------------------------------------------------------------- /lab1-25.07.19/docs/js-code.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/js-code.pdf -------------------------------------------------------------------------------- /lab1-25.07.19/docs/php-code.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/php-code.pdf -------------------------------------------------------------------------------- /lab1-25.07.19/docs/веб-прог_лаб1_отчёт.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/веб-прог_лаб1_отчёт.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/1-Протокол HTTP.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/1-Протокол HTTP.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/10-Библиотека jQuery.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/10-Библиотека jQuery.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/11-Реализация AJAX с помощью SuperAgent.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/11-Реализация AJAX с помощью SuperAgent.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/12-Серверные сценарии. CGI - определение, назначение, ключевые особенности.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/12-Серверные сценарии. CGI - определение, назначение, ключевые особенности.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/13-FastCGI - особенности технологии, преимущества и недостатки относительно CGI.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/13-FastCGI - особенности технологии, преимущества и недостатки относительно CGI.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/6-LESS, Sass, SCSS.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/6-LESS, Sass, SCSS.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/8-Версии ECMAScript, новые возможности ES6 и ES7.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/8-Версии ECMAScript, новые возможности ES6 и ES7.docx -------------------------------------------------------------------------------- /lab1-25.07.19/docs/конспекты/9-Синхронная и асинхронная обработка HTTP-запросов. AJAX.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/docs/конспекты/9-Синхронная и асинхронная обработка HTTP-запросов. AJAX.docx -------------------------------------------------------------------------------- /lab1-25.07.19/fonts/AvenirNextCyr-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/fonts/AvenirNextCyr-Regular.ttf -------------------------------------------------------------------------------- /lab1-25.07.19/images/areas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/images/areas.png -------------------------------------------------------------------------------- /lab1-25.07.19/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/images/avatar.png -------------------------------------------------------------------------------- /lab1-25.07.19/images/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/images/favicon.jpg -------------------------------------------------------------------------------- /lab1-25.07.19/images/favicon_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/images/favicon_old.png -------------------------------------------------------------------------------- /lab1-25.07.19/images/pulpit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab1-25.07.19/images/pulpit_logo.png -------------------------------------------------------------------------------- /lab1-25.07.19/stylesheets/check_button.css: -------------------------------------------------------------------------------- 1 | /* Взято и переработано с https://codepen.io/rauldronca/pen/mARYEm*/ 2 | 3 | #checkButton { 4 | text-align: center; 5 | text-transform: uppercase; 6 | cursor: pointer; 7 | letter-spacing: 2px; 8 | position: relative; 9 | background-color: #eb2a5a; 10 | border: none; 11 | color: white; 12 | padding: 15px; 13 | width: 150px; 14 | transition-duration: 0.4s; 15 | overflow: hidden; 16 | box-shadow: 0 5px 15px #193047; 17 | border-radius: 4px; 18 | } 19 | 20 | #checkButton:hover { 21 | background: white; 22 | box-shadow: 0 2px 10px 5px #eb2a5a; 23 | color: black; 24 | } 25 | 26 | #checkButton::after { 27 | content: ""; 28 | background: #eb2a5a; 29 | display: block; 30 | position: absolute; 31 | padding-top: 300%; 32 | padding-left: 350%; 33 | margin-left: -20px !important; 34 | margin-top: -120%; 35 | opacity: 0; 36 | transition: all 0.8s 37 | } 38 | 39 | #checkButton:active::after { 40 | padding: 0; 41 | margin: 0; 42 | opacity: 1; 43 | transition: 0s 44 | } 45 | 46 | #checkButton:focus {outline: 0} -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/artifacts/lab2_16_09_19_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/out/artifacts/lab2_16_09_19_war 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/artifacts/lab2_16_09_19_war_exploded.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/out/artifacts/lab2_16_09_19_war_exploded 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/dictionaries/pugalol.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | fleeeex 5 | 6 | 7 | -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lab2-16.09.19/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lab2-16.09.19/docs/areas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/docs/areas.png -------------------------------------------------------------------------------- /lab2-16.09.19/docs/backend 1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/docs/backend 1.pdf -------------------------------------------------------------------------------- /lab2-16.09.19/docs/backend 2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/docs/backend 2.pdf -------------------------------------------------------------------------------- /lab2-16.09.19/docs/frontend.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/docs/frontend.pdf -------------------------------------------------------------------------------- /lab2-16.09.19/docs/map.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/docs/map.xmind -------------------------------------------------------------------------------- /lab2-16.09.19/docs/алгоритм запуска.txt: -------------------------------------------------------------------------------- 1 | asadmin start-domain --domaindir ~/glass lab2 2 | ssh -f -N -L 41462:127.0.0.1:41462 s265570@se.ifmo.ru -p 2222 127.0.0.1:41462 - адрес админки 3 | ssh -f -N -L 41494:127.0.0.1:41494 s265570@se.ifmo.ru -p 2222 http://127.0.0.1:41494/lab2-16.09.19_war/app - адрес приложения -------------------------------------------------------------------------------- /lab2-16.09.19/docs/веб-прог_лаб2_отчёт.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/docs/веб-прог_лаб2_отчёт.docx -------------------------------------------------------------------------------- /lab2-16.09.19/docs/полезные ссылки.txt: -------------------------------------------------------------------------------- 1 | https://www.youtube.com/watch?v=licQZlIenAk 2 | https://ru.wikipedia.org/wiki/Model-View-Controller 3 | https://netbeans.org/kb/docs/web/ajax-quickstart_ru.html#client1 4 | https://webdevblog.ru/kak-rabotaet-javascript/ 5 | https://asbnotebook.com/2018/10/21/jquery-ajax-example-with-servlet/ 6 | https://colorlib.com/wp/free-404-error-page-templates/ 7 | https://www.demis.ru/articles/adaptivnyj-dizain-saita/ 8 | http://www.websphererus.com/development/introducing-to-jsf 9 | https://proselyte.net/tutorials/servlets/life-cycle/# 10 | https://medium.com/javascript-in-plain-english/how-to-detect-a-sequence-of-keystrokes-in-javascript-83ec6ffd8e93 11 | https://stackoverflow.com/questions/43172115/get-the-mouse-coordinates-when-clicking-on-canvas 12 | http://javastudy.ru/interview/jee-jsp-questions-answers/ -------------------------------------------------------------------------------- /lab2-16.09.19/docs/порты.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/docs/порты.png -------------------------------------------------------------------------------- /lab2-16.09.19/lab2-16.09.19.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war/lab2-16.09.19_war.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war/lab2-16.09.19_war.war -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/WEB-INF/classes/AreaCheckServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/WEB-INF/classes/AreaCheckServlet.class -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/WEB-INF/classes/ControllerServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/WEB-INF/classes/ControllerServlet.class -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/WEB-INF/classes/Point.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/WEB-INF/classes/Point.class -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | Controller 9 | ControllerServlet 10 | 11 | 12 | Controller 13 | /app 14 | 15 | 16 | 17 | AreaChecker 18 | AreaCheckServlet 19 | 20 | 21 | AreaChecker 22 | /checker 23 | 24 | 25 | 26 | 404 27 | /error_page.jsp 28 | 29 | 30 | -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/error_page.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Страница не найдена 10 | 11 | 12 |
13 |
14 |

404

15 |

Ничего не найдено

16 |

Страница, которую вы запрашиваете, отсутствует, проверьте url-адрес.
17 | Вернуться на домашную страницу

18 |
19 |
20 | 21 | -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/fonts/AvenirNextCyr-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/fonts/AvenirNextCyr-Regular.ttf -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/avatar.png -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/favicon.jpg -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/favicon_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/favicon_old.png -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/pulpit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/images/pulpit_logo.png -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/scripts/easter_egg.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | document.addEventListener("DOMContentLoaded", () => { 4 | keyMapper(1000, () => document.querySelectorAll("*").forEach(function (node) { 5 | node.classList.add("rotated")}), "flex"); 6 | }); 7 | 8 | function keyMapper(keystrokeDelay, callback, keySequence) { 9 | let buffer = []; 10 | let lastKeyTime = Date.now(); 11 | document.addEventListener("keydown", event => { 12 | let charList = "abcdefghijklmnopqrstuvwxyz0123456789"; 13 | const key = event.key.toLowerCase(); 14 | if (charList.indexOf(key) === -1) return; 15 | let currentTime = Date.now(); 16 | if (currentTime - lastKeyTime > 1000) buffer = []; 17 | buffer.push(key); 18 | lastKeyTime = currentTime; 19 | if (buffer.join("") === keySequence) callback(); 20 | }) 21 | } -------------------------------------------------------------------------------- /lab2-16.09.19/out/artifacts/lab2_16_09_19_war_exploded/scripts/graph_drawer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | let svg = document.querySelector("svg"); 4 | 5 | document.addEventListener("DOMContentLoaded", () => { 6 | svg.addEventListener("click", (event) => { 7 | if (validateR()) { 8 | let position = getMousePosition(svg, event); 9 | x = position.x; 10 | y = position.y; 11 | setPointer(x, y); 12 | let k = 270 / r; //отношение радиуса и плоскости 13 | x = (x / k).toFixed(1); 14 | y = (y / k).toFixed(1); 15 | sendRequest("svg"); 16 | } 17 | }); 18 | }); 19 | 20 | function getMousePosition(svg, event) { 21 | let rect = svg.getBoundingClientRect(); 22 | return { 23 | x: event.clientX - rect.left, 24 | y: event.clientY - rect.top 25 | }; 26 | } 27 | 28 | function setPointer(x, y) { 29 | console.log(x + " " + y); 30 | svg.insertAdjacentHTML("beforeend", ``); 31 | } -------------------------------------------------------------------------------- /lab2-16.09.19/out/production/lab2-16.09.19/AreaCheckServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/production/lab2-16.09.19/AreaCheckServlet.class -------------------------------------------------------------------------------- /lab2-16.09.19/out/production/lab2-16.09.19/ControllerServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/production/lab2-16.09.19/ControllerServlet.class -------------------------------------------------------------------------------- /lab2-16.09.19/out/production/lab2-16.09.19/Point.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/out/production/lab2-16.09.19/Point.class -------------------------------------------------------------------------------- /lab2-16.09.19/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | Controller 9 | ControllerServlet 10 | 11 | 12 | Controller 13 | /app 14 | 15 | 16 | 17 | AreaChecker 18 | AreaCheckServlet 19 | 20 | 21 | AreaChecker 22 | /checker 23 | 24 | 25 | 26 | 404 27 | /error_page.jsp 28 | 29 | 30 | -------------------------------------------------------------------------------- /lab2-16.09.19/web/error_page.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Страница не найдена 10 | 11 | 12 |
13 |
14 |

404

15 |

Ничего не найдено

16 |

Страница, которую вы запрашиваете, отсутствует, проверьте url-адрес.
17 | Вернуться на домашную страницу

18 |
19 |
20 | 21 | -------------------------------------------------------------------------------- /lab2-16.09.19/web/fonts/AvenirNextCyr-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/web/fonts/AvenirNextCyr-Regular.ttf -------------------------------------------------------------------------------- /lab2-16.09.19/web/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/web/images/avatar.png -------------------------------------------------------------------------------- /lab2-16.09.19/web/images/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/web/images/favicon.jpg -------------------------------------------------------------------------------- /lab2-16.09.19/web/images/favicon_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/web/images/favicon_old.png -------------------------------------------------------------------------------- /lab2-16.09.19/web/images/pulpit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab2-16.09.19/web/images/pulpit_logo.png -------------------------------------------------------------------------------- /lab2-16.09.19/web/scripts/easter_egg.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | document.addEventListener("DOMContentLoaded", () => { 4 | keyMapper(1000, () => document.querySelectorAll("*").forEach(function (node) { 5 | node.classList.add("rotated")}), "flex"); 6 | }); 7 | 8 | function keyMapper(keystrokeDelay, callback, keySequence) { 9 | let buffer = []; 10 | let lastKeyTime = Date.now(); 11 | document.addEventListener("keydown", event => { 12 | let charList = "abcdefghijklmnopqrstuvwxyz0123456789"; 13 | const key = event.key.toLowerCase(); 14 | if (charList.indexOf(key) === -1) return; 15 | let currentTime = Date.now(); 16 | if (currentTime - lastKeyTime > 1000) buffer = []; 17 | buffer.push(key); 18 | lastKeyTime = currentTime; 19 | if (buffer.join("") === keySequence) callback(); 20 | }) 21 | } -------------------------------------------------------------------------------- /lab2-16.09.19/web/scripts/graph_drawer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | let svg = document.querySelector("svg"); 4 | 5 | document.addEventListener("DOMContentLoaded", () => { 6 | svg.addEventListener("click", (event) => { 7 | if (validateR()) { 8 | let position = getMousePosition(svg, event); 9 | x = position.x; 10 | y = position.y; 11 | setPointer(x, y); 12 | let k = 270 / r; //отношение радиуса и плоскости 13 | x = (x / k).toFixed(1); 14 | y = (y / k).toFixed(1); 15 | sendRequest("svg"); 16 | } 17 | }); 18 | }); 19 | 20 | function getMousePosition(svg, event) { 21 | let rect = svg.getBoundingClientRect(); 22 | return { 23 | x: event.clientX - rect.left, 24 | y: event.clientY - rect.top 25 | }; 26 | } 27 | 28 | function setPointer(x, y) { 29 | console.log(x + " " + y); 30 | svg.insertAdjacentHTML("beforeend", ``); 31 | } -------------------------------------------------------------------------------- /lab2-16.09.19/web/stylesheets/check_button.css: -------------------------------------------------------------------------------- 1 | /* Взято и переработано с https://codepen.io/rauldronca/pen/mARYEm*/ 2 | 3 | #checkButton { 4 | text-align: center; 5 | text-transform: uppercase; 6 | cursor: pointer; 7 | letter-spacing: 2px; 8 | position: relative; 9 | background-color: #eb2a5a; 10 | border: none; 11 | color: white; 12 | padding: 15px; 13 | width: 150px; 14 | transition-duration: 0.4s; 15 | overflow: hidden; 16 | box-shadow: 0 5px 15px #193047; 17 | border-radius: 4px; 18 | } 19 | 20 | #checkButton:hover { 21 | background: white; 22 | box-shadow: 0 2px 10px 5px #eb2a5a; 23 | color: black; 24 | } 25 | 26 | #checkButton::after { 27 | content: ""; 28 | background: #eb2a5a; 29 | display: block; 30 | position: absolute; 31 | padding-top: 300%; 32 | padding-left: 350%; 33 | margin-left: -20px !important; 34 | margin-top: -120%; 35 | opacity: 0; 36 | transition: all 0.8s 37 | } 38 | 39 | #checkButton:active::after { 40 | padding: 0; 41 | margin: 0; 42 | opacity: 1; 43 | transition: 0s 44 | } 45 | 46 | #checkButton:focus {outline: 0} -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml 3 | # Datasource local storage ignored files 4 | /dataSources/ 5 | /dataSources.local.xml -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/artifacts/lab3_20_10_19_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/out/artifacts/lab3_20_10_19_war 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/artifacts/lab3_20_10_19_war_exploded.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/out/artifacts/lab3_20_10_19_war_exploded 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/dataSources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | postgresql 6 | true 7 | org.postgresql.Driver 8 | jdbc:postgresql://localhost:5432/web3 9 | 10 | 11 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/libraries/JPA_2_0_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/libraries/Primefaces.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/libraries/eclipselink.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/libraries/postgresql_42_2_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/sqldialects.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lab3-20.10.19/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lab3-20.10.19/docs/areas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/docs/areas.png -------------------------------------------------------------------------------- /lab3-20.10.19/docs/backend.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/docs/backend.pdf -------------------------------------------------------------------------------- /lab3-20.10.19/docs/frontend.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/docs/frontend.pdf -------------------------------------------------------------------------------- /lab3-20.10.19/docs/schema.sql: -------------------------------------------------------------------------------- 1 | CREATE SEQUENCE gen_seq; 2 | CREATE TABLE points ( 3 | id serial NOT NULL UNIQUE, 4 | owner VARCHAR, 5 | x DOUBLE PRECISION, 6 | y DOUBLE PRECISION, 7 | r DOUBLE PRECISION, 8 | coordsStatus BOOLEAN, 9 | bornDate TIMESTAMP 10 | ); -------------------------------------------------------------------------------- /lab3-20.10.19/docs/веб-прог_лаб3_отчёт.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/docs/веб-прог_лаб3_отчёт.docx -------------------------------------------------------------------------------- /lab3-20.10.19/lib/eclipselink.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/lib/eclipselink.jar -------------------------------------------------------------------------------- /lab3-20.10.19/lib/javax.persistence.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/lib/javax.persistence.jar -------------------------------------------------------------------------------- /lab3-20.10.19/lib/postgresql-42.2.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/lib/postgresql-42.2.8.jar -------------------------------------------------------------------------------- /lab3-20.10.19/lib/primefaces-7.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/lib/primefaces-7.0.jar -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war/lab3-20.10.19_war.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war/lab3-20.10.19_war.war -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/classes/META-INF/persistence.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.eclipse.persistence.jpa.PersistenceProvider 6 | Point 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/classes/Point.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/classes/Point.class -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/classes/RealHumanBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/classes/RealHumanBean.class -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | realHuman 9 | RealHumanBean 10 | session 11 | 12 | -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/eclipselink.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/eclipselink.jar -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/javax.persistence.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/javax.persistence.jar -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/postgresql-42.2.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/postgresql-42.2.8.jar -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/primefaces-7.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/primefaces-7.0.jar -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/sqlite-jdbc-3.30.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/lib/sqlite-jdbc-3.30.1.jar -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | index.xhtml 8 | 9 | 10 | Faces Servlet 11 | javax.faces.webapp.FacesServlet 12 | 1 13 | 14 | 15 | Faces Servlet 16 | *.xhtml 17 | 18 | 19 | 404 20 | /error_page.xhtml 21 | 22 | -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/error_page.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 9 | 10 | 11 | 12 | Лабораторная №3 - ошибка клиента 13 | 14 | 15 | 16 | 17 | 18 |

404

19 |

Ничего не найдено

20 |

Страница, которую вы запрашиваете, отсутствует, проверьте url-адрес.
21 | Вернуться на домашную страницу 22 |

23 |
24 | 25 |
26 | 27 | -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/index.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 9 | 10 | 11 | 12 | Лабораторная №3 - часы 13 | 14 | 15 | 16 | 17 |

18 | Перейти на страницу валидации значений 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/fonts/AvenirNextCyr-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/fonts/AvenirNextCyr-Regular.ttf -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/avatar.png -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/favicon.jpg -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/favicon_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/favicon_old.png -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/joker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/joker.jpg -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/pulpit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/images/pulpit_logo.png -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/js/clock.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | function clock() { 4 | let date = new Date(), 5 | hours = (date.getHours() < 10) ? "0" + date.getHours() : date.getHours(), 6 | minutes = (date.getMinutes() < 10) ? "0" + date.getMinutes() : date.getMinutes(), 7 | seconds = (date.getSeconds() < 10) ? "0" + date.getSeconds() : date.getSeconds(); 8 | document.getElementById("clock").innerHTML = `${hours}:${minutes}:${seconds}`; 9 | } 10 | setInterval(clock, 10000); 11 | clock(); -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/stylesheets/app_page.css: -------------------------------------------------------------------------------- 1 | thead h3 { 2 | margin-top: 2%; 3 | margin-bottom: 1%; 4 | } 5 | 6 | tfoot * {margin-top: 1%} 7 | 8 | #mainTable { 9 | background-color: ghostwhite; 10 | width: 1000px; 11 | margin-bottom: 90px; 12 | } 13 | 14 | input, svg, #Y-input { 15 | width: 100%; 16 | border: 2px solid #f41c52; 17 | border-radius: 20px; 18 | background-color: white; 19 | } 20 | 21 | svg { 22 | width: 300px; 23 | height: 300px; 24 | box-shadow: inset 0 0 7px 1px gray; 25 | } 26 | 27 | hr { 28 | color: #f41c52; 29 | width: 95%; 30 | } 31 | 32 | .notification { 33 | color: white; 34 | padding: 1%; 35 | } 36 | 37 | .outputStub {background-color: #000720} 38 | 39 | .errorStub {background-color: #dc143b} 40 | 41 | #resTable { 42 | border: 1px solid #000720; 43 | border-collapse: collapse; 44 | margin: auto auto 3%; 45 | width: 90%; 46 | } 47 | 48 | #resTable th { 49 | color: white; 50 | background-color: #000720; 51 | } -------------------------------------------------------------------------------- /lab3-20.10.19/out/artifacts/lab3_20_10_19_war_exploded/resources/stylesheets/error_page.css: -------------------------------------------------------------------------------- 1 | /* Взято и переработано с https://colorlib.com)*/ 2 | 3 | h2 { 4 | font-size: 33px; 5 | font-weight: 200; 6 | text-transform: uppercase; 7 | margin: 0; 8 | letter-spacing: 3px; 9 | } -------------------------------------------------------------------------------- /lab3-20.10.19/out/production/lab3-20.10.19/META-INF/persistence.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.eclipse.persistence.jpa.PersistenceProvider 6 | Point 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /lab3-20.10.19/out/production/lab3-20.10.19/Point.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/production/lab3-20.10.19/Point.class -------------------------------------------------------------------------------- /lab3-20.10.19/out/production/lab3-20.10.19/RealHumanBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/out/production/lab3-20.10.19/RealHumanBean.class -------------------------------------------------------------------------------- /lab3-20.10.19/src/META-INF/persistence.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.eclipse.persistence.jpa.PersistenceProvider 6 | Point 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /lab3-20.10.19/web/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | realHuman 9 | RealHumanBean 10 | session 11 | 12 | -------------------------------------------------------------------------------- /lab3-20.10.19/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | index.xhtml 8 | 9 | 10 | Faces Servlet 11 | javax.faces.webapp.FacesServlet 12 | 1 13 | 14 | 15 | Faces Servlet 16 | *.xhtml 17 | 18 | 19 | 404 20 | /error_page.xhtml 21 | 22 | -------------------------------------------------------------------------------- /lab3-20.10.19/web/error_page.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 9 | 10 | 11 | 12 | Лабораторная №3 - ошибка клиента 13 | 14 | 15 | 16 | 17 | 18 |

404

19 |

Ничего не найдено

20 |

Страница, которую вы запрашиваете, отсутствует, проверьте url-адрес.
21 | Вернуться на домашную страницу 22 |

23 |
24 | 25 |
26 | 27 | -------------------------------------------------------------------------------- /lab3-20.10.19/web/index.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 9 | 10 | 11 | 12 | Лабораторная №3 - часы 13 | 14 | 15 | 16 | 17 |

18 | Перейти на страницу валидации значений 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/fonts/AvenirNextCyr-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/web/resources/fonts/AvenirNextCyr-Regular.ttf -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/web/resources/images/avatar.png -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/images/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/web/resources/images/favicon.jpg -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/images/favicon_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/web/resources/images/favicon_old.png -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/images/joker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/web/resources/images/joker.jpg -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/images/pulpit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab3-20.10.19/web/resources/images/pulpit_logo.png -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/js/clock.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | function clock() { 4 | let date = new Date(), 5 | hours = (date.getHours() < 10) ? "0" + date.getHours() : date.getHours(), 6 | minutes = (date.getMinutes() < 10) ? "0" + date.getMinutes() : date.getMinutes(), 7 | seconds = (date.getSeconds() < 10) ? "0" + date.getSeconds() : date.getSeconds(); 8 | document.getElementById("clock").innerHTML = `${hours}:${minutes}:${seconds}`; 9 | } 10 | setInterval(clock, 10000); 11 | clock(); -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/js/easter_eggs.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | document.addEventListener("DOMContentLoaded", () => { 4 | keyMapper(1000, "joke", function () { 5 | document.querySelectorAll("*").forEach((node) => node.classList.add("rotated")); 6 | const parent = document.getElementById("content"); 7 | while (parent.firstChild) parent.firstChild.remove(); 8 | const img = document.createElement("img"); 9 | img.src = "resources/images/joker.jpg"; 10 | parent.appendChild(img); 11 | }); 12 | }); 13 | 14 | function keyMapper(keystrokeDelay, keySequence, callback) { 15 | let buffer = []; 16 | let lastKeyTime = Date.now(); 17 | document.addEventListener("keydown", event => { 18 | let charList = "abcdefghijklmnopqrstuvwxyz0123456789"; 19 | const key = event.key.toLowerCase(); 20 | if (charList.indexOf(key) === -1) return; 21 | let currentTime = Date.now(); 22 | if (currentTime - lastKeyTime > 1000) buffer = []; 23 | buffer.push(key); 24 | lastKeyTime = currentTime; 25 | if (buffer.join("") === keySequence) callback(); 26 | }) 27 | } -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/stylesheets/app_page.css: -------------------------------------------------------------------------------- 1 | thead h3 { 2 | margin-top: 2%; 3 | margin-bottom: 1%; 4 | } 5 | 6 | tfoot * {margin-top: 1%} 7 | 8 | #mainTable { 9 | background-color: ghostwhite; 10 | width: 1000px; 11 | margin-bottom: 90px; 12 | } 13 | 14 | input, svg, #Y-input { 15 | width: 100%; 16 | border: 2px solid #f41c52; 17 | border-radius: 20px; 18 | background-color: white; 19 | } 20 | 21 | svg { 22 | width: 300px; 23 | height: 300px; 24 | box-shadow: inset 0 0 7px 1px gray; 25 | } 26 | 27 | hr { 28 | color: #f41c52; 29 | width: 95%; 30 | } 31 | 32 | .notification { 33 | color: white; 34 | padding: 1%; 35 | } 36 | 37 | .outputStub {background-color: #000720} 38 | 39 | .errorStub {background-color: #dc143b} 40 | 41 | #resTable { 42 | border: 1px solid #000720; 43 | border-collapse: collapse; 44 | margin: auto auto 3%; 45 | width: 90%; 46 | } 47 | 48 | #resTable th { 49 | color: white; 50 | background-color: #000720; 51 | } -------------------------------------------------------------------------------- /lab3-20.10.19/web/resources/stylesheets/error_page.css: -------------------------------------------------------------------------------- 1 | /* Взято и переработано с https://colorlib.com)*/ 2 | 3 | h2 { 4 | font-size: 33px; 5 | font-weight: 200; 6 | text-transform: uppercase; 7 | margin: 0; 8 | letter-spacing: 3px; 9 | } -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml 3 | # Datasource local storage ignored files 4 | /dataSources/ 5 | /dataSources.local.xml 6 | # Editor-based HTTP Client requests 7 | /httpRequests/ 8 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/artifacts/rursus_war_exploded.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/out/artifacts/rursus_war_exploded 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 23 | 24 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/dataSources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | postgresql 6 | true 7 | org.postgresql.Driver 8 | jdbc:postgresql://localhost:5432/web4 9 | 10 | 11 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/dictionaries/pugalol.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | axios 5 | 6 | 7 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_sun_activation_jakarta_activation_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_3_0_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_sun_mail_jakarta_mail_1_6_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_sun_xml_fastinfoset_FastInfoset_1_2_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__io_jsonwebtoken_jjwt_0_9_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__jakarta_validation_jakarta_validation_api_2_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_29.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_29.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_29.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_dom4j_dom4j_2_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_glassfish_jaxb_jaxb_runtime_2_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_5_1_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_hibernate_hibernate_core_5_4_9_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_javassist_javassist_3_24_0_GA.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_jboss_jandex_2_1_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_jvnet_staxex_stax_ex_1_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_postgresql_postgresql_42_2_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_projectlombok_lombok_1_18_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_29.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_29.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_mail_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_security_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_2_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_data_spring_data_jpa_2_2_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_security_spring_security_config_5_2_1_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_security_spring_security_core_5_2_1_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_security_spring_security_web_5_2_1_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_aop_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_aspects_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_beans_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_context_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_context_support_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_core_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_expression_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_jcl_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_jdbc_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_orm_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_tx_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_web_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_springframework_spring_webmvc_5_2_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 13 | 14 | 19 | 20 | 21 | 22 | 23 | 24 | 26 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lab4-12.11.19/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/areas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/docs/areas.png -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/config/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.config 7 | 8 | 9 | 10 | 11 | 12 |

logic.config

13 |
14 |

Classes

15 | 20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/controllers/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.controllers 7 | 8 | 9 | 10 | 11 | 12 |

logic.controllers

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/filters/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.filters 7 | 8 | 9 | 10 | 11 | 12 |

logic.filters

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/models/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.models 7 | 8 | 9 | 10 | 11 | 12 |

logic.models

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic 7 | 8 | 9 | 10 | 11 | 12 |

logic

13 |
14 |

Classes

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/repos/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.repos 7 | 8 | 9 | 10 | 11 | 12 |

logic.repos

13 |
14 |

Interfaces

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/requests/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.requests 7 | 8 | 9 | 10 | 11 | 12 |

logic.requests

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/security/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.security 7 | 8 | 9 | 10 | 11 | 12 |

logic.security

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/logic/services/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | logic.services 7 | 8 | 9 | 10 | 11 | 12 |

logic.services

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/package-list: -------------------------------------------------------------------------------- 1 | logic 2 | logic.config 3 | logic.controllers 4 | logic.filters 5 | logic.models 6 | logic.repos 7 | logic.requests 8 | logic.security 9 | logic.services 10 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/javadoc/script.js: -------------------------------------------------------------------------------- 1 | function show(type) 2 | { 3 | count = 0; 4 | for (var key in methods) { 5 | var row = document.getElementById(key); 6 | if ((methods[key] & type) != 0) { 7 | row.style.display = ''; 8 | row.className = (count++ % 2) ? rowColor : altColor; 9 | } 10 | else 11 | row.style.display = 'none'; 12 | } 13 | updateTabs(type); 14 | } 15 | 16 | function updateTabs(type) 17 | { 18 | for (var value in tabs) { 19 | var sNode = document.getElementById(tabs[value][0]); 20 | var spanNode = sNode.firstChild; 21 | if (value == type) { 22 | sNode.className = activeTableTab; 23 | spanNode.innerHTML = tabs[value][1]; 24 | } 25 | else { 26 | sNode.className = tableTab; 27 | spanNode.innerHTML = "" + tabs[value][1] + ""; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lab4-12.11.19/docs/uml.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/docs/uml.pdf -------------------------------------------------------------------------------- /lab4-12.11.19/docs/веб-прог_лаб4_отчёт.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/docs/веб-прог_лаб4_отчёт.docx -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | 15 | # Editor directories and files 16 | .idea 17 | .vscode 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw? -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/README.md: -------------------------------------------------------------------------------- 1 | # hominem 2 | 3 | ## Project setup 4 | ``` 5 | npm install 6 | ``` 7 | 8 | ### Compiles and hot-reloads for development 9 | ``` 10 | npm run serve 11 | ``` 12 | 13 | ### Compiles and minifies for production 14 | ``` 15 | npm run build 16 | ``` 17 | 18 | ### Lints and fixes files 19 | ``` 20 | npm run lint 21 | ``` 22 | 23 | ### Customize configuration 24 | See [Configuration Reference](https://cli.vuejs.org/config/). 25 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/hominem.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/buffer.d.ts: -------------------------------------------------------------------------------- 1 | declare module "buffer" { 2 | export const INSPECT_MAX_BYTES: number; 3 | export const kMaxLength: number; 4 | export const kStringMaxLength: number; 5 | export const constants: { 6 | MAX_LENGTH: number; 7 | MAX_STRING_LENGTH: number; 8 | }; 9 | const BuffType: typeof Buffer; 10 | 11 | export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; 12 | 13 | export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; 14 | 15 | export const SlowBuffer: { 16 | /** @deprecated since v6.0.0, use Buffer.allocUnsafeSlow() */ 17 | new(size: number): Buffer; 18 | prototype: Buffer; 19 | }; 20 | 21 | export { BuffType as Buffer }; 22 | } 23 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/console.d.ts: -------------------------------------------------------------------------------- 1 | declare module "console" { 2 | export = console; 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/domain.d.ts: -------------------------------------------------------------------------------- 1 | declare module "domain" { 2 | import * as events from "events"; 3 | 4 | class Domain extends events.EventEmitter implements NodeJS.Domain { 5 | run(fn: (...args: any[]) => T, ...args: any[]): T; 6 | add(emitter: events.EventEmitter | NodeJS.Timer): void; 7 | remove(emitter: events.EventEmitter | NodeJS.Timer): void; 8 | bind(cb: T): T; 9 | intercept(cb: T): T; 10 | members: Array; 11 | enter(): void; 12 | exit(): void; 13 | } 14 | 15 | function create(): Domain; 16 | } 17 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/module.d.ts: -------------------------------------------------------------------------------- 1 | declare module "module" { 2 | export = NodeJS.Module; 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/process.d.ts: -------------------------------------------------------------------------------- 1 | declare module "process" { 2 | import * as tty from "tty"; 3 | 4 | global { 5 | namespace NodeJS { 6 | // this namespace merge is here because these are specifically used 7 | // as the type for process.stdin, process.stdout, and process.stderr. 8 | // they can't live in tty.d.ts because we need to disambiguate the imported name. 9 | interface ReadStream extends tty.ReadStream {} 10 | interface WriteStream extends tty.WriteStream {} 11 | } 12 | } 13 | 14 | export = process; 15 | } 16 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/punycode.d.ts: -------------------------------------------------------------------------------- 1 | declare module "punycode" { 2 | function decode(string: string): string; 3 | function encode(string: string): string; 4 | function toUnicode(domain: string): string; 5 | function toASCII(domain: string): string; 6 | const ucs2: ucs2; 7 | interface ucs2 { 8 | decode(string: string): number[]; 9 | encode(codePoints: number[]): string; 10 | } 11 | const version: string; 12 | } 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/querystring.d.ts: -------------------------------------------------------------------------------- 1 | declare module "querystring" { 2 | interface StringifyOptions { 3 | encodeURIComponent?: (str: string) => string; 4 | } 5 | 6 | interface ParseOptions { 7 | maxKeys?: number; 8 | decodeURIComponent?: (str: string) => string; 9 | } 10 | 11 | interface ParsedUrlQuery { [key: string]: string | string[]; } 12 | 13 | interface ParsedUrlQueryInput { 14 | [key: string]: NodeJS.PoorMansUnknown; 15 | } 16 | 17 | function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; 18 | function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; 19 | /** 20 | * The querystring.encode() function is an alias for querystring.stringify(). 21 | */ 22 | const encode: typeof stringify; 23 | /** 24 | * The querystring.decode() function is an alias for querystring.parse(). 25 | */ 26 | const decode: typeof parse; 27 | function escape(str: string): string; 28 | function unescape(str: string): string; 29 | } 30 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/string_decoder.d.ts: -------------------------------------------------------------------------------- 1 | declare module "string_decoder" { 2 | class StringDecoder { 3 | constructor(encoding?: string); 4 | write(buffer: Buffer): string; 5 | end(buffer?: Buffer): string; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/timers.d.ts: -------------------------------------------------------------------------------- 1 | declare module "timers" { 2 | function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 3 | namespace setTimeout { 4 | function __promisify__(ms: number): Promise; 5 | function __promisify__(ms: number, value: T): Promise; 6 | } 7 | function clearTimeout(timeoutId: NodeJS.Timeout): void; 8 | function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 9 | function clearInterval(intervalId: NodeJS.Timeout): void; 10 | function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; 11 | namespace setImmediate { 12 | function __promisify__(): Promise; 13 | function __promisify__(value: T): Promise; 14 | } 15 | function clearImmediate(immediateId: NodeJS.Immediate): void; 16 | } 17 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/ts3.2/globals.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare namespace NodeJS { 5 | interface HRTime { 6 | bigint(): bigint; 7 | } 8 | } 9 | 10 | interface Buffer extends Uint8Array { 11 | readBigUInt64BE(offset?: number): bigint; 12 | readBigUInt64LE(offset?: number): bigint; 13 | readBigInt64BE(offset?: number): bigint; 14 | readBigInt64LE(offset?: number): bigint; 15 | writeBigInt64BE(value: bigint, offset?: number): number; 16 | writeBigInt64LE(value: bigint, offset?: number): number; 17 | writeBigUInt64BE(value: bigint, offset?: number): number; 18 | writeBigUInt64LE(value: bigint, offset?: number): number; 19 | } 20 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/ts3.2/index.d.ts: -------------------------------------------------------------------------------- 1 | // NOTE: These definitions support NodeJS and TypeScript 3.2. 2 | 3 | // NOTE: TypeScript version-specific augmentations can be found in the following paths: 4 | // - ~/base.d.ts - Shared definitions common to all TypeScript versions 5 | // - ~/index.d.ts - Definitions specific to TypeScript 2.1 6 | // - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 7 | 8 | // Reference required types from the default lib: 9 | /// 10 | /// 11 | /// 12 | /// 13 | 14 | // Base definitions for all NodeJS modules that are not specific to any version of TypeScript: 15 | // tslint:disable-next-line:no-bad-reference 16 | /// 17 | 18 | // TypeScript 3.2-specific augmentations: 19 | /// 20 | /// 21 | /// 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@types/node/ts3.2/util.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare module "util" { 5 | namespace inspect { 6 | const custom: unique symbol; 7 | } 8 | namespace promisify { 9 | const custom: unique symbol; 10 | } 11 | namespace types { 12 | function isBigInt64Array(value: any): value is BigInt64Array; 13 | function isBigUint64Array(value: any): value is BigUint64Array; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/customConfig.input.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | ['@vue/app', { 4 | polyfills: [] 5 | }] 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/customConfig.output.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | ['@vue/cli-plugin-babel/preset', { 4 | polyfills: [] 5 | }] 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/default.input.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/app'] 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/default.output.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/cli-plugin-babel/preset'] 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/doubleQuote.input.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ["@vue/app"] 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/doubleQuote.output.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ["@vue/cli-plugin-babel/preset"] 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/require.input.js: -------------------------------------------------------------------------------- 1 | const config = { 2 | presets: [ 3 | [require('@vue/babel-preset-app'), { 4 | polyfills: [] 5 | }] 6 | ] 7 | } 8 | 9 | module.exports = config 10 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/require.output.js: -------------------------------------------------------------------------------- 1 | const config = { 2 | presets: [ 3 | [require('@vue/cli-plugin-babel/preset'), { 4 | polyfills: [] 5 | }] 6 | ] 7 | } 8 | 9 | module.exports = config 10 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/templateLiteral.input.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [`@vue/app`] 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/codemods/__testfixtures__/templateLiteral.output.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/cli-plugin-babel/preset'] 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/generator.js: -------------------------------------------------------------------------------- 1 | module.exports = api => { 2 | // Most likely you want to overwrite the whole config to ensure it's working 3 | // without conflicts, e.g. for a project that used Jest without Babel. 4 | // It should be rare for the user to have their own special babel config 5 | // without using the Babel plugin already. 6 | delete api.generator.files['babel.config.js'] 7 | 8 | api.extendPackage({ 9 | babel: { 10 | presets: ['@vue/cli-plugin-babel/preset'] 11 | }, 12 | dependencies: { 13 | 'core-js': '^3.3.2' 14 | } 15 | }) 16 | } 17 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/migrator/index.js: -------------------------------------------------------------------------------- 1 | const { chalk } = require('@vue/cli-shared-utils') 2 | 3 | module.exports = (api) => { 4 | api.transformScript('babel.config.js', require('../codemods/usePluginPreset')) 5 | 6 | if (api.fromVersion('^3')) { 7 | api.extendPackage({ 8 | dependencies: { 9 | 'core-js': '^3.3.2' 10 | } 11 | }, true) 12 | 13 | // TODO: implement a codemod to migrate polyfills 14 | api.exitLog(`core-js has been upgraded from v2 to v3. 15 | If you have any custom polyfills defined in ${chalk.yellow('babel.config.js')}, please be aware their names may have been changed. 16 | For more complete changelog, see https://github.com/zloirock/core-js/blob/master/CHANGELOG.md#300---20190319`) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-babel/preset.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@vue/babel-preset-app') 2 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-eslint/eslintOptions.js: -------------------------------------------------------------------------------- 1 | exports.config = api => { 2 | const config = { 3 | root: true, 4 | env: { node: true }, 5 | extends: ['plugin:vue/essential'], 6 | rules: { 7 | 'no-console': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`), 8 | 'no-debugger': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`) 9 | } 10 | } 11 | if (!api.hasPlugin('typescript')) { 12 | config.parserOptions = { 13 | parser: 'babel-eslint' 14 | } 15 | } 16 | return config 17 | } 18 | 19 | // __expression is a special flag that allows us to customize stringification 20 | // output when extracting configs into standalone files 21 | function makeJSOnlyValue (str) { 22 | const fn = () => {} 23 | fn.__expression = str 24 | return fn 25 | } 26 | 27 | const baseExtensions = ['.js', '.jsx', '.vue'] 28 | exports.extensions = api => api.hasPlugin('typescript') 29 | ? baseExtensions.concat('.ts', '.tsx') 30 | : baseExtensions 31 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-eslint/migrator/index.js: -------------------------------------------------------------------------------- 1 | module.exports = (api) => { 2 | // if project is scaffolded by Vue CLI 3.0.x or earlier, 3 | // the ESLint dependency (ESLint v4) is inside @vue/cli-plugin-eslint; 4 | // in Vue CLI v4 it should be extracted to the project dependency list. 5 | if (api.fromVersion('^3')) { 6 | const pkg = require(api.resolve('package.json')) 7 | const hasESLint = [ 8 | 'dependencies', 9 | 'devDependencies', 10 | 'peerDependencies', 11 | 'optionalDependencies' 12 | ].some(depType => 13 | Object.keys(pkg[depType] || {}).includes('eslint') 14 | ) 15 | 16 | if (!hasESLint) { 17 | api.extendPackage({ 18 | devDependencies: { 19 | eslint: '^4.19.1' 20 | } 21 | }) 22 | } 23 | 24 | // TODO: add a prompt for users to optionally upgrade their eslint configs to a new major version 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-plugin-eslint/ui/taskDescriptor.js: -------------------------------------------------------------------------------- 1 | const task = { 2 | match: /vue-cli-service lint/, 3 | description: 'org.vue.eslint.tasks.lint.description', 4 | link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint#injected-commands', 5 | prompts: [ 6 | { 7 | name: 'noFix', 8 | type: 'confirm', 9 | default: false, 10 | description: 'org.vue.eslint.tasks.lint.noFix' 11 | } 12 | ], 13 | onBeforeRun: ({ answers, args }) => { 14 | if (answers.noFix) args.push('--no-fix') 15 | } 16 | } 17 | 18 | module.exports = { 19 | task 20 | } 21 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/bin/vue-cli-service.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const semver = require('semver') 4 | const { error } = require('@vue/cli-shared-utils') 5 | const requiredVersion = require('../package.json').engines.node 6 | 7 | if (!semver.satisfies(process.version, requiredVersion)) { 8 | error( 9 | `You are using Node ${process.version}, but vue-cli-service ` + 10 | `requires Node ${requiredVersion}.\nPlease upgrade your Node version.` 11 | ) 12 | process.exit(1) 13 | } 14 | 15 | const Service = require('../lib/Service') 16 | const service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd()) 17 | 18 | const rawArgv = process.argv.slice(2) 19 | const args = require('minimist')(rawArgv, { 20 | boolean: [ 21 | // build 22 | 'modern', 23 | 'report', 24 | 'report-json', 25 | 'inline-vue', 26 | 'watch', 27 | // serve 28 | 'open', 29 | 'copy', 30 | 'https', 31 | // inspect 32 | 'verbose' 33 | ] 34 | }) 35 | const command = args._[0] 36 | 37 | service.run(command, args, rawArgv).catch(err => { 38 | error(err) 39 | process.exit(1) 40 | }) 41 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/generator/router.js: -------------------------------------------------------------------------------- 1 | module.exports = (api, options) => { 2 | require('@vue/cli-plugin-router/generator')(api, { 3 | historyMode: options.routerHistoryMode 4 | }) 5 | } 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/generator/template/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App.vue' 3 | 4 | Vue.config.productionTip = false 5 | 6 | new Vue({ 7 | <%_ if (doesCompile) { _%> 8 | render: h => h(App), 9 | <%_ } else { _%> 10 | render: function (h) { return h(App) }, 11 | <%_ } _%> 12 | }).$mount('#app') 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/generator/vuex.js: -------------------------------------------------------------------------------- 1 | module.exports = api => { 2 | require('@vue/cli-plugin-vuex/generator')(api) 3 | } 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js: -------------------------------------------------------------------------------- 1 | import './setPublicPath' 2 | export * from '~entry' 3 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js: -------------------------------------------------------------------------------- 1 | import './setPublicPath' 2 | import mod from '~entry' 3 | export default mod 4 | export * from '~entry' 5 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js: -------------------------------------------------------------------------------- 1 | // This file is imported into lib/wc client bundles. 2 | 3 | if (typeof window !== 'undefined') { 4 | if (process.env.NEED_CURRENTSCRIPT_POLYFILL) { 5 | require('current-script-polyfill') 6 | } 7 | 8 | var i 9 | if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) { 10 | __webpack_public_path__ = i[1] // eslint-disable-line 11 | } 12 | } 13 | 14 | // Indicate to webpack that this file can be concatenated 15 | export default null 16 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/config/prod.js: -------------------------------------------------------------------------------- 1 | module.exports = (api, options) => { 2 | api.chainWebpack(webpackConfig => { 3 | if (process.env.NODE_ENV === 'production') { 4 | webpackConfig 5 | .mode('production') 6 | .devtool(options.productionSourceMap ? 'source-map' : false) 7 | 8 | // keep module.id stable when vendor modules does not change 9 | webpackConfig 10 | .plugin('hash-module-ids') 11 | .use(require('webpack/lib/HashedModuleIdsPlugin'), [{ 12 | hashDigest: 'hex' 13 | }]) 14 | 15 | // disable optimization during tests to speed things up 16 | if (process.env.VUE_CLI_TEST) { 17 | webpackConfig.optimization.minimize(false) 18 | } 19 | } 20 | }) 21 | } 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/util/getAssetPath.js: -------------------------------------------------------------------------------- 1 | const path = require('path') 2 | 3 | module.exports = function getAssetPath (options, filePath) { 4 | return options.assetsDir 5 | ? path.posix.join(options.assetsDir, filePath) 6 | : filePath 7 | } 8 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/util/getPadLength.js: -------------------------------------------------------------------------------- 1 | module.exports = function getPadLength (obj) { 2 | let longest = 10 3 | for (const name in obj) { 4 | if (name.length + 1 > longest) { 5 | longest = name.length + 1 6 | } 7 | } 8 | return longest 9 | } 10 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/util/isAbsoluteUrl.js: -------------------------------------------------------------------------------- 1 | module.exports = function isAbsoluteUrl (url) { 2 | // A URL is considered absolute if it begins with "://" or "//" 3 | return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url) 4 | } 5 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/util/resolveClientEnv.js: -------------------------------------------------------------------------------- 1 | const prefixRE = /^VUE_APP_/ 2 | 3 | module.exports = function resolveClientEnv (options, raw) { 4 | const env = {} 5 | Object.keys(process.env).forEach(key => { 6 | if (prefixRE.test(key) || key === 'NODE_ENV') { 7 | env[key] = process.env[key] 8 | } 9 | }) 10 | env.BASE_URL = options.publicPath 11 | 12 | if (raw) { 13 | return env 14 | } 15 | 16 | for (const key in env) { 17 | env[key] = JSON.stringify(env[key]) 18 | } 19 | return { 20 | 'process.env': env 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/util/resolveLocal.js: -------------------------------------------------------------------------------- 1 | const path = require('path') 2 | 3 | module.exports = function resolveLocal (...args) { 4 | return path.join(__dirname, '../../', ...args) 5 | } 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/lib/webpack/MovePlugin.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs-extra') 2 | 3 | module.exports = class MovePlugin { 4 | constructor (from, to) { 5 | this.from = from 6 | this.to = to 7 | } 8 | 9 | apply (compiler) { 10 | compiler.hooks.done.tap('move-plugin', () => { 11 | if (fs.existsSync(this.from)) { 12 | fs.moveSync(this.from, this.to, { overwrite: true }) 13 | } 14 | }) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/types/index.d.ts: -------------------------------------------------------------------------------- 1 | export { ProjectOptions, ConfigFunction } from './ProjectOptions' 2 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/cli-service/webpack.config.js: -------------------------------------------------------------------------------- 1 | // this file is for cases where we need to access the 2 | // webpack config as a file when using CLI commands. 3 | 4 | let service = process.VUE_CLI_SERVICE 5 | 6 | if (!service || process.env.VUE_CLI_API_MODE) { 7 | const Service = require('./lib/Service') 8 | service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd()) 9 | service.init(process.env.VUE_CLI_MODE || process.env.NODE_ENV) 10 | } 11 | 12 | module.exports = service.resolveWebpackConfig() 13 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/compileStyle.d.ts: -------------------------------------------------------------------------------- 1 | import { LazyResult } from 'postcss'; 2 | export interface StyleCompileOptions { 3 | source: string; 4 | filename: string; 5 | id: string; 6 | map?: any; 7 | scoped?: boolean; 8 | trim?: boolean; 9 | preprocessLang?: string; 10 | preprocessOptions?: any; 11 | postcssOptions?: any; 12 | postcssPlugins?: any[]; 13 | } 14 | export interface AsyncStyleCompileOptions extends StyleCompileOptions { 15 | isAsync?: boolean; 16 | } 17 | export interface StyleCompileResults { 18 | code: string; 19 | map: any | void; 20 | rawResult: LazyResult | void; 21 | errors: string[]; 22 | } 23 | export declare function compileStyle(options: StyleCompileOptions): StyleCompileResults; 24 | export declare function compileStyleAsync(options: StyleCompileOptions): Promise; 25 | export declare function doCompileStyle(options: AsyncStyleCompileOptions): StyleCompileResults; 26 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/compileTemplate.d.ts: -------------------------------------------------------------------------------- 1 | import { VueTemplateCompiler, VueTemplateCompilerOptions, ErrorWithRange } from './types'; 2 | import { AssetURLOptions } from './templateCompilerModules/assetUrl'; 3 | export interface TemplateCompileOptions { 4 | source: string; 5 | filename: string; 6 | compiler: VueTemplateCompiler; 7 | compilerOptions?: VueTemplateCompilerOptions; 8 | transformAssetUrls?: AssetURLOptions | boolean; 9 | preprocessLang?: string; 10 | preprocessOptions?: any; 11 | transpileOptions?: any; 12 | isProduction?: boolean; 13 | isFunctional?: boolean; 14 | optimizeSSR?: boolean; 15 | prettify?: boolean; 16 | } 17 | export interface TemplateCompileResult { 18 | code: string; 19 | source: string; 20 | tips: (string | ErrorWithRange)[]; 21 | errors: (string | ErrorWithRange)[]; 22 | } 23 | export declare function compileTemplate(options: TemplateCompileOptions): TemplateCompileResult; 24 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/index.d.ts: -------------------------------------------------------------------------------- 1 | import { parse, SFCBlock, SFCCustomBlock, SFCDescriptor } from './parse'; 2 | import { compileTemplate, TemplateCompileOptions, TemplateCompileResult } from './compileTemplate'; 3 | import { compileStyle, compileStyleAsync, StyleCompileOptions, StyleCompileResults } from './compileStyle'; 4 | export { parse, compileTemplate, compileStyle, compileStyleAsync }; 5 | export { SFCBlock, SFCCustomBlock, SFCDescriptor, TemplateCompileOptions, TemplateCompileResult, StyleCompileOptions, StyleCompileResults }; 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/parse.d.ts: -------------------------------------------------------------------------------- 1 | import { RawSourceMap, VueTemplateCompiler, VueTemplateCompilerParseOptions } from './types'; 2 | export interface ParseOptions { 3 | source: string; 4 | filename?: string; 5 | compiler: VueTemplateCompiler; 6 | compilerParseOptions?: VueTemplateCompilerParseOptions; 7 | sourceRoot?: string; 8 | needMap?: boolean; 9 | } 10 | export interface SFCCustomBlock { 11 | type: string; 12 | content: string; 13 | attrs: { 14 | [key: string]: string | true; 15 | }; 16 | start: number; 17 | end: number; 18 | map?: RawSourceMap; 19 | } 20 | export interface SFCBlock extends SFCCustomBlock { 21 | lang?: string; 22 | src?: string; 23 | scoped?: boolean; 24 | module?: string | boolean; 25 | } 26 | export interface SFCDescriptor { 27 | template: SFCBlock | null; 28 | script: SFCBlock | null; 29 | styles: SFCBlock[]; 30 | customBlocks: SFCCustomBlock[]; 31 | } 32 | export declare function parse(options: ParseOptions): SFCDescriptor; 33 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/stylePlugins/scoped.d.ts: -------------------------------------------------------------------------------- 1 | import * as postcss from 'postcss'; 2 | declare const _default: postcss.Plugin; 3 | export default _default; 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/stylePlugins/trim.d.ts: -------------------------------------------------------------------------------- 1 | import * as postcss from 'postcss'; 2 | declare const _default: postcss.Plugin; 3 | export default _default; 4 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/styleProcessors/index.d.ts: -------------------------------------------------------------------------------- 1 | export interface StylePreprocessor { 2 | render(source: string, map: any | null, options: any): StylePreprocessorResults; 3 | } 4 | export interface StylePreprocessorResults { 5 | code: string; 6 | map?: any; 7 | errors: Array; 8 | } 9 | export declare const processors: { 10 | [key: string]: StylePreprocessor; 11 | }; 12 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/templateCompilerModules/assetUrl.d.ts: -------------------------------------------------------------------------------- 1 | import { ASTNode } from './utils'; 2 | export interface AssetURLOptions { 3 | [name: string]: string | string[]; 4 | } 5 | declare const _default: (userOptions?: AssetURLOptions | undefined) => { 6 | postTransformNode: (node: ASTNode) => void; 7 | }; 8 | export default _default; 9 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/templateCompilerModules/srcset.d.ts: -------------------------------------------------------------------------------- 1 | import { ASTNode } from './utils'; 2 | declare const _default: () => { 3 | postTransformNode: (node: ASTNode) => void; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/dist/templateCompilerModules/utils.d.ts: -------------------------------------------------------------------------------- 1 | export interface Attr { 2 | name: string; 3 | value: string; 4 | } 5 | export interface ASTNode { 6 | tag: string; 7 | attrs: Attr[]; 8 | } 9 | export declare function urlToRequire(url: string): string; 10 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/lib/index.ts: -------------------------------------------------------------------------------- 1 | import { parse, SFCBlock, SFCCustomBlock, SFCDescriptor } from './parse' 2 | 3 | import { 4 | compileTemplate, 5 | TemplateCompileOptions, 6 | TemplateCompileResult 7 | } from './compileTemplate' 8 | 9 | import { 10 | compileStyle, 11 | compileStyleAsync, 12 | StyleCompileOptions, 13 | StyleCompileResults 14 | } from './compileStyle' 15 | 16 | // API 17 | export { parse, compileTemplate, compileStyle, compileStyleAsync } 18 | 19 | // types 20 | export { 21 | SFCBlock, 22 | SFCCustomBlock, 23 | SFCDescriptor, 24 | TemplateCompileOptions, 25 | TemplateCompileResult, 26 | StyleCompileOptions, 27 | StyleCompileResults 28 | } 29 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/@vue/component-compiler-utils/lib/stylePlugins/trim.ts: -------------------------------------------------------------------------------- 1 | import { Root } from 'postcss' 2 | import * as postcss from 'postcss' 3 | 4 | export default postcss.plugin('trim', () => (css: Root) => { 5 | css.walk(({ type, raws }) => { 6 | if (type === 'rule' || type === 'atrule') { 7 | if (raws.before) raws.before = '\n' 8 | if (raws.after) raws.after = '\n' 9 | } 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/address/lib/address.d.ts: -------------------------------------------------------------------------------- 1 | export = address; 2 | 3 | declare interface Address { 4 | ip: string; 5 | ipv6: string; 6 | mac: string; 7 | } 8 | 9 | declare type AddressCallback = (err: Error, addr: Address) => void; 10 | declare type MacCallback = (err: Error, addr: string) => void; 11 | declare type DnsCallback = (err: Error, servers: string[]) => void; 12 | 13 | declare function address(interfaceName: string, callback: AddressCallback): void; 14 | declare function address(callback: AddressCallback): void; 15 | 16 | declare namespace address { 17 | const MAC_IP_RE: RegExp; 18 | const MAC_RE: RegExp; 19 | 20 | function dns(filepath: string, callback: DnsCallback): void; 21 | function dns(callback: DnsCallback): void; 22 | 23 | function ip(interfaceName?: string): any; 24 | function ipv6(interfaceName?: string): any; 25 | 26 | function mac(interfaceName: string, callback: MacCallback): void; 27 | function mac(callback: MacCallback): void; 28 | } 29 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/cli-highlight/dist/cli.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/dotenv-expand/index.d.ts: -------------------------------------------------------------------------------- 1 | export = dotenv_expand; 2 | 3 | interface DotenvResult { 4 | error?: Error; 5 | parsed?: { 6 | [name: string]: string; 7 | }; 8 | } 9 | 10 | declare function dotenv_expand(config: DotenvResult): DotenvResult; 11 | 12 | declare namespace dotenv_expand { 13 | const prototype: { 14 | }; 15 | } 16 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/dotenv/types/test.ts: -------------------------------------------------------------------------------- 1 | import { config, parse } from "dotenv"; 2 | 3 | const env = config(); 4 | const dbUrl: string | null = 5 | env.error || !env.parsed ? null : env.parsed["BASIC"]; 6 | 7 | config({ 8 | path: ".env-example", 9 | encoding: "utf8", 10 | debug: true 11 | }); 12 | 13 | const parsed = parse("NODE_ENV=production\nDB_HOST=a.b.c"); 14 | const dbHost: string = parsed["DB_HOST"]; 15 | 16 | const parsedFromBuffer = parse(new Buffer("JUSTICE=league\n"), { 17 | debug: true 18 | }); 19 | const justice: string = parsedFromBuffer["JUSTICE"]; 20 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/javascript-stringify/dist/array.d.ts: -------------------------------------------------------------------------------- 1 | import { ToString } from "./types"; 2 | /** 3 | * Stringify an array of values. 4 | */ 5 | export declare const arrayToString: ToString; 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/javascript-stringify/dist/index.d.ts: -------------------------------------------------------------------------------- 1 | import { ToString } from "./types"; 2 | export interface Options { 3 | maxDepth?: number; 4 | maxValues?: number; 5 | references?: boolean; 6 | skipUndefinedProperties?: boolean; 7 | } 8 | /** 9 | * Stringify any JavaScript value. 10 | */ 11 | export declare function stringify(value: any, replacer?: ToString | null, indent?: string | number | null, options?: Options): string | undefined; 12 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/javascript-stringify/dist/index.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/javascript-stringify/dist/object.d.ts: -------------------------------------------------------------------------------- 1 | import { ToString } from "./types"; 2 | /** 3 | * Transform an object into a string. 4 | */ 5 | export declare const objectToString: ToString; 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/javascript-stringify/dist/quote.d.ts: -------------------------------------------------------------------------------- 1 | import { Next } from "./types"; 2 | /** 3 | * Quote a string. 4 | */ 5 | export declare function quoteString(str: string): string; 6 | /** 7 | * Test for valid JavaScript identifier. 8 | */ 9 | export declare const IS_VALID_IDENTIFIER: RegExp; 10 | /** 11 | * Check if a variable name is valid. 12 | */ 13 | export declare function isValidVariableName(name: PropertyKey): name is string; 14 | /** 15 | * Quote JavaScript key access. 16 | */ 17 | export declare function quoteKey(key: PropertyKey, next: Next): string | undefined; 18 | /** 19 | * Serialize the path to a string. 20 | */ 21 | export declare function stringifyPath(path: PropertyKey[], next: Next): string; 22 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/javascript-stringify/dist/stringify.d.ts: -------------------------------------------------------------------------------- 1 | import { ToString } from "./types"; 2 | /** 3 | * Stringify a value recursively. 4 | */ 5 | export declare const toString: ToString; 6 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/javascript-stringify/dist/types.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Call `next()` every time you want to stringify a new value. 3 | */ 4 | export declare type Next = (value: any, key?: PropertyKey) => string | undefined; 5 | /** 6 | * Stringify a value. 7 | */ 8 | export declare type ToString = (value: any, space: string, next: Next, key: PropertyKey | undefined) => string | undefined; 9 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/node_modules/vue-loader/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Plugin } from 'webpack' 2 | import { VueTemplateCompiler } from '@vue/component-compiler-utils/lib/types' 3 | import { CompilerOptions } from 'vue-template-compiler' 4 | 5 | declare namespace VueLoader { 6 | class VueLoaderPlugin extends Plugin {} 7 | 8 | interface VueLoaderOptions { 9 | transformAssetUrls?: { [tag: string]: string | Array } 10 | compiler?: VueTemplateCompiler 11 | compilerOptions?: CompilerOptions 12 | transpileOptions?: Object 13 | optimizeSSR?: boolean 14 | hotReload?: boolean 15 | productionMode?: boolean 16 | shadowMode?: boolean 17 | cacheDirectory?: string 18 | cacheIdentifier?: string 19 | prettify?: boolean 20 | exposeFilename?: boolean 21 | } 22 | } 23 | 24 | export = VueLoader 25 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/assets/fonts/AvenirNextCyr-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/hominem/public/assets/fonts/AvenirNextCyr-Regular.ttf -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/assets/img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/hominem/public/assets/img/avatar.png -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/assets/img/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/hominem/public/assets/img/favicon.jpg -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/assets/img/favicon_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/hominem/public/assets/img/favicon_old.png -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/assets/img/joker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/hominem/public/assets/img/joker.jpg -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/assets/img/pulpit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/hominem/public/assets/img/pulpit.png -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/assets/js/easter_egg.js: -------------------------------------------------------------------------------- 1 | keyMapper(1000, "joke", function () { 2 | document.querySelectorAll("*").forEach((node) => node.classList.add("rotated")); 3 | const parent = document.getElementById("content"); 4 | while (parent.firstChild) parent.firstChild.remove(); 5 | const img = document.createElement("img"); 6 | img.src = "/assets/img/joker.jpg"; 7 | parent.appendChild(img); 8 | }); 9 | 10 | function keyMapper(keystrokeDelay, keySequence, callback) { 11 | let buffer = []; 12 | let lastKeyTime = Date.now(); 13 | document.addEventListener("keydown", event => { 14 | let charList = "abcdefghijklmnopqrstuvwxyz0123456789"; 15 | const key = event.key.toLowerCase(); 16 | if (charList.indexOf(key) === -1) return; 17 | let currentTime = Date.now(); 18 | if (currentTime - lastKeyTime > 1000) buffer = []; 19 | buffer.push(key); 20 | lastKeyTime = currentTime; 21 | if (buffer.join("") === keySequence) callback(); 22 | }) 23 | } -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/hominem/public/favicon.ico -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | hominem 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/src/components/Error.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 18 | 19 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/src/components/Notification.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 15 | 16 | -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App.vue' 3 | import router from "@/router"; 4 | import Axios from "axios"; 5 | 6 | Vue.config.productionTip = false; 7 | Vue.prototype.$axios = Axios.create({baseURL: "/api"}); 8 | 9 | new Vue({router, render: h => h(App)}).$mount('#app'); -------------------------------------------------------------------------------- /lab4-12.11.19/hominem/vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | devServer: { 3 | proxy: { 4 | "/api": { 5 | target: "http://localhost:8088", 6 | changeOrigin: true 7 | } 8 | } 9 | } 10 | }; -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Created-By: IntelliJ IDEA 3 | Built-By: pugalol 4 | Build-Jdk: 1.8.0_232 5 | Implementation-Title: rursus 6 | Implementation-Version: 0.9.0-DEV 7 | Implementation-Vendor-Id: pugalol 8 | Main-Class: ${start-class} 9 | 10 | -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/META-INF/rursus.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/application.properties: -------------------------------------------------------------------------------- 1 | #Database 2 | spring.jpa.generate-ddl=true 3 | spring.datasource.url=jdbc:postgresql://localhost:5432/web4 4 | spring.datasource.username=postgres 5 | spring.datasource.password=root 6 | 7 | #Server 8 | server.port=8088 9 | 10 | #Email 11 | spring.mail.host=smtp.mail.ru 12 | spring.mail.port=465 13 | spring.mail.username=nope 14 | spring.mail.password=nope 15 | spring.mail.properties.mail.smtp.auth=true 16 | spring.mail.properties.mail.smtp.connectiontimeout=1000 17 | spring.mail.properties.mail.smtp.timeout=1000 18 | spring.mail.properties.mail.smtp.writetimeout=1000 19 | spring.mail.properties.mail.smtp.starttls.enable=true -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/RursusApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/RursusApplication.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/config/JWTConfigurer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/config/JWTConfigurer.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/config/SecurityConfigurer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/config/SecurityConfigurer.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/controllers/PointController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/controllers/PointController.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/controllers/UserController$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/controllers/UserController$1.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/controllers/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/controllers/UserController.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/filters/CORSFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/filters/CORSFilter.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/filters/JWTFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/filters/JWTFilter.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/models/Point.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/models/Point.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/models/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/models/User.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/repos/UserRepository.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/repos/UserRepository.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/requests/PointDTO.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/requests/PointDTO.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/requests/UserDTO.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/requests/UserDTO.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/security/JWTUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/security/JWTUtil.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/security/UserPrincipal.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/security/UserPrincipal.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/services/UserDetailsServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/services/UserDetailsServiceImpl.class -------------------------------------------------------------------------------- /lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/services/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/out/artifacts/rursus_war_exploded/WEB-INF/classes/logic/services/UserService.class -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testpassword/Web-programming/5e884c809cfcbff1ef3492df9d88174eedd4c9d4/lab4-12.11.19/rursus/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar 3 | -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/restful_test/add_point.http: -------------------------------------------------------------------------------- 1 | PUT localhost:8088/api/point 2 | Content-Type: application/json 3 | Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QHRlc3QudGVzdCIsInJvbGVzIjpbIlVTRVIiXSwiaWF0IjoxNTc4NTk4MTEyLCJleHAiOjE1NzkyMDI5MTJ9.UTqUnpidr6iFSjdoB_9O-Dph268uYDInYaB6Gt-4km8ogs-Z3aA4cn8H2j3L2qolcBIdOUwgm-PVCmUlji1UvA 4 | 5 | { 6 | "x": "1", 7 | "y": "2", 8 | "r": "1" 9 | } 10 | 11 | ### -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/restful_test/clear_points.http: -------------------------------------------------------------------------------- 1 | DELETE localhost:8088/api/point 2 | Content-Type: application/json 3 | Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QHRlc3QudGVzdCIsInJvbGVzIjpbIlVTRVIiXSwiaWF0IjoxNTc4NTk4MTEyLCJleHAiOjE1NzkyMDI5MTJ9.UTqUnpidr6iFSjdoB_9O-Dph268uYDInYaB6Gt-4km8ogs-Z3aA4cn8H2j3L2qolcBIdOUwgm-PVCmUlji1UvA 4 | 5 | ### -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/restful_test/delete_account.http: -------------------------------------------------------------------------------- 1 | POST localhost:8088/api/user/del 2 | Content-Type: application/json 3 | 4 | { 5 | "email": "test@test.test", 6 | "password": "kek" 7 | } 8 | 9 | ### -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/restful_test/load_points.http: -------------------------------------------------------------------------------- 1 | GET localhost:8088/api/point 2 | Content-Type: application/json 3 | Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QHRlc3QudGVzdCIsInJvbGVzIjpbIlVTRVIiXSwiaWF0IjoxNTc4NTk4MTEyLCJleHAiOjE1NzkyMDI5MTJ9.UTqUnpidr6iFSjdoB_9O-Dph268uYDInYaB6Gt-4km8ogs-Z3aA4cn8H2j3L2qolcBIdOUwgm-PVCmUlji1UvA 4 | 5 | ### -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/restful_test/login.http: -------------------------------------------------------------------------------- 1 | POST localhost:8088/api/user 2 | Content-Type: application/json 3 | 4 | { 5 | "email": "test@test.test", 6 | "password": "kek" 7 | } 8 | 9 | ### -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/restful_test/register.http: -------------------------------------------------------------------------------- 1 | PUT localhost:8088/api/user 2 | Content-Type: application/json 3 | 4 | { 5 | "email": "test@test.test", 6 | "password": "kek" 7 | } 8 | 9 | ### -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/RursusApplication.java: -------------------------------------------------------------------------------- 1 | package logic; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | /** 7 | * Точка входа в приложение на базе Spring Framework. 8 | * @author Артемий Кульбако 9 | * @version 1.0 10 | */ 11 | @SpringBootApplication 12 | public class RursusApplication { 13 | public static void main(String[] args) { 14 | SpringApplication.run(RursusApplication.class, args); 15 | } 16 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/config/ApplicationBeansProvider.java: -------------------------------------------------------------------------------- 1 | package logic.config; 2 | 3 | import org.slf4j.*; 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; 6 | import org.springframework.stereotype.Component; 7 | 8 | /** 9 | * Класс, представляющий служебные бины на глобальном уровне. 10 | * @author Артемий Кульбако 11 | * @version 1.0 12 | */ 13 | @Component 14 | public class ApplicationBeansProvider { 15 | 16 | @Bean 17 | public BCryptPasswordEncoder passwordEncoder() { 18 | return new BCryptPasswordEncoder(); 19 | } 20 | 21 | @Bean 22 | public Logger logger() { 23 | return LoggerFactory.getLogger("application"); 24 | } 25 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/config/JWTConfigurer.java: -------------------------------------------------------------------------------- 1 | package logic.config; 2 | 3 | import logic.filters.JWTFilter; 4 | import logic.security.JWTUtil; 5 | import org.springframework.security.config.annotation.SecurityConfigurerAdapter; 6 | import org.springframework.security.config.annotation.web.builders.HttpSecurity; 7 | import org.springframework.security.web.DefaultSecurityFilterChain; 8 | import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; 9 | 10 | /** 11 | * Конфигурирует Spring Security для работы с jwt. 12 | * @author Артемий Кульбако 13 | * @version 1.0 14 | */ 15 | public class JWTConfigurer extends SecurityConfigurerAdapter { 16 | 17 | private JWTUtil jwtUtil; 18 | 19 | public JWTConfigurer(JWTUtil jwtUtil) { 20 | this.jwtUtil = jwtUtil; 21 | } 22 | 23 | @Override 24 | public void configure(HttpSecurity builder) throws Exception { 25 | builder.addFilterBefore(new JWTFilter(jwtUtil), UsernamePasswordAuthenticationFilter.class); 26 | } 27 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/config/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Конфигурационные классы для Spring Security 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.config; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/controllers/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Контроллеры, обрабатывающие запросы к пути /api/* 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.controllers; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/filters/CORSFilter.java: -------------------------------------------------------------------------------- 1 | package logic.filters; 2 | 3 | import org.springframework.stereotype.Component; 4 | 5 | import javax.servlet.*; 6 | import javax.servlet.http.HttpServletResponse; 7 | import java.io.IOException; 8 | 9 | /** 10 | * Открывает доступ к контроллерам для запросов с любого url-а. 11 | * @author Артемий Кульбако 12 | * @version 1.0 13 | */ 14 | @Component 15 | public class CORSFilter implements Filter { 16 | 17 | @Override 18 | public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { 19 | HttpServletResponse response = (HttpServletResponse) servletResponse; 20 | response.setHeader("Access-Control-Allow-Origin", "*"); 21 | response.setHeader("Access-Control-Allow-Methods", "GET, POST, DELETE, PUT"); 22 | response.setHeader("Access-Control-Allow-Headers", "x-requested-with"); 23 | filterChain.doFilter(servletRequest, servletResponse); 24 | } 25 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/filters/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Фильтры для запрсов, поступающих к контроллерам 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.filters; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/models/User.java: -------------------------------------------------------------------------------- 1 | package logic.models; 2 | 3 | import lombok.Data; 4 | import javax.persistence.*; 5 | import java.io.Serializable; 6 | import java.util.*; 7 | 8 | /** 9 | * Представляет сущность пользователя для бд. 10 | * @author Артемий Кульбако 11 | * @version 1.1 12 | */ 13 | @Data @Entity @Table(name = "users") 14 | public class User implements Serializable { 15 | 16 | @Transient private static final long serialVersionUID = 4L; 17 | @Id private String email; 18 | @Column(nullable = false) private String password; 19 | @ElementCollection(fetch = FetchType.EAGER) @CollectionTable(name = "points") private List points; 20 | 21 | public User() {} 22 | 23 | public User(String email, String password) { 24 | this.email = email; 25 | this.password = password; 26 | this.points = new ArrayList<>(); 27 | } 28 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/models/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Классы, представлющие модельный слой приложения (сущности) 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.models; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Содержит всё логику приложения 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/repos/UserRepository.java: -------------------------------------------------------------------------------- 1 | package logic.repos; 2 | 3 | import logic.models.User; 4 | import org.springframework.data.repository.CrudRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * CRUD-репозиторий для {@code User}. 9 | * @see User 10 | * @author Артемий Кульбако 11 | * @version 1.1 12 | */ 13 | @Repository public interface UserRepository extends CrudRepository { 14 | 15 | boolean existsByEmail(String email); 16 | 17 | long deleteByEmail(String email); 18 | 19 | User getByEmail(String email); 20 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/repos/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Содержит реализации CRUD-интерфейсов для доступа к базе данных с помощью Spring Security 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.repos; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/requests/PointDTO.java: -------------------------------------------------------------------------------- 1 | package logic.requests; 2 | 3 | import lombok.Data; 4 | import javax.validation.constraints.*; 5 | import java.io.Serializable; 6 | 7 | /** 8 | * Объект обращения к серверу для {@code PointController}. 9 | * @see logic.controllers.PointController 10 | * @author Кульбако Артемий 11 | * @version 1.2 12 | */ 13 | @Data 14 | public class PointDTO implements Serializable { 15 | private static final long serialVersionUID = 4L; 16 | @NotNull @Min(value = -4) @Max(value = 4) private double x; 17 | @NotNull @Min(value = -5) @Max(value = 3) private double y; 18 | @NotNull @Min(value = 1) @Max(value = 4) private double r; 19 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/requests/UserDTO.java: -------------------------------------------------------------------------------- 1 | package logic.requests; 2 | 3 | import lombok.Data; 4 | import javax.validation.constraints.*; 5 | import java.io.Serializable; 6 | 7 | /** 8 | * Объект обращения к серверу для {@code UserController}. 9 | * @see logic.controllers.UserController 10 | * @author Кульбако Артемий 11 | * @version 1.0 12 | */ 13 | @Data 14 | public class UserDTO implements Serializable { 15 | private static final long serialVersionUID = 4L; 16 | @Email @NotNull private String email; 17 | @NotNull private String password; 18 | } -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/requests/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Классы, для валидации запросов к серверу, согласно шаблону проектирования Data Transfer Object 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.requests; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/security/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Сервисы, обеспичивающие работу с авторизацией в Spring Security 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.security; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/java/logic/services/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Сервисный слой, содержащий бизнес-логику приложения 3 | * @author Кульбако Артемий 4 | * @version 1.2 5 | */ 6 | package logic.services; -------------------------------------------------------------------------------- /lab4-12.11.19/rursus/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #Database 2 | spring.jpa.generate-ddl=true 3 | spring.datasource.url=jdbc:postgresql://localhost:5432/web4 4 | spring.datasource.username=postgres 5 | spring.datasource.password=root 6 | 7 | #Server 8 | server.port=8088 9 | 10 | #Email 11 | spring.mail.host=smtp.mail.ru 12 | spring.mail.port=465 13 | spring.mail.username=nope 14 | spring.mail.password=nope 15 | spring.mail.properties.mail.smtp.auth=true 16 | spring.mail.properties.mail.smtp.connectiontimeout=1000 17 | spring.mail.properties.mail.smtp.timeout=1000 18 | spring.mail.properties.mail.smtp.writetimeout=1000 19 | spring.mail.properties.mail.smtp.starttls.enable=true --------------------------------------------------------------------------------