Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove activity logs #4723

Merged
merged 3 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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