Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 27 18:11
    joujou77 opened #1727
  • Oct 25 08:42

    Yukaii on remove-uglifyjs

    (compare)

  • Oct 25 08:42

    Yukaii on develop

    chore: remove unused uglifyjs-w… Merge pull request #1723 from h… (compare)

  • Oct 25 08:42
    Yukaii closed #1723
  • Oct 25 08:42
    Yukaii closed #1595
  • Oct 25 08:42
    Yukaii milestoned #1723
  • Oct 25 08:41

    Yukaii on upgrade-codemirror

    (compare)

  • Oct 25 08:41

    Yukaii on develop

    chore: upgrade codemirror to 5.… chore: upgrade codemirror to 5.… Merge pull request #1716 from h… (compare)

  • Oct 25 08:41
    Yukaii closed #1716
  • Oct 23 12:09
    rzjnzk opened #1726
  • Oct 22 14:58
    As-XiongShijie opened #1725
  • Oct 22 08:27
    jackycute edited #1716
  • Oct 22 07:42
    Yukaii commented #1716
  • Oct 22 07:42
    Yukaii milestoned #1716
  • Oct 22 07:42
    Yukaii synchronize #1716
  • Oct 22 07:42

    Yukaii on upgrade-codemirror

    chore: upgrade codemirror to 5.… (compare)

  • Oct 22 07:23

    Yukaii on sequelize-import

    (compare)

  • Oct 22 07:23

    Yukaii on develop

    feat: deprecate sequelize.impor… Merge pull request #1724 from h… (compare)

  • Oct 22 07:23
    Yukaii closed #1724
  • Oct 22 07:23
    Yukaii closed #1579
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.