Giter Site home page Giter Site logo

commsy / commsy Goto Github PK

View Code? Open in Web Editor NEW
13.0 6.0 6.0 203.45 MB

A web-based community system.

Home Page: http://commsy.net

License: GNU General Public License v2.0

PHP 70.14% CSS 0.01% JavaScript 6.86% HTML 0.89% Shell 0.02% TypeScript 1.09% Dockerfile 0.06% Less 1.74% Twig 19.15% Makefile 0.03%

commsy's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

commsy's Issues

JSON API?

I know that there is a SOAP API, but working with it is really not fun. Do you have any plans on providing a JSON API?

parse LaTeX in Discussions

Hey, is it possible to use LaTeX in the discussions? Maybe even via editing the source instead of in the WYSIWYG-Editor? Or are there any plans to add support for LaTeX, e.g. via MathJax or similar?

Improper error handling

Some pages that should lead to a 404 error result in internal server error instead. That's considered bad practice.
Example: use the /room endpoint without passing a room ID

Selecting a room is confusing

I am referring to the Schleswig Holstein Instance of commsy.

Current behaviour

When getting in to the portal the first time one is confronted with all (!) rooms (7635) available in SH. Hence, it is extremely difficult to get to the relevant room. Teachers actually tend to provide the room's URL (i.e. https://unterricht.sh.schulcommsy.de/room/[#]) to simplify the search process.

Suggestion

Introduce at least the level/tag 'school'/'schule' and level (1, ..., 13) on Rooms and probably users as well.

Code cleanup

In some files, you find a lot of unnecessary garbage.
A great example is SoapService.php, lines 283 to 286.
I understand that file is very WIP, but I'd rather recommend to do such stuff in another branch to keep the code clean.
Why do you keep such stuff in code? That commented function does not even match the overall syntax style.

Otherwise; nice code style!

XXE DoS in configuration import

Issue

An appropriately placed attacker can upload a ZIP file with XML files within it. If these XML files contain the payload from billion laughs attack (https://en.wikipedia.org/wiki/Billion_laughs_attack), a denial of service scenario can be created.

Remediation

Before loading the XML into memory, use libxml_disable_entity_loader(true); to ensure no entities can affect your import

Still waiting for db to be ready....

When i try to start commsy v10.0.4 i get the following error message:
commsy-php-1 | Waiting for db to be ready... commsy-php-1 | Still waiting for db to be ready... Or maybe the db is not reachable. 59 attempts left

I start commsy with the following command:
sudo ./../.docker/cli-plugins/docker-compose -f docker-compose.yml up

The last message from the db-container is:commsy-db-1 | Version: '10.3.32-MariaDB-1:10.3.32+maria~focal' socket: '/va r/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution

Any tipps?

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.