Skip to content

Conversation

foozzi
Copy link

@foozzi foozzi commented Jun 26, 2020

Added syntax highlighter in config editor (nginx mode)
Added added check for existence of a directory nginx config

foozzi added 2 commits June 26, 2020 09:49
Added added check for existence of a directory nginx config
Added added check for existence of a directory nginx config
@schenkd schenkd self-requested a review June 27, 2020 22:25
@schenkd schenkd self-assigned this Jun 27, 2020
Copy link
Owner

@schenkd schenkd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @foozzi, thanks for your PR. I was glad to see that you were able to implement the editor so quickly. The ACE-Editor looks really good too. I noticed three points that still need to be adjusted before I can confirm the PR.

Point 1:
I guess the color palette is a matter of taste. I would prefer something simpler that fits the color scheme of nginx-ui, like chrome theme. I think a feature in the future release will probably be a dark theme. hehe. Then Monokai fits great. But until then I would like to have something that matches the white background.

Point 2:
I checked the github project of ACE Editor and found the following in the LICENSE agreement:
_Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Ajax.org B.V. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission._

This has to be done before we can use the ACE editor in nginx ui.

Point 3:
The configuration pages of the domains have not yet implemented the code editor. This leads to a break in the design of the application. I would be happy if you use it there as well.

If the points are fulfilled I am ready to accept the PR. Would you still do it?

Best David

@schenkd schenkd changed the base branch from master to dev-0.3 June 28, 2020 16:10
@foozzi
Copy link
Author

foozzi commented Jul 2, 2020

Hi @schenkd !
Thank you for response.

I was on vacation for some time, I think from tomorrow I will fulfill all points

Best regards Igor!

@foozzi
Copy link
Author

foozzi commented Jul 5, 2020

Point 2 resolved: ajaxorg/ace#4337

@foozzi
Copy link
Author

foozzi commented Jul 5, 2020

@schenkd Hi! Look at the changes and ajaxorg/ace#4337

@causefx
Copy link

causefx commented Dec 1, 2020

safe to say Project dead?

@schenkd schenkd added the enhancement New feature or request label Apr 24, 2023
Copy link
Owner

@schenkd schenkd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accepted

@schenkd schenkd merged commit f4b49b5 into schenkd:dev-0.3 Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

3 participants