Skip to content

Commit

Permalink
Merge pull request #4723 from activepieces/remove/activity-log
Browse files Browse the repository at this point in the history
refactor: remove activity logs
  • Loading branch information
abuaboud committed May 19, 2024
2 parents 1145030 + 3e2f5d8 commit 5c2b5e2
Show file tree
Hide file tree
Showing 52 changed files with 43 additions and 1,345 deletions.
13 changes: 0 additions & 13 deletions docs/customer-portal/activity.mdx

This file was deleted.

15 changes: 0 additions & 15 deletions docs/customer-portal/connections.mdx

This file was deleted.

9 changes: 0 additions & 9 deletions docs/customer-portal/inviting-customer.mdx

This file was deleted.

18 changes: 0 additions & 18 deletions docs/customer-portal/overview.mdx

This file was deleted.

1 change: 0 additions & 1 deletion packages/ee/shared/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ export * from './lib/managed-authn'
export * from './lib/oauth-apps'
export * from './lib/otp'
export * from './lib/authn'
export * from './lib/activity'

export * from './lib/issues'
18 changes: 0 additions & 18 deletions packages/ee/shared/src/lib/activity/activity-model.ts

This file was deleted.

35 changes: 0 additions & 35 deletions packages/ee/shared/src/lib/activity/activity-requests.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/ee/shared/src/lib/activity/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { catchError, map, Observable, of, tap } from 'rxjs';
import { ProjectMemberService } from '../../service/project-members.service';
import { DialogRef } from '@angular/cdk/dialog';
import { HttpStatusCode } from '@angular/common/http';
import { ApFlagId, ProjectMemberRole } from '@activepieces/shared';
import { AuthenticationService, FlagService } from '@activepieces/ui/common';
import { ProjectMemberRole } from '@activepieces/shared';
import { AuthenticationService } from '@activepieces/ui/common';
import { RolesDisplayNames } from '../../utils';

@Component({
Expand All @@ -30,19 +30,15 @@ export class InviteProjectMemberDialogComponent {
ProjectMemberRole = Object.values(ProjectMemberRole).map((role) => {
return {
role,
condition$:
role === ProjectMemberRole.EXTERNAL_CUSTOMER
? this.flagService.isFlagEnabled(ApFlagId.SHOW_ACTIVITY_LOG)
: of(true),
condition$: of(true),
};
});
constructor(
private formBuilder: FormBuilder,
private snackbar: MatSnackBar,
private projectMemberService: ProjectMemberService,
private authenticationService: AuthenticationService,
private dialogRef: DialogRef,
private flagService: FlagService
private dialogRef: DialogRef
) {
this.invitationForm = this.formBuilder.group({
email: new FormControl('', {
Expand Down
18 changes: 0 additions & 18 deletions packages/pieces/community/activity/.eslintrc.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/pieces/community/activity/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions packages/pieces/community/activity/package.json

This file was deleted.

30 changes: 0 additions & 30 deletions packages/pieces/community/activity/project.json

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pieces/community/activity/src/index.ts

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions packages/pieces/community/activity/src/lib/actions/shared.ts

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions packages/pieces/community/activity/tsconfig.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/pieces/community/activity/tsconfig.lib.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/server/api/src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { accessTokenManager } from './authentication/lib/access-token-manager'
import { copilotModule } from './copilot/copilot.module'
import { rateLimitModule } from './core/security/rate-limit'
import { securityHandlerChain } from './core/security/security-handler-chain'
import { activityModule } from './ee/activity/activity-module'
import { analyticsModule } from './ee/analytics/analytics-module'
import { apiKeyModule } from './ee/api-keys/api-key-module'
import { cloudAppConnectionsHooks } from './ee/app-connections/cloud-app-connection-service'
Expand Down Expand Up @@ -312,7 +311,6 @@ export const setupApp = async (): Promise<FastifyInstance> => {
await app.register(platformFlowTemplateModule)
await app.register(gitRepoModule)
await app.register(auditEventModule)
await app.register(activityModule)
await app.register(usageTrackerModule)
await app.register(adminPlatformPieceModule)
await app.register(analyticsModule)
Expand Down Expand Up @@ -346,7 +344,6 @@ export const setupApp = async (): Promise<FastifyInstance> => {
await app.register(platformFlowTemplateModule)
await app.register(gitRepoModule)
await app.register(auditEventModule)
await app.register(activityModule)
await app.register(usageTrackerModule)
await app.register(analyticsModule)
setPlatformOAuthService({
Expand Down
Loading

0 comments on commit 5c2b5e2

Please sign in to comment.