2019-09-16 11:21:57 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-09-25 16:20:51 +00:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>com.appsmith</groupId>
|
|
|
|
|
<artifactId>integrated</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
</parent>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-11-14 12:50:37 +00:00
|
|
|
<artifactId>server</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<packaging>jar</packaging>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<name>server</name>
|
|
|
|
|
<description>This is the API server for the Appsmith project</description>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<properties>
|
|
|
|
|
<java.version>11</java.version>
|
2021-07-26 07:01:26 +00:00
|
|
|
<ff4j.version>1.8.11</ff4j.version>
|
2019-09-25 16:20:51 +00:00
|
|
|
</properties>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
|
<url>https://repo.spring.io/milestone</url>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>jboss-maven2-release-repository</id>
|
|
|
|
|
<name>JBoss Spring Repository</name>
|
|
|
|
|
<url>https://repository.jboss.org/nexus/content/repositories/public/</url>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-oauth2-client</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-oauth2-jose</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
|
|
|
</dependency>
|
2019-12-08 15:46:17 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
2021-05-09 04:17:45 +00:00
|
|
|
<version>2.4.4</version>
|
2019-12-08 15:46:17 +00:00
|
|
|
</dependency>
|
2019-09-25 16:20:51 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
|
|
|
|
|
</dependency>
|
2019-10-07 08:18:54 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
|
|
|
|
|
</dependency>
|
2019-11-12 09:58:14 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.session</groupId>
|
|
|
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
2020-02-13 07:17:40 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
</dependency>
|
2019-09-25 16:20:51 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.hibernate.validator</groupId>
|
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
2021-05-06 10:53:37 +00:00
|
|
|
<version>6.2.0.Final</version>
|
2019-09-25 16:20:51 +00:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
|
<artifactId>javax.el</artifactId>
|
|
|
|
|
<version>3.0.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.spullara.mustache.java</groupId>
|
|
|
|
|
<artifactId>compiler</artifactId>
|
|
|
|
|
<version>0.9.6</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2019-11-14 12:50:37 +00:00
|
|
|
<groupId>de.flapdoodle.embed</groupId>
|
|
|
|
|
<artifactId>de.flapdoodle.embed.mongo</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2019-09-25 16:20:51 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
2021-07-26 08:39:13 +00:00
|
|
|
<version>30.0-jre</version>
|
2019-09-25 16:20:51 +00:00
|
|
|
</dependency>
|
2019-10-04 04:27:11 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
2021-05-09 04:19:19 +00:00
|
|
|
<version>2.7</version>
|
2019-10-04 04:27:11 +00:00
|
|
|
</dependency>
|
2020-10-15 06:49:20 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-validator</groupId>
|
|
|
|
|
<artifactId>commons-validator</artifactId>
|
2021-06-17 13:27:03 +00:00
|
|
|
<version>1.7</version>
|
2020-10-15 06:49:20 +00:00
|
|
|
</dependency>
|
2020-11-05 09:03:40 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
2021-05-09 04:17:12 +00:00
|
|
|
<version>2.4.4</version>
|
2020-11-05 09:03:40 +00:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
|
|
|
</dependency>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<!-- Plugin dependencies -->
|
2020-04-06 08:14:22 +00:00
|
|
|
<!-- This has to be declared BEFORE the com.appsmith:interfaces dependency. -->
|
2019-09-25 16:20:51 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.pf4j</groupId>
|
|
|
|
|
<artifactId>pf4j-spring</artifactId>
|
2021-03-26 16:04:10 +00:00
|
|
|
<version>0.7.0</version>
|
2019-09-25 16:20:51 +00:00
|
|
|
</dependency>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<!-- Appsmith dependencies -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.appsmith</groupId>
|
|
|
|
|
<artifactId>interfaces</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
2020-03-03 12:40:02 +00:00
|
|
|
|
2019-11-14 12:50:37 +00:00
|
|
|
<dependency>
|
2020-03-03 12:40:02 +00:00
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
|
<artifactId>querydsl-mongodb</artifactId>
|
2021-07-22 17:53:45 +00:00
|
|
|
<version>5.0.0</version>
|
2020-03-03 12:40:02 +00:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
|
|
<version>4.2.2</version>
|
2019-11-14 12:50:37 +00:00
|
|
|
</dependency>
|
2020-03-03 12:40:02 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
2021-07-22 17:53:45 +00:00
|
|
|
<version>5.0.0</version>
|
2020-03-03 12:40:02 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.projectreactor</groupId>
|
|
|
|
|
<artifactId>reactor-test</artifactId>
|
|
|
|
|
<version>3.2.11.RELEASE</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.segment.analytics.java</groupId>
|
|
|
|
|
<artifactId>analytics</artifactId>
|
|
|
|
|
<version>2.1.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2020-11-10 04:29:10 +00:00
|
|
|
<groupId>io.sentry</groupId>
|
|
|
|
|
<artifactId>sentry-spring-boot-starter</artifactId>
|
|
|
|
|
<version>3.1.2</version>
|
2019-09-25 16:20:51 +00:00
|
|
|
</dependency>
|
2019-11-14 08:50:02 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
|
</dependency>
|
2019-12-08 13:41:15 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jgrapht</groupId>
|
|
|
|
|
<artifactId>jgrapht-core</artifactId>
|
2021-01-25 11:24:45 +00:00
|
|
|
<version>1.5.0</version>
|
2019-12-08 13:41:15 +00:00
|
|
|
</dependency>
|
2020-01-02 13:38:55 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
<artifactId>httpclient</artifactId>
|
2021-06-04 04:49:06 +00:00
|
|
|
<version>4.5.13</version>
|
2020-01-02 13:38:55 +00:00
|
|
|
</dependency>
|
2020-03-27 14:52:25 +00:00
|
|
|
|
2020-03-28 04:38:11 +00:00
|
|
|
<!-- MongoDB Migrations: https://github.com/cloudyrock/mongock -->
|
2020-03-27 14:52:25 +00:00
|
|
|
<dependency>
|
2020-03-28 04:38:11 +00:00
|
|
|
<groupId>com.github.cloudyrock.mongock</groupId>
|
|
|
|
|
<artifactId>mongock-spring</artifactId>
|
2021-05-10 14:23:59 +00:00
|
|
|
<version>3.3.2</version>
|
2020-03-27 14:52:25 +00:00
|
|
|
</dependency>
|
2020-03-28 13:48:41 +00:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-text</artifactId>
|
|
|
|
|
<version>1.8</version>
|
|
|
|
|
</dependency>
|
Initialise comments (#3328)
* Initial scaffolding for comments CRUD APIs
* add actions
* add assets
* state management for existing comments and creating new
* add ui components
* add overlay comments wrapper to baseWidget
* add toggle comment mode button at editor header
* trigger tests
* Disallow commenting as someone else
* Add applicationId for comments
* lint
* Add overlay blacklist to prevent component interaction while adding comments
* Comment thread style updates
* Placeholder comment context menu
* Controlled comment thread visibility for making new comments visible by default
* Update comment type description
* Reset input on save
* Resolve comment thread button ui
* fix close on esc key, dont create new comment on outside click
* Submit on enter
* add emoji picker
* Attempt at adding a websocket server in Java
* CRUD APIs for comment threads
* Add API for getting all threads in application
* Move types to a separate file
* Initial commit for real time server (RTS)
* Add script to start RTS
* Fix position property
* Use create comment thread API
* Use add comment to thread API
* Add custom cursor
* Dispatch logout init on 401 errors
* Allow CORS for real time connection
* Add more logs to RTS
* Fix construction of MongoClient
* WIP: Real time comments
* Enable comments
* Minor updates
* Read backend API base URL from environment
* Escape to reset comments mode
* Set popover position as auto and boundary as scroll parent
* Disable warning
* Added permissions for comment threads
* Add resolved API for comment threads
* Migration to set commenting permission on existing apps
* Fix updates bringing the RTS down
* Show view latest button, scroll to bottom on creating a new comment
* Cleanup comment reducer
* Move to typescript for RTS
* Add missing server.ts and tsconfig files
* Resolve / unresolve comment
* Scaffold app comments
* Minor fixes: comment on top of all widgets, add toggle button at viewer header
* Reconnect socket on creating a new app, set connected status in store
* Retry socket connection flow
* Integration tests for comments with api mocks using msw
* Fix circular depependency
* rm file
* Minor cleanup and comments
* Minor refactors: move isScrolledToBottom to common hooks, decouple prevent interactions overlay from comments wrapper
* Use policies when pushing updates in RTS
* ENV var to set if comments are enabled
* Fix: check if editor/viewer is initialised before waiting for init action
* Add tests for comments reducer
* Revert "ENV var to set if comments are enabled"
This reverts commit 988efeaa69d378d943a387e1e73510334958adc5.
* Enable comments for users with appsmith email
* lint
* fix
* Try running a socket.io server inside backend
* Update comment reducer tests
* Init mentions within comments
* Fix comment thread updates with email rooms
* Minor fixes
* Refactors / review suggestions
* lint
* increase cache limit for builds
* Comment out tests for feature that's under development
* Add Dockerfile for RTS
* Fix policies missing for first comment in threads
* Use draftJS for comments input with mentions support
* fix fixtures
* Use thread's policies when querying for threads
* Update socket.io to v4
* Add support for richer body with mentions
* Update comment body type to RawDraftContentState
* fix stale method
* Fix mentions search
* Minor cleanups
* Comment context menu and thread UI updates
* revert: Scaffold app comments
* Yarn dependencies
* Delete comment using id api added
* Init app comments
* Add test for creating thread
* Api for delete comment with id
* Test comment creation response and policies
* Copy comment links
* Fix reset editor state
* Delete valid comment testcase added
* Delete comment TC : code refactor
* Don't allow creating comments with an empty body
* Pin comments WIP[]
* Ignore dependency-reduced-pom.xml files from VCS
* Cleanup of some dev-only files, for review
* Delete comment
* Update socket.io to v4 in RTS
* Pin and resolve comment thread object added in commentThread
* Pin and resolve comment thread object added in commentThread
* Update comment thread API
* Added creationTime and updationTime in comment thread response
* Added creationTime and updationTime in comment thread response
* Added human readable id to comment threads, fallback to username for null name in user document
* Refactor
* lint
* fix test, rm duplicate selector
* comment out saga used for dev
* CommentThread viewed status, username fallback for getName=null, username field added in pin & resolve status
* lint
* trigger tests
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Abhijeet <abhi.nagarnaik@gmail.com>
2021-04-29 10:33:51 +00:00
|
|
|
|
2021-07-26 07:01:26 +00:00
|
|
|
<!-- Dependencies for feature flagging -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.ff4j</groupId>
|
|
|
|
|
<artifactId>ff4j-core</artifactId>
|
|
|
|
|
<version>${ff4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.ff4j</groupId>
|
|
|
|
|
<artifactId>ff4j-config-yaml</artifactId>
|
|
|
|
|
<version>${ff4j.version}</version>
|
|
|
|
|
</dependency>
|
2021-08-25 16:00:29 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.appsmith</groupId>
|
|
|
|
|
<artifactId>appsmith-git</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
2021-07-26 07:01:26 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
</dependencies>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
2019-09-25 16:20:51 +00:00
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
2020-03-03 12:40:02 +00:00
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.mysema.maven</groupId>
|
|
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
|
|
|
<version>1.1.3</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>process</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
2020-03-04 10:44:56 +00:00
|
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
2020-03-03 12:40:02 +00:00
|
|
|
<processor>
|
|
|
|
|
org.springframework.data.mongodb.repository.support.MongoAnnotationProcessor
|
|
|
|
|
</processor>
|
2020-03-18 17:26:32 +00:00
|
|
|
<options>
|
|
|
|
|
<querydsl.listAccessors>true</querydsl.listAccessors>
|
|
|
|
|
</options>
|
2020-03-03 12:40:02 +00:00
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2019-09-25 16:20:51 +00:00
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2019-09-16 11:21:57 +00:00
|
|
|
|
|
|
|
|
</project>
|