Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR - Ticket 49978 - Add CLI logging function for UI #3041

Closed
389-ds-bot opened this issue Sep 13, 2020 · 12 comments
Closed

PR - Ticket 49978 - Add CLI logging function for UI #3041

389-ds-bot opened this issue Sep 13, 2020 · 12 comments
Labels
merged Migration flag - PR pr Migration flag - PR

Comments

@389-ds-bot
Copy link

389-ds-bot commented Sep 13, 2020

Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/49982


Description:

Add a web browser console logging function to enforce
a consistent format and hide password values for CLI
commands.

Resolves: #3037

Reviewed by: ?

@389-ds-bot 389-ds-bot added merged Migration flag - PR pr Migration flag - PR labels Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2018-10-18 11:45:21

Missing ')' in the end

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2018-10-18 11:47:10

MIssing coma after 'do_winsync_agmt_init'

@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from spichugi (@droideck) at 2018-10-18 11:54:18

The rest looks good. :)

And what do you think regarding @kenoh comment? I think it makes sence to have a switch for the logging.
#3037#comment-536490

@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from mreynolds (@mreynolds389) at 2018-10-18 14:25:53

The rest looks good. :)
And what do you think regarding @kenoh comment? I think it makes sence to have a switch for the logging.
#3037#comment-536490

There's no overhead in having the logging, and I added a check for the presence of console.log() in log_cmd(). So it will be safe for obscure browsers that we technically would NOT support anyway ;-) We only support Firefox, Chrome, and MS Edge - all of which support console.log().

So I prefer to keep it "always on" and not add a hidden checkbox in the UI somewhere. I'll get the rest of the changes applied shortly

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-10-18 14:30:01

rebased onto 34428dbf7b9032a718c1e8488e90385b6e10fb4d

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-10-18 14:31:09

rebased onto 9c05b39394882d48c4893de9355c8e4e0871734e

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-10-18 14:51:33

Please review :-)

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2018-10-18 16:01:18

Missing coma after 'do_agmt_init'...

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-10-18 16:03:30

rebased onto aaf517c

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2018-10-18 16:12:33

okay, ack :)

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-10-18 16:44:17

Pull-Request has been merged by mreynolds389

@389-ds-bot
Copy link
Author

Patch
49982.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged Migration flag - PR pr Migration flag - PR
Projects
None yet
Development

No branches or pull requests

1 participant