Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 15 12:12
    brunetton opened #1715
  • Sep 13 01:38
    byondrealdev synchronize #1712
  • Sep 10 13:33
    ronald8192 commented #1705
  • Sep 09 20:41
    jackycute commented #1714
  • Sep 07 17:20
    Jiraiya-08 closed #1713
  • Sep 07 17:18
    Jiraiya-08 edited #1713
  • Sep 07 17:16
    Jiraiya-08 commented #1713
  • Sep 07 17:16
    Jiraiya-08 commented #1713
  • Sep 07 16:44
    Jiraiya-08 commented #1713
  • Sep 07 02:37
    jackycute closed #1714
  • Sep 07 02:31
    jackycute commented #1713
  • Sep 07 02:30
    jackycute commented #1713
  • Sep 07 02:26
    jackycute commented #1714
  • Sep 07 02:22
    SWBMESSI opened #1714
  • Sep 06 23:34
    Jiraiya-08 edited #1713
  • Sep 06 23:31
    Jiraiya-08 opened #1713
  • Sep 04 01:18
    byondrealdev opened #1712
  • Sep 03 13:14
    Peter554 closed #806
  • Sep 03 13:14
    Peter554 commented #806
  • Sep 02 18:39
    XVilka commented #245
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?
1 reply
Any developer here? We didn't backup our md in time, and I don't want to lose our team members' work :(
1 reply