Comments (2)
any hints...
I don't remember ever testing this out fully with cocalc-docker. On https://cocalc.com it works very well of course, and code for this is exactly the same, but it's run as part of a microservice on Kubernetes, instead of a monolith (same code, very different architecture).
When you run cocalc-docker it runs this code: https://github.com/sagemathinc/cocalc/blob/master/src/packages/hub/hub.ts
with the command line flag --all.
Right here https://github.com/sagemathinc/cocalc/blob/master/src/packages/hub/hub.ts#L439 passing --all should result in the mentions flag being enabled. The check of the mentions flag is part of the startServer function here https://github.com/sagemathinc/cocalc/blob/master/src/packages/hub/hub.ts#L158 which gets called at https://github.com/sagemathinc/cocalc/blob/master/src/packages/hub/hub.ts#L481
First question: do you see "enabling handling of mentions..." in the log?
The actual handling of mentions happens here: https://github.com/sagemathinc/cocalc/blob/master/src/packages/server/mentions/handle.ts
You could double check that after you @mention, there is an entry in the postgresql mentions table.
Is there anything in the log saying "mentions - handle"?
If you want to know how to make changes to any of this code and use the changes, the answer is basically, become root, do umask 022
, then edit code in /cocalc/src in your container. You can build everything via pnpm run build
from /cocalc/src
, and then restart cocalc-docker to get the new version. Obviously, there are a bunch of ways to iteratively do everything much, much faster. If you're a full stack or web developer interested in working on the cocalc codebase, let me know.
from cocalc-docker.
Ah this is helpful already! I have access to the server on Monday again. The rebuilding I have done before, but I'm not a full stack developer and haven't worked with npm before.
One clarification: Mentions in general work nicely, just the email notifications for mentions are not working.
from cocalc-docker.
Related Issues (20)
- DEBUG in a project is set to something ridiculous on cocalc-docker
- Cannot download shared files HOT 3
- nice to have in cocalc-v2: possibility to add the ChatGPT KEY on project base. HOT 3
- Question on ChatGPT costs. HOT 2
- support using a free local large language model instead of ChatGPT HOT 5
- GPU support issues HOT 2
- document how to migrate from postgresql 10 to postgresql 15 HOT 12
- websocket closed every minute HOT 5
- cannot start sagemath kernel
- Installing wxMaxima for X11 HOT 1
- Installing RStudio for X11 HOT 1
- make REMEMBER_ME cookie depend on hostname
- Disable VS Code Server HOT 1
- Project invite token HOT 1
- sagemath seg fault
- Error replacing moved Files
- ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL on almost any interaction HOT 23
- Cleaning old and missing published shared files HOT 6
- set kernel priorities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocalc-docker.