Git Product home page Git Product logo

acrd.app's Introduction

acrd.app's People

Contributors

andriemc avatar colderryboy avatar theadamjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acrd.app's Issues

[BUG] Can't upload image

Describe the bug
Unable to upload SVG

To Reproduce
Steps to reproduce the behavior:

  1. Upload SVG
  2. See error

Expected behavior
SVG to upload

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 96

[FEATURE] Customize and Share Themes

Is your feature request related to a problem? Please describe.
Themes are cool. Dark theme isn't always the answer. Not everyone wants just a dark theme.

Describe the solution you'd like
Add sharable and customizable themes. They will just be a vanilla CSS layer provided by the user that extends the frontend CSS.

Create Themes:

  • A maximum of 50 themes can be created by a single user (may be adjusted later).
  1. Go to User Settings -> Themes -> Create.
  2. Input: 'CSS', 'Theme Name'
  3. Click 'Create'
  4. Share the link
  • You should see a link, in a dialog, of the created theme.

Consume Themes:

  • Only one theme can be applied at a time.
  1. Go to a link to active a theme (https://accord.app/themes/:id)
  • Like accepting a Discord invite.
  • Options:
    • 'Cancel' - exit dialog
    • 'Add' - add theme, but don't change active theme
    • 'Activate' - add theme, and change active theme
  1. Go to User Settings -> Themes.
  2. Select a different theme
  • You can delete themes easily, and reactivate them with the link.

Describe alternatives you've considered
Built-in themes - but they are harder to maintain, and seem to cause issues if I write bad CSS.
Not adding themes - but themes are cool.
Chrome extensions - you can achieve the same thing with coding your own theme the hard way, but hardly anyone would want to do that.

Additional context
This was the last feature that was added to Accord v1, before I updated the project to React, which removed a lot of the features.

All your code is a bug, literally all of it[BUG]

Describe the bug
Literally, exploits out of the ass, its honestly sad.

To Reproduce
Just use Accord. Thats how you do it.

Expected behavior
be a subpart discord clone

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
All versions.
Smartphone (please complete the following information):
Java Phone/Flipphone
Additional context
Add any other context about the problem here.

Suggestions

Hey, i want to show some suggestions

Starts by here:

Invite system url example: accord.app/invite/random link
Mobile support?
Banners?
Bug fixes on the mobile preview

Please add the first suggestion

26 Oct. 2021 11:26

[BUG] i'm in an guild but not at the same time

Describe the bug
A clear and concise description of what the bug is.
i'm in an guild can't leave and open when i try to leave i get [Member doesn't exist]

To Reproduce
Steps to reproduce the behavior:

  1. Click leave guild (if needed the guild id is: 177129442404020224)

Expected behavior
A clear and concise description of what you expected to happen.
Get error "Member doesn't exist"

Screenshots
If applicable, add screenshots to help explain your problem.
https://ibb.co/hDC0yD8

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Google Chrome
  • Version: Latest version of accord

Additional context
Add any other context about the problem here.
None

Emoji selector not centered

The emoji selector is slightly off the screen. And the chat box is also not centered on the bottom it is slightly at the bottom. I dont know if this is a intended feature or not, just wanted to inform you

image

Self Host

Hey ive been wanting to Self Host this Repository for a while and i was wondering if you could make a tutorial or a guide on how to set it up just like how you have currently like with Cloudflare and that. Thanks

Can't Login Back To An Account

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Login Section'
  2. Click on 'Login'
  3. Scroll up to see 'wait to the future to be able to make an new account'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] Infinitely Redirecting

Describe the bug
A portion of the index.html has a script that redirects you infinitely.

(function(l) {
  if (l.search[1] === '/' ) {
      var decoded = l.search.slice(1).split('&').map(function(s) { 
        return s.replace(/~and~/g, '&')
      }).join('?');
      window.history.replaceState(null, null, l.pathname.slice(0, -1) + decoded + l.hash
    );
  }
}(window.location))

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://accord.app'

Expected behavior
A portion of the index.html has a script that redirects you infinitely.

Preview
image

Additional context
Remove it to fix it.

[BUG] Server keeps crashing at random intervals

Describe the bug
Something is causing the server to crash. After I updated channel settings (permissions) for an accord.app channel, the server stopped responding almost immediately. This means that it's probable that this is the cause.

To Reproduce
Steps to reproduce the behavior:

  1. Go to channel settings (text channel)
  2. Click on 'Perms'
  3. Toggle permissions
  4. Save changes
  5. Cya server

Expected behavior
No server crash.

Screenshots
image
Updating channel perms for the second time.

Desktop (please complete the following information):
Google Chrome, Version 95.0.4638.69 (Official Build) (64-bit).

Additional context:
Note: could not reproduce the second time. It may be a coincidence that the server crashed after I changed channels - meaning there may be another cause.
It's suspected that there is an infinite loop as there are large CPU spikes that make the AWS VPS unresponsive. It is also possible there could be a memory leak, but the intervals were inconsistent.

image
Backend VPS CPU usage.

Email not changing

Email not changing after being saving the changes.

Steps to reproduce:

  • Go to settings overview
  • Change your email
  • Save the changes
  • Go to security tab or close the settings
  • Again go back to the settings overview

Attachment:
https://i.imgur.com/CAhRENh.gif

Self Hosting

How Do I self host this project? I can't seem to find instructions for it anywhere...

[BUG]

When i look in channels so many messgaes is emty?

Duplicate mutual server icons

Description
When you click on user profile you can see duplicates of the same guild.

To Reproduce

  1. Go to any guild
  2. Right click on a user
  3. Look for mutual server tab
  4. There you will see duplicates of the same guild

Expected behavior
Should see only one mutual guild icon

Missing Permissions - MANAGE_ROLES

Describe the bug
It is not possible to create or modify roles despite having the "MANAGE_ROLES" permission.

To Reproduce
Steps to reproduce the behavior:

  1. Grant the "MANAGE_ROLES" permission to a certain role
  2. Give that role to a user
  3. Go to that user on the server roles page
  4. Press "Create" or modify a permission of any role below the one it owns.

Expected behavior
With this permission it should be possible to edit or add roles to the guild.

Screenshots
Schermata 2021-10-04 alle 15 32 00

Desktop (please complete the following information):

  • OS: 10.15.7 (19H1323)
  • Browser: Google Chrome
  • Version: 94.0.4606.61 (Official Build) (x86_64)

[BUG] Themes are kind-of way too powerful...

Describe the bug
A clear and concise description of what the bug is.
Sooo. I made a theme that makes your acrd.app account unusable if you apply it.

To Reproduce
Steps to reproduce the behavior:

  1. Apply theme, https://acrd.app/themes/hHLzdcJ
  2. See problem.

Screenshots
If applicable, add screenshots to help explain your problem.

On an alt
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Brave (Chromium Based)
  • Version: Winter 0.5.0-pre-release

Additional context
Add any other context about the problem here.
No.

Tag changing from 0001 to 0002

Bug Report

If you have the tag 0001 and you change your email, it gets change to 0002. I don't know if it's a hint of changing tag in the future but yeah, reporting it as bug.

Steps to reproduce:

  • Login to your account
  • Must have the 0001 tag
  • Go to settings
  • Change your email (even if the email address is random)
  • Save it.

Forget password not working?

It seems as though forget password doesn't actually work with the email you signed up with during dclone. For example as my self I forget the pass and so I typed in the email and it said the email was sent but wasn't. Which also means I am stuck locked out of my account at the same time.

Profile picture not uploaded.

Describe the bug
When I go to change my avatar from the settings via a url, as indicated, this is not loaded and is replaced by a question mark.

To Reproduce
Steps to reproduce the behavior:

  1. Copy the link of an image in .png format
  2. Go to your account settings and go to "Avatar URL"
  3. Replace "/avatars/avatar_grey.png" at the link
  4. Save your changes
  5. Visit your profile and you will see the question mark.

Expected behavior
Perhaps it does not load the image as it is not present on the machine where Accord is hosted but if this is why this phenomenon occurs it is better to remove it as it is useless. If, on the other hand, the intent is precisely to be able to put a profile image with a simple link then it must be solved as the image I have chosen is not replaced by the default avatar.

Screenshots
https://user-images.githubusercontent.com/68825684/135869229-c5443f05-14e2-4755-bf29-01feedb63a99.mp4

Desktop (please complete the following information):

  • OS: 10.15.7 (19H1323)
  • Browser: Google Chrome
  • Version: 94.0.4606.61 (Official Build) (x86_64)

Not recieving verification email[BUG]

Describe the bug
Whenever I try to log into my Accord account I do not get a verification email.
To Reproduce
Steps to reproduce the behavior:

  1. Go to https://accord.app/login
  2. Click on The text box to login
  3. Try to log in with credentials
  4. Don't get verification email

Expected behavior
I expect to get a verification email for my login.

Desktop (please complete the following information):

  • OS: Windows 10/Chrome OS
  • Chrome
  • 100

[BUG] Module not found after installation

Describe the bug
Compile error
./src/services/format-service.ts Module not found: Can't resolve '@accord/types/patterns' in 'C:\Users\Jeotique-PC\Desktop\app-2-stable\frontend\src\services'
To Reproduce
Steps to reproduce the behavior:
I just do everything like in the readme and npm start in frontend

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Opera GX
  • Version idk

Visual Hint

Is your feature request related to a problem? Please describe.
When I press the setting wheel, the Accord name and tag are selected and this is very annoying to my eyes. ๐Ÿ˜ก

Describe the solution you'd like
When I go to settings my mouse should only touch that and it shouldn't select my information as well.

Describe alternatives you've considered
Divide the "selection" perhaps by inserting a name and tag in a box and then the wheel next to it so when I press the wheel my information will not be selected.

Ability to exit a Guild via a channel.

Describe the bug
You can see "Leave Guild" through channels instead of server settings.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the left side of a server screen.
  2. Press any channel with the right button
  3. "Leave Guild" will be visible

Expected behavior
Instead of "Leave Guild" there should be a channel change or something else available. The "Leave Guild" entry should only be available by left clicking on the server name.

Screenshots
Schermata 2021-10-04 alle 15 17 02

Desktop (please complete the following information):

  • OS: 10.15.7 (19H1323)
  • Browser: Google Chrome
  • Version: 94.0.4606.61 (Official Build) (x86_64)

Suggestions for v3

Suggestions

  • Mentionens
  • Channel Categorys
  • accord api ( Bots )
  • Mute servers

Future Updates: Testing and the backend

The backend server is crashing recently due to a currently unknown cause and the backend API is not properly tested. In this issue, I explain the need for data driven testing, and e2e tests in the backend to stop weird bugs.

All WS and HTTP routes are not currently tested, and testing should be redone bit by bit. The previous backend integration tests were unsustainable and very hard to maintain, so I abandoned them long ago while keeping the easy to maintain unit tests. Also the WS framework is possibly outdated and a much easier way to test it would be much easier to maintain.

Data Driven WS Tests:

test(channelUpdate, () => {
  given().expect('Channel not found');
  given({ channelId: undefined }).expect('Channel not found');
  given({ channelId: 'existing-channel-id', name: 'invalidName' }).expect('Invalid channel name');
  given({ channelId: 'existing-channel-id', name: 'valid-name' }).expect({
    to: ['existing-guild-id'],
    send: { name: 'valid-name' },
  });
});

One developer maintaining 500 tests is difficult, but much less difficult if the tests look like this.

Here is a working example - guild.tests.ts:
(true - test pass)

test(createGuild, () => {
  given().expect(true);
  given({ name: '' }).expect('Name is required');
  given({ name: 'Mock Guild' }).expect(true);
  given({ name: longString(33) }).expect('Name is too long');
  given({ ownerId: '123' }).expect('Invalid Snowflake ID');
  given({ ownerId: generateSnowflake() }).expect(true);
  given({ systemChannelId: generateSnowflake() }).expect(true);
  given({ systemChannelId: undefined }).expect(true);
  given({ systemChannelId: '123' }).expect('Invalid Snowflake ID');
});

Tests could be run synchronously. Async is not necessary for linear unit tests, but more important in integration tests. Data driven tests for unit tests. Maybe if we are testing the websocket, we should write a few tests, but in a supertest style - testing the complete actual websocket rather than an async function.

I'm considering whether testing the final API (HTTP: supertest) would be considered e2e, instead of integration testing.
If that's the case, then I may scrap the idea of having integration tests, as a big mac layer of tests may make sense if we had another 2 million lines of code. Either way, the integration tests we had in v1 would be maintainable if we had like 10x as many developers, and there was 300 long integration tests for like 30 WS events, which is not the smartest idea.

Backend testing solution:

  1. Test the parameters and individual ws event functionality with comprehensive behaviour driven unit tests.
  2. Test the essential websocket implementation, and complete backend with e2e tests.

Frontend tests also currently have a few e2e + unit tests, which are maintainable. So the backend will copy the same convention.

[FEATURE] View how many people have read a message (optional)

Is your feature request related to a problem? Please describe.
Sometimes on Discord, or on many social platforms, people don't respond to your messages. On Discord especially, it is hard to know whether someone has acknowledged the message so you may be left wondering if your messages are being acknowledged or not.

You may also be in a bad mood, and send a bad message, but you have no accurate idea who, if anyone, has seen the message or not. With the reassurance that nobody has seen the message, or particular people have not seen it, you can sleep more easily at night.

You may also want to monitor performance of a message - i.e. see how many people interact with a message against how many people did not, to be able to make more engaging messages in the future. Reading messages can also be used to see how active your community is as opposed to sending messages.

Describe the solution you'd like
A permission-based feature to view how many unique users have seen your message - unique message views count.

  • Message view count.
  • View individual users who viewed that message.

Some people may want just the message count, without the ability to see who has seen - but just how many. This should also be configurable.

Describe alternatives you've considered
N/A.

Additional context
Permission may be disabled by default in guilds, and enabled by default in DM's.
Feature may be added only if people want it above others, as there is an infinite possibility of features that can be added.

Giving anyone roles on any guild without permissions

Describe the bug
Anyone can give himself any roles on any guild. For example, on the accord.app support guild I gave myself mod.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a guild
  2. Click on any user
  3. You can give him roles

Expected behavior
You can't give roles out without permsissions

Screenshots
https://ibb.co/0qshs82
Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Opera GX
  • Version: 75.0.3969.259

Additional context
Anyone can give himself the mod/admin role, and has perms to kick/ban

[BUG]

When i look in channels so many messgaes is emty?

Suggestions

hello omm first of all Thank you very much for continuing this project and streaming it on YouTube

If you add :

Direct Messaging
Friend System
finish (in development...) things
and also fix Accord app bugs

This will be a complete and excellent project

This is very amazing thing that you're streaming accord on YouTube but if you tired of streaming ,u can continue without streaming

Thanks for everything ๐Ÿ’–

Verifying your account shows "invalid code"

Describe the bug
Trying to confirm your account via the verification link that is sent to your email, you are redirected to accord.app but there appears to be a problem.

To Reproduce
Steps to reproduce the behavior:

  1. Register at accord.app
  2. Open your inbox
  3. Open the email sent to you to verify your account
  4. Click on "Complete Verification"
  5. A red entry will appear at the bottom left

Expected behavior
The result should be something that is not an error like "invalid code" but something that represents the success of the action like "Account successfully verified" or "Account created successfully".

Screenshots
https://user-images.githubusercontent.com/68825684/136103418-d6ed270a-baec-4e12-96f0-bd9dca0440ed.mp4

Desktop (please complete the following information):

  • OS: 10.15.7 (19H1323)
  • Browser: Google Chrome
  • Version: 94.0.4606.61 (Official Build) (x86_64)

README.MD in the API Folder doesnt have the code u copy pasted into the config.json in the #1 Part of this series Please Respond

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[FEATURE] Block messages from being sent ENTIRELY if they are profanity & in a profanity filtered channel.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Just read the title, It is not related to any problem.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Entirely block profanity messages from being sent in profanity filtered channels instead of changing profanity to questions marks.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
None.

Additional context
Add any other context or screenshots about the feature request here.

[BUG]

When i start the server i have error :

Error: Cannot find module '@accord/types'

but i have installed accord/types module

Bug when creating an account

When Creating an Account I put a Username and a Password and I click on accept terms and then I click on confirm and it is on the same screen I click on login I put the password and username but it gives an error

Device: Android
Browser: Chrome

Cannot Send Messages

I don't know if It's a bug,
But in accord's official server, I can't send messages in any channel.

How to see the bug:

  1. Join to the server with the code 6tD3f7e
  2. Try to send a message in any channel, It probably will decline you.

What supposed to be:
Sends the message in the channel.

Screenshot:
image.

System Information:
Windows 10 64bit
OperaGX
2

Accord Status

Development has been paused since Feburary. Accord.app is not my main focus currently, but I don't want to 'abandon' accord.
The old domain name (accord.app) was not renewed as it expensive to renew, and is no longer associated with the project.

This may also mean the app could be renamed in the future, who knows... ๐Ÿค”

The app is also not currently being hosted, as I always seem to have consistent fatal memory leaks when I host using a paid VPS.
I'd like to add that this happened with 3PG as well, a Discord project, in early 2020, although I tried with both projects to find a solution to no avail, although it was only observed to occur on the live VPS environment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.