[OzzModz] Edit Silently And Clear Edit History Checked | NulledTeam UnderGround

This simple addon will automatically check the edit silently and clear last edit history checkboxes.

There are three settings for the addon.

  • Edit silently checked. You can set the edit silently box to be automatically checked.
  • Clear last edit information checked. You can set the clear edit history box to be automatically checked.
  • Allowed user groups. You can select which usergroups will see the checkboxes automatically checked.

Note, the clear…

modified – Email Alerts with dynamic subject on add and edit items to the list

I want to send email alert with dynamic subject

  1. When a new item is added ,the subject of the email alert must be ‘New item added’.
  2. When i edit that item,the subject of the email should be ‘Item Modified’

How can i achieve this in a single workflow

i have checked the condition
if currentItem:created equals currentItem:modified
then email_message(a new variable) will be ‘New Item Added’
email_message will be Item Modified

Any help would be appreciated.Thanks.

magento2 – Magento 2 Admin – Product Cannot Add or Edit

I have Installed Magento 2.3.5, But after installation In Admin > Catalog > Products I cannot edit or Add new products, When I am trying to add or edit Product Page then getting below error.

Notice: Undefined index: quantity in /chroot/home/ad6ab1e8/trendscasa.com/html/faksouq235/vendor/magento/framework/View/Element/UiComponentFactory.php on line 412

Please help me regrading about this issue. I am badly stuck in this issue.


google sheets – weird bug(?) with getValue returning “You are trying to edit a protected cell or object”

This is just…bizarre…

I’m running a function with a user that does have full Edit access to the Sheets in question.

This code:

function test() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sheet = ss.getSheetByName('importDailyOrders');
  var column = sheet.getRange("A1:A");
  // Plain text
  var sheet = ss.getSheetByName('orderSummary');
  var data = sheet.getRange("A2").getValue();

…gives me this error

Exception: You are trying to edit a protected cell or object. Please contact the spreadsheet owner to remove protection if you need to edit. (line 11, file …

But commenting out the setNumberFormat allows the function to run.

Note that the code works fine for the Sheet owner. This error only happens when running the script by a different user.

Is this a bug? If not…what’s happening?

apache2 – not able to edit authentication header based on path location in Apache virtualhost?

The application for which Apache is reverse proxy behaves like this:

  1. It requires basic authentication header to login to it.
  2. For the paths starting from /api/* requires just Bearer token.
  3. If there is basic token in header, the application returns 401, unauthorized http response – it requires needs only Bearer token.

CAS authentication is configured for all the URLs except /api/* path and I am setting the base authentication token inside vhost config file – to login a user without presenting a login form again after he/she authenticates with CAS.

Apache config file enterprise-search.conf:

<VirtualHost *:80>
        ServerName https://search.test.xyz
        ServerAdmin john@xyz

    RemoteIPHeader X-Client-IP
    LogFormat "%a %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" combined-forwarded

    CustomLog ${APACHE_LOG_DIR}/enterprise-search-access.log combined-forwarded
    ErrorLog ${APACHE_LOG_DIR}/enterprise-search-error.log

    LogLevel debug
        CASRootProxiedAs https://search.xyz
    <Location />
        # authn type
        AuthType CAS
        CASScope /
        AuthName "KFUPM"
        # authz
        # Grant all groups access to the root
        AuthGroupFile "/etc/apache2/http-authz/enterprise-search"
        Require group all-enterpirse-search
        # Pass REMOTE_USER header to application
        RewriteEngine On
        RewriteCond %{LA-U:REMOTE_USER} (.+)$
        RewriteRule . - (E=RU:%1,NS)
        RequestHeader set REMOTE_USER %{RU}e
        RequestHeader set Authorization "Basic xxxxxxxxxx"

    # authz: local_groups
        <Location /all-enterpirse-search>
        AuthGroupFile "/etc/apache2/http-authz/enterprise-search"
        Require group all-enterprise-search all-enterpirse-search
    <Location /api/>
        # authn type
        AuthType none
        Allow from all
        Satisfy any
        # authz
        Require valid-user
        # Pass REMOTE_USER header to application
        RewriteEngine On
        RewriteCond %{LA-U:REMOTE_USER} (.+)$
        RewriteRule . - (E=RU:%1,NS)
        RequestHeader set REMOTE_USER %{RU}e
        RequestHeader edit Authorization "Basic(^,)+, " ""

        ProxyPass / http://localhost:3002/
    ProxyPassReverse / http://localhost:3002/

The behavior of RequestHeader edit Authorization "Basic(^,)+, " "" is to replace Basic token header that is passed by the client and it works fine.

But what I actually want is to set Basic token in <Location /> and remove it in <Location /api/>. Using RequestHeader edit Authorization "Basic(^,)+, " "" inside <Location /api/> is not removing the basic token and the application is returning the API call with 401 response.

I am new to Apache configs, may be my approach to achieve my goal is not correct. Please suggest if there is better way to do this.


gui design – Edit and save or cancel button within a popup

I am not a UX designer but I have a task regarding fixing the UI and would love to hear experts opinion about this issue:
So Here, as you can see :
enter image description here

So the Fix buttons are just like fix/unfix “aka a boolean” just toggle button between fix/unfix! my problem is with the Modify and fix button ..
What I want is when the user clicks on it he can modify Job end/start dates, after that, he can click cancel or fix job time which toggles to unfix
any idea how to achieve that in a good UI/Ux? like how the button changes between the 3 states and to add the cancel button?