CHORE: Импорт кодовой базы и истории из командного репозитория#1
Merged
impatient0 merged 85 commits intomainfrom Sep 2, 2025
Merged
CHORE: Импорт кодовой базы и истории из командного репозитория#1impatient0 merged 85 commits intomainfrom
impatient0 merged 85 commits intomainfrom
Conversation
Ознакомительный файл структуры базы schema.sql
Ознакомительный файл структуры базы schema.sql
Ознакомительный файл структуры базы schema.sql
Ознакомительный файл структуры базы schema.sql
Ознакомительный файл структуры базы schema.sql
Ознакомительный файл структуры базы schema.sql
Добавление классов DTO
Добавление README и локальной конфигурации запуска
Создание stub-имплементации контроллера
# Conflicts: # main-service/src/main/java/ru/practicum/explorewithme/main/controller/priv/PrivateEventController.java
Получение запросов на участие в событии текущего пользователя #53
…54 (#75) * PRIVATE-EVENTS: Изменение статуса заявок (подтверждение/отклонение) #54 * Исправление ошибок стиля * Исправление ошибок кода * Исправление ошибок кода * Исправление ошибок кода * Исправление ошибок кода * Исправление ошибок кода выявленных при помощи постмана * изменение кода по замечаниям и не только Изменение способа отказа заявок в случае отсуствия свободных мест List<ParticipationRequest> updatePendingRequestsToRejected(Long eventId) * Изменена логика "свободных мест" * Исправление стиля * Изменение логики отказа при отсутствии свободных мест * Изменение логики отказа при отсутствии свободных мест * Изменение логики отказа при отсутствии свободных мест
* проба
* реализовала get /complications and get/complications{compd}
* стиль
* правки
* добавила аннотацию билдер
* закомментила тест
* стиль
* добавила админ контроллер
* добавила еще один контроллер
* это кошмар
* :)
* откат изменений
* ошибки 7, 8, 10, 11
* ошибка1
* ошибка2
* ошибка4
* ошибки56
* откат изменений
* пробую исправить дату
* откат изменений
* правки на pom.xml
* правки1
* правки2
* правки3
* удалила изменения в statService
* разбираюсь с датой
* test now passes with correct date format
* reset "stats-service" to main branch version
---------
Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
* create the hit logging aspect * apply the stat aspect to relevant controller methods * change logging level for local config * change the way StatsClient is pulled * add unit tests for hit logging aspect * fix hit stat aspect to correctly process the IP header * add PublicEventController tests * fully implement view & request stats in EventServiceImpl * remove stubbings from mapper * add more unit tests for EventServiceImpl * sort by views manually as DB doesn't have views data * add more EventService integration tests * update EventMapper tests * remove redundant argument from service methods * improve onlyAvailable filtering efficiency * set views and confirmedRequests in getEventsAdmin * switch to @formula for confirmedRequests * add validation to DTOs because tests expect 400 even though API contract clearly states 409 * update EventMapper tests * cleanup * fix test not persisting entities for some reason * cleanup * update README.md --------- Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
* make repository methods return pages instead of lists * remove redundant field * cleanup --------- Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
Этап 2: Реализация основного сервиса (Explore With Me)
* add the "commentsEnabled" flag to Event * create Comment entity * create Comment DTOs * add comment repository and mapper * create CommentMapper unit tests * checkstyle * add empty postman collection to pass checks --------- Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
* COMMENTS-PUBLIC: Получение комментариев к событию #85 Первичное исполнение без тестов. * Исправление стиля. * Исправление замечаний и добавление тестов * Исправление стиля
… #86 (#97) * COMMENTS-PRIVATE: Создание комментария пользователем * COMMENTS-PRIVATE: Обновление своего комментария * fixiki * fixiki * правки * правки * fixiki
Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
* COMMENTS-PRIVATE: Получение списка своих комментариев * правки
…#103) * fix comment update timestamp in server response * might as well * update tests to interact with correct repository method --------- Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
* добавила эндпоинты на удаление коммента * стиль * правки * стиль
* add admin search params and update service interface * implement admin comment search * add/refactor integration tests for CommentServiceImpl * fix interaction with null predicate (also in EventService) * update CommentServiceImpl unit tests * implement the admin comment search endpoint * create unit tests for event admin controller * fix stats-local launch config * add `@Positive` constraints to request parameters * remove explicit empty list check * remove explicit empty list check * cleanup * uncomment service unit tests --------- Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
* create admin dto for comments * add new mappings * update mapper tests * make service return admin dto for admin methods * make controller respond with admin dto for admin endpoints * update tests to use correct dto --------- Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
* create tests for comments endpoints * add more test for 400 Bad Request scenarios --------- Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
Co-authored-by: Pepe Ronin <ivanpetrovskiy98@gmail.com>
Этап 3: Реализация дополнительной функциональности "Комментарии к событиям"
update specs links
# Conflicts: # .github/workflows/api-tests.yml # ewm-main-service-spec.json # pom.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Описание
Этот Pull Request переносит всю кодовую базу и полную историю коммитов из предыдущего командного репозитория (
java-explore-with-me-plus) в данный дипломный репозиторий (java-plus-graduation).Процесс переноса:
remote(old-origin).mainизold-originбыла слита в промежуточную веткуimport-old-originс использованием флага--allow-unrelated-histories.README.md,ewm-main-service-spec.json).Важные моменты:
.githubс настроенными workflows для автоматических проверок.После мержа этого PR ветка
mainбудет содержать финальный объединенный код и полную историю коммитов, готовые для дальнейшей работы над дипломным проектом.