Giter Site home page Giter Site logo

wechange-eg / cosinnus-devops Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 9.0 605 KB

Devops repository for the WECHANGE suite. Your starting point to contribute to WECHANGE.

License: GNU Affero General Public License v3.0

Python 86.83% HTML 3.71% Shell 5.58% CSS 0.28% Dockerfile 3.60%

cosinnus-devops's People

Contributors

hartwork avatar magdan avatar noamrubin22 avatar ricks-ha avatar saschan avatar saschasommer avatar simonline avatar

Stargazers

 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

cosinnus-devops's Issues

directreply seems to be broken

Beim Antworten auf persönliche Nachrichten bekomme ich den Hinweis, dass ich per Antwort-Funktion darauf antworten kann.

Im Empfänger erscheint dann aber nur die Adresse directreply@ ohne den Code. Die Antwort kommt auch nicht an.

owncloud for desktop-syn of wechage-documents

When it comes to the Platform-decision in teams, it's often less the functionality that counts but much more the simplyness to use it. The big advantage in wechage is this feature, that once you have added all your team to the project, news, events, pads and files are on one place.

But files are not synced locally, one of the most important features for 90% of the teams. Especially for contact-Lists, Documents you are working on and files you often need to send by mail its annoying if you have to download and upload them all the time. In the end you forgot to upload them and your colleque is unable to work on it further... That made us by an owncloud for the "important" things and use wechange as a social-community.

Nextcloud would be a great solution! Each Project is one folder (max. 250 MB for free then it costs i.e. 5 GB for 1€ Prices like here: https://ocloud.de/product/nextcloud.html)
If you are part of the group and the project, then the project is a subfolder of the group-folder. Otherwise all your wechange-Projects are just single folders (with subfolders) in your wechange-owncloud system)

You could syn also the owncloud.-calender with wechange and your mobile. And all wechage contacts could be synced too but thats for later.

Iframe Code-Generator

Simon L just helped me out manually to place our members-map on our page: http://ideenhochdrei.org/de/

It would be great if there is an widget-code generator for

  • Map (members, projects and/or events)
  • Calendar
  • Newsfeed

And it would be nice to have a list of events underneath the map!

Feature: Assign task to multiple users

Hello Dev-Team,

It is not possible to assign a task to multiple users.

But this feature would be very useful for us.
Until now we use the "follow and comment" function.
Is it possible to implement this function?

Service 'web' failed to build...

I tried the docker-compose up and got the error below:

Step 13/16 : WORKDIR /code/cosinnus-core
 ---> Using cache
 ---> 8896ace89399
Step 14/16 : RUN npm i --production && npm run production
 ---> Running in 207748d511ab
npm WARN npm npm does not support Node.js v8.17.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! URL is not defined
 
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-04-24T15_51_10_539Z-debug.log
ERROR: Service 'web' failed to build: The command '/bin/sh -c npm i --production && npm run production' returned a non-zero code: 1

Any suggestion which configuration should be changed and where?

adding user at rocket chat not possible

Hey there,

thanks for your platform. Much appriciated. However, there is a bug when trying to add a user which user name consist only of two letters e.g. lr to a channel

image

also not possible to find the user via the display name

image

Hope you can fix that soon!

Cheers,

Jan

Better Pads on Wechange!

Having all Pads on one space is one of the best features at Wechange!

But as they have no headlines and no immages, we often use Pads from fairkom. Would be so nice if we could have all these fuctions too like on this board https://board.net/p/changeITcamp

  • Hedlines in different formats
  • Embedding Pictures in the text
  • Comment-Function (addiotional to chat-function) so you can comment directly to text passages.

@simonline said, its just adding some more libraries. Roaldn Alton from fairkom said, he has figured out a good working stack of pad-addons which work very stable. I can ask him about details if needed.

GDAL is missing

I get following error in the web-docker-container when i use docker-compose up:

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal2.2.0", "gdal2.1.0", "gdal2.0.0", "gdal1.11.0", "gdal1.10.0", "gdal1.9.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

GDAL is installed though.
I'm using a clean Ubuntu 20.04 VM.

Can anyone help me with this?

Gruppen und Projekte in gleiches Dropdown

Keiner versteht, ob man nun nach Gruppen oder Projekten suchen muss, weil man immer vergisst, was was ist.
Besser einfach in einer Liste darstellen. Die Gruppen erscheinen zuerst und jeweils die zughörigen Projekte in alphabetischer Riehenfolge darunter.

Use same file name for download as on WeChange

When downloading a document from WeChange, it always gets the name document.xyz. This sucks if you download multiple documents to the same folder. Please change the downloading process in that every file gets downloaded using the same name as on WeChange.

Endingdate on event-editor could link to startdate

When you enter a new event which still is a few month to go, you need to click quite a lot on the date-choser for the right month. At least for the ending-date the second little calender could jum directly to the starting month because the end can not be earlier than the start...

Making projects connectable to all Plattforms

With our Project "Karte von morgen" we are active in Transition-Towns and on Universities. Thats why we need a project on wechange and at the same time on plattform-n.
Now we have created a duplette, which is completley stupid as we would love to have all our project-mates and Regional Pilots in one Projekt with one map!
https://wechange.de/project/karte-von-morgen/
https://plattform-n.org/project/karte-von-morgen

It should be possible to add projects to different Plattforms bay adding them as parts of different groups. Karte von morgen can be part of the Transition-Group, Wandelbündnis-Group, Forum-Group of Platform n....

Translation issue: "offensive" != "offensiv"

The German interface, next to an icon with an exclamation point in a triangle says "offensiven Inhalt melden". I guess the original goes something like "report offensive content". However, "offensive" and "offensiv" are false friends. "offensiv" in German does not mean that you offend, but that you are aggressive about something, that you go on the offensive, typically with a positive connotation.
Therefore, the correct translation would be "beleidigenden Inhalt melden".

Error in sqlparse setup command: use_2to3 is invalid.

Hi wechange-eg @SaschaN !

I'm trying to setup cosinnus locally by following option B of the Readme.

I keep getting errors for sqlparse like e.g. for cosinnus-poll:

running egg_info
creating cosinnus_poll.egg-info
writing cosinnus_poll.egg-info/PKG-INFO
writing dependency_links to cosinnus_poll.egg-info/dependency_links.txt
writing requirements to cosinnus_poll.egg-info/requires.txt
writing top-level names to cosinnus_poll.egg-info/top_level.txt
writing manifest file 'cosinnus_poll.egg-info/SOURCES.txt'
reading manifest file 'cosinnus_poll.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'cosinnus_event/locale'
warning: no files found matching '*' under directory 'cosinnus_event/migrations'
warning: no files found matching '*' under directory 'cosinnus_event/static'
warning: no files found matching '*' under directory 'cosinnus_event/templates'
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'cosinnus_poll.egg-info/SOURCES.txt'
running build_ext
Creating /Users/muka/Documents/repos/wechangeenv/lib/python3.9/site-packages/cosinnus-poll.egg-link (link to .)
Adding cosinnus-poll 0.1.dev20190707122435 to easy-install.pth file

Installed /Users/muka/Documents/repos/cosinnus-devops/cosinnus-poll
Processing dependencies for cosinnus-poll==0.1.dev20190707122435
Searching for sqlparse==0.1.10
Reading https://pypi.org/simple/sqlparse/
Downloading https://files.pythonhosted.org/packages/53/4f/5874394af1d54a8e7bd5563815c5439cb11b87e033019653b875f1a16c10/sqlparse-0.1.10.tar.gz#sha256=d159e104fbf1710bba2e4d410fe0371dcbff80457d4752a0bd414d88ddbdd476
Best match: sqlparse 0.1.10
Processing sqlparse-0.1.10.tar.gz
Writing /var/folders/gw/gf_0ld_54432v3d2zrddw_gw0000gn/T/easy_install-1jt8kzi4/sqlparse-0.1.10/setup.cfg
Running sqlparse-0.1.10/setup.py -q bdist_egg --dist-dir /var/folders/gw/gf_0ld_54432v3d2zrddw_gw0000gn/T/easy_install-1jt8kzi4/sqlparse-0.1.10/egg-dist-tmp-eczn7zf2
error: Setup script exited with error in sqlparse setup command: use_2to3 is invalid.

If I try to run the local setup the error reoccurs:

Collecting sqlparse==0.1.10
  Downloading sqlparse-0.1.10.tar.gz (53 kB)
     |████████████████████████████████| 53 kB 2.5 MB/s             
  Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
   command: /Users/muka/Documents/repos/wechangeenv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gw/gf_0ld_54432v3d2zrddw_gw0000gn/T/pip-install-ysc_vam3/sqlparse_544a043442d24c31bfb7c09f23b394cd/setup.py'"'"'; __file__='"'"'/private/var/folders/gw/gf_0ld_54432v3d2zrddw_gw0000gn/T/pip-install-ysc_vam3/sqlparse_544a043442d24c31bfb7c09f23b394cd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/gw/gf_0ld_54432v3d2zrddw_gw0000gn/T/pip-pip-egg-info-nonn844i
       cwd: /private/var/folders/gw/gf_0ld_54432v3d2zrddw_gw0000gn/T/pip-install-ysc_vam3/sqlparse_544a043442d24c31bfb7c09f23b394cd/
  Complete output (1 lines):
  error in sqlparse setup command: use_2to3 is invalid.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/53/4f/5874394af1d54a8e7bd5563815c5439cb11b87e033019653b875f1a16c10/sqlparse-0.1.10.tar.gz#sha256=d159e104fbf1710bba2e4d410fe0371dcbff80457d4752a0bd414d88ddbdd476 (from https://pypi.org/simple/sqlparse/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement sqlparse==0.1.10 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2)
ERROR: No matching distribution found for sqlparse==0.1.10

Do you have any recommendation for handling that? Seems like some issue with the setup tools version but I'm not sure.

ModuleNotFoundError: No module named 'django_select2'

Hi,

i've setup the project with the simple steps of initializing the submodules.
And when running docker-compose up the web-container shows and error with

ModuleNotFoundError: No module named 'django_select2'

I was wondering if I am missing any steps? Of course the frontend is not available in the case.
Everything else runs fine as it seems.

volltextsuche unbenutzbar

moin,

wechange wurde mir als teilnehmer eines grossen projekts mehrfach als leistungsfähige und angeblich konkurrenzlose opensource community & dokumenten plattform angepriesen. ich nutze es also, weil das für das projekt "gesetzt" ist. und ich habe jetzt wirklich eine ganze weile mit viel wohlwollen auf wechange geschaut.

meine erwartung von einer solchen plattform ist, daß ich dokumente die da eingestellt werden auch wiederfinden kann.

leider wird diese erwartung nicht im ansatz erfüllt. nicht nur ich bin dort ständig auf der suche nach irgendwelchen dokumenten. ich habe mit anderen gesprochen und die sind da ähnlich gefrustet. die übersichtlichkeit ist da sicherlich verbesserungsfähig.

wäre an sich alles nicht so schlimm - gibt ja noch ne suchfunktion.
nur - die volltextsuche im wechange funktioniert grösstenteils überhaupt nicht. sie bleibt überhaupt entweder hängen, liefert einem treffer die keine sind - oder liefert unmengen an treffern aus bereichen, in denen man garnicht suchen will.

der support schrieb vor einer weile, daß das problem wegen mangelnder ressourcen auf absehbare zeit auch nicht lösbar ist.

im wechange nextcloud gibt es offensichtlich keine volltextsuche, auch wenn das technisch so wie ich das sehe durchaus möglich wäre.

nun möchte man im projekt als "workaround" jetzt offenbar alle dokumente in die wechange nextcloud verschieben, weil da wenigstens filename-stringsuche funktioniert.

wenn ich dazu mal was aus sicht eines ITler sagen darf (und sorry, wenn das jetzt sehr hart klingt, aber ich spreche halt gerne probleme offen , ehrlich und laut an) :

was will man im jahre 2020 mit einem online-tool was keine ordentliche volltext suchfunktion hat ?

Direkt link to awsom Member-Map

I love wechange! Thats so great!!!!

Just one idea: The Member-Map is on my project page one of the moste important things! But when people visit my page, they find it only if they know, that they need to click on "Members".

I would love to have it on my microsite and direktly in the project dashboard.
Thank you very much!

Direct Email reply

A notification message about a conversation in Cosinnus contains a link with a direct reply token at the bottom of the message.

This looks similar to:


DIRECT-REPLY CODE:
directreply+3+noo1ohlahJe9gaeteshieciegaekoo8h+wechange.de

A reply to such a message is instead sent to [email protected].

If this reply code acts similarily to what GitLab or Discourse do, then the answer could be sent to

[email protected]

instead. This address can be explicitly stated through the Reply-To: header. Also see RFC 2822 section A.2. for details.

Scheduling tool for recurring tasks

In our project, we have some recurring tasks, that have to be done e.g. weekly, or twice a week / other patterns. We always try to distribute these tasks as much as possible, so we always do polls for a month, where every day has to be covered. The current features are not specially made for this, so they are not as intuitive as they could be. It would be nice to have a tool, where you can define time patterns, which repeat themselves as long as you want them to. In addition there should be definable open slots for people to fill. This way you always have an overview, which tasks are still open, or where just one more person is needed, etc.
One example, where this is already implemented, is the foodsharing platform (https://gitlab.com/foodsharing-dev/foodsharing).
Is such a tool wanted, or already planned? I also know python - if this could help - but would need some starting assistance.. Anyone interested in setting up such a tool? Is this the right place to put such a request anyways?

Setup docker for deployment

  • Configure frontend proxy including letsencrypt (and networking)
  • Remove unnecessary code volumes
  • Add data and upload volumes
  • Setup docker environment (e.g. libre.sh)
  • Setup gunicorn web server

Consider using Nextcloud Calendar

Users could then add their WeChange Cloud account to their preferred calendar app and have not only read but also write access to calendars from that app.

This could be implemented as 2 Calendars for each project, public and group only, which are shared with all project members (similar to the current shared cloud folder).
Cosinnus could then use CalDAV to access the Nextcloud calendars and display them in the UI.

Alternatives:

I would be happy to help with the implementation.

fast Täglichen Logout verhinden

Problem

Viele Nutzer (z.B. RolandCGN, @ludwig.schuster und @helmut.wolman) klagen über regelmäßige rauswürfe bei RC. Das wieder einloggen geht in den meisten Fällen recht fix, ohne dass man die Zugangsdaten eingeben muss, aber trotzdem sehr nervig.

  • Scheinbar wird man unbemerkt vom System abgemeldet, d.h. dann, wenn die App geschlossen ist. Ohne Fehlermeldung oder Hinweis. Erst wenn man die App dann mal wieder öffnet, kommt folgender Hinweis:
    2021-02-13T20_34_37.997Z
    grafik

  • Man bekommt dann auch keine Push-notifications mehr aufs handy, was natürlich doof ist, wenn man hinweise erwartet

  • Es scheint immer im Zusammenhang mit Netzwerkwechseln des Endgerätes zu tun zu haben. Also wenn man am Handy vom WLAN ins mobile Netz kommt oder umgekehrt. Beim Laptop scheint es ähnlich zu sein.

Mögliche Ursachen

RolandCGN hat beriets etwas Troubleshooting gemacht und hier dokumentiert im Kanal: #general / ständiges ausloggen in App 😡 https://rocketchat.wechange.de/channel/JH7DAGPxFiWd5Bk4F

Lösung

??? @sascha.narr ist dran.


Internes Issue: https://git.sinnwerkstatt.com/wechange/wechange/-/issues/1348

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.