Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 14 14:29
    cifkao commented #1405
  • May 09 12:49
    mic4ael opened #1763
  • May 06 13:46
    blademainer edited #1762
  • May 06 13:45
    blademainer synchronize #1762
  • May 06 13:44
    blademainer opened #1762
  • May 06 13:34
    blademainer edited #1761
  • May 05 03:56
    blademainer edited #1761
  • May 05 03:40
    blademainer edited #1761
  • May 05 03:39
    blademainer opened #1761
  • Apr 28 04:32
    Musicminion edited #1760
  • Apr 28 04:30
    Musicminion opened #1760
  • Apr 27 15:33
    jackycute commented #1757
  • Apr 27 15:33
    jackycute closed #1758
  • Apr 27 15:33
    jackycute commented #1758
  • Apr 27 15:32
    jackycute closed #1759
  • Apr 27 15:32
    jackycute commented #1759
  • Apr 27 15:27
    Musicminion edited #1759
  • Apr 27 15:27
    Musicminion edited #1759
  • Apr 27 15:27
    Musicminion opened #1759
  • Apr 20 02:00
    whetherstu opened #1758
nicholas⛱
@nnnnicholas_twitter
I also have a small improvement proposal. When using the format bar, I often overshoot with my mouse, then this drops down and now the button hit area for the formatting tool I intended to use is completely obscured by this (albeit great) dropbown menu. The problem is that if you overshoot, then correct and move your mouse down to directly over the original button, you will still be clicking an unexpected button that opens a whole new page. So if you overshoot, you have to mouse out of this box you were not anticipating being there. It's a small thing but I do it by accident multiple times a day. Perhaps the dropdown could be relocated horizontally or the buttons could require a click to see their submenu contents.
zx9w
@zx9w
Hey, is there any way to add latex packages? didn't see anything in the docs... I would like to be able to do commutative diagrams but I need the tikz-cd package.
Nadir Ghoul
@gndu91:matrix.org
[m]
Is it possible to use phantomjs instead of phantomjs-prebuilt?
I tried building phantomjs (because I am on arm), but it still tries to get phantomjs-prebuilt, which does not work.
Nadir Ghoul
@gndu91:matrix.org
[m]
Do you know how to remove phantomjs-prebuilt from the npm requirements?
Nadir Ghoul
@gndu91:matrix.org
[m]
Also, is "Found 294 vulnerabilities (255 low, 17 moderate, 22 high)" a normal output?
Alper Yilmaz
@alperyilmaz
Hi. I was planning to use HackMD/CodiMD in classroom setting where students add content. For grading purposes, it would be nice to see who contributed how much. In "Versions" screen, the revisions can be seen and compared. But I was wondering if it's possible to see contributions per user/contributor?
Max Wu
@jackycute
CodiMD 2.4.1 has released, make sure you upgrade to this version!
https://github.com/hackmdio/codimd/releases/tag/2.4.1
Also check out our release note: https://hackmd.io/@codimd/release-notes/%2F%40codimd%2Fv2_4_0
Aakash Nand
@aakashnand_gitlab
Hello is there any way to import user data without loosing history?
We are planning to move from LDAP to AZURE for authentication which will cause change in user information, I want to know how can I do this migration without loosing data and ownership?
Max Wu
@jackycute

Hello is there any way to import user data without loosing history?

I think the only way is migrate the DB, no other way to keep all authorship and history from files at the moment.

Aakash Nand
@aakashnand_gitlab
@jackycute but if we change from LDAP to AzureAD it will change user profiles then users will lose the ownership and history, how can we solve this?
Max Wu
@jackycute

@jackycute but if we change from LDAP to AzureAD it will change user profiles then users will lose the ownership and history, how can we solve this?

Maybe let them join through AzureAD and map those user account's profileid back to original user id and remove those accounts.

  1. Let users register through AzureAD
  2. Find those newly created user accounts' profileid
  3. Map those profileid back to former user accounts
  4. Remove user accounts that created through AzureAD
Aakash Nand
@aakashnand_gitlab
Understood thanks. Does the generic Oauth authentication works with AzureAD? I am able to login but I am getting Internal server error saying "InternalOAuthError: Failed to fetch user profile"
What would be the value for CMD_OAUTH2_USER_PROFILE_URL and CMD_OAUTH2_SCOPE for AzureAD?
Aakash Nand
@aakashnand_gitlab

Map those profileid back to former user accounts

@jackycute Could you please clarify this step? By mapping what do you mean? Should I replace profileid in Users table with the new profileid and then delete the account created by AzureAD but this will give error cause there is unique_constraint on profileid in Users table

Max Wu
@jackycute

Map those profileid back to former user accounts

@jackycute Could you please clarify this step? By mapping what do you mean? Should I replace profileid in Users table with the new profileid and then delete the account created by AzureAD but this will give error cause there is unique_constraint on profileid in Users table

Yes, please backup the db first.
Copy the new user account's profileid and clean the field, then paste to new account's profileid, this should avoid unique constraint.

Nadir Ghoul
@gndu91:matrix.org
[m]
Hi, is it possible to deploy it on an arm machine?
Nadir Ghoul
@gndu91:matrix.org
[m]
Also, why do you say
Edit the following config file to setup CodiMD server and client.
Read more info at https://hackmd.io/c/codimd-documentation/%2Fs%2Fcodimd-configuration
  • config.json -- CodiMD config
  • .sequelizerc -- db config
When in the script the config is loaded from
var config = require('./lib/config')
Max Wu
@jackycute

Edit the following config file to setup CodiMD server and client.
Read more info at https://hackmd.io/c/codimd-documentation/%2Fs%2Fcodimd-configuration

  • config.json -- CodiMD config
  • .sequelizerc -- db config

. sequelizerc is used by sequelize (our ORM tool) when running db migrations and seeders

Hi, is it possible to deploy it on an arm machine?

Yes, please take a look at dockerhub: https://hub.docker.com/r/hackmdio/hackmd/tags?page=1&ordering=last_updated

2 replies
Nadir Ghoul
@gndu91:matrix.org
[m]
On the page, not a single arm in signt
When I deploy it it gives "standard_init_linux.go:219: exec user process caused: exec format error"
And when I deploy it manually I get other errors, such as an error installing phantom-prebuilt
Max Wu
@jackycute
I think it only works on linux/arm64, are you running on arm only?
If so, I'm afraid it won't work on arm at the moment.
1 reply
Nadir Ghoul
@gndu91:matrix.org
[m]
Do you mean amd64
1 reply
Max Wu
@jackycute

Do you mean amd64

Oops, sorry about typo, it's amd64 not arm64, I'm reading it wrong all the time

做梦专业户
@ihexon
Anybody know what is the root password and hackmd password in docker image, I wnat login docker container with root , Thanks
3 replies
Neel Bhannushali
@neelbhanushali
Hackmd has custom links for documents. Is there any config in Codi MD to set this up?
1 reply
fajar alfayet
@fajarrrrr
Hi everyone, can you share your config.json.
I've been a few days but I'm still confused, I hope you can show me the config.json file
fajar alfayet
@fajarrrrr
image.png
just yesterday it was possible and this morning like that
Xenooooooooo
@Xenooooooooo
Sorry, I am here to raise a bug. My account can't log in suddenly just now, and my three sharing links of md are all corrupt. How can I restore my account and sharing links?
2 replies
Any developer here? We didn't backup our md in time, and I don't want to lose our team members' work :(
1 reply
SentinalCoding
@fckjohni:matrix.org
[m]
Hey, how can I migrate CodiMD to another host?
Pol
@drupol:matrix.org
[m]
Hey hellow
I'm trying to setup CodiMD on Heroku, but I have a white page of the death.
I clicked here: https://hackmd.io/s/codimd-heroku-deployment to deploy on Heroku... and I don't know if there's something else to do
I can't find documentation on that.
Felix E. Klee
@feklee
I started using hackmd.io. Looks very nice (wish there was org as an alternative to Markdown, though).
Anyhow, is there a way to operate it fully from within Emacs? I mean I would like to make edits, then push them (e.g. using Git), and then it's published. I don't want to touch the web interface, except maybe for some setup tweaks once in a while.
叶志辉
@anticpp

Have deployed codimd on my Centos with docker-compose. Everything work fine now.
Then I want to connect to the postgreSQL look inside the database, it fails.

psql -U codimd
codimd=# \c codimd
codimd=# \d Authors
Did not find any relation named "Authors"

codimd=# select count(*) from Authors;
ERROR: relation "authors" does not exisit

I am not family with postgreSQL, someone would tell the problem?

2 replies
Aakash Nand
@aakashnand_gitlab

@jackycute Why is codimd have not released any release since last May 2021?

What is the roadmap and future of codimd? Will it be still maintained?

4 replies
Menus74
@Menus74
If anyone is still around or new here: The "HackMD" / "CodiMD" project seems pretty much dead. You should check out HedgeDoc instead. It's a fork of CodiMD, but with much more features, still actively maintained by many devs (including devs and contributors that worked on CodiMD in the past) and still receives security updates regularly, thus offering a much safer environment IMO. HedgeDoc Support is also pretty good and answers are given in very close timeframes. Check it out here: https://github.com/hedgedoc/hedgedoc
And their official website: https://hedgedoc.org/
2 replies
Wuzado
@wuzado:wuzado.com
[m]

well, while I haven't heard about HedgeDoc previously, I can't really blame them: it's infinitely easier to do major changes on your own fork than in collaboration with inactive maintainers. that's kind of the point of open-source.

they probably shouldn't use CodiMD's branding and suggest that they're rebranded CodiMD, though.

1 reply