schmunk42
Repos
207
Followers
314
Following
172

:purple_heart: Universal web application built upon Docker, PHP & Yii 2.0 Framework

70
15

AdminLTE Asset Bundle for Backend Theme in Yii2 Framework

1140
420

Yii 2 Framework Code Generator Gii on Steroids

265
113

JSON Schema Based Editor

3340
502

Application sitemap and navigation manager module for Yii 2.0 Framework

31
11

Portable environments for Docker swarms and stacks

30
1

Events

started
Created at 4 days ago
reopened issue
Custom Validator with Server Side Validation

Is it possible to use an ajax call to perform server-side validation on an input field using the custom validators?

The use case is the following: The user enters a special kind of formula in a text input field which can only be validated on ther server side. I would like to make an ajax call in the custom validator and update the errors array based on the result of the server call.

Is this possible?

Created at 6 days ago
issue comment
Custom Validator with Server Side Validation

@germanbisurgi Please also add the example to the wiki, thx.

Created at 6 days ago
issue comment
Extend `yii\helpers\ArrayHelper::getValue()` function to case-insensitive comparison

First, https://github.com/yiisoft/yii2/pull/19594 breaks BC (changes method signature). So even if we add this it probably should be a separate method.

@rob006 General question about BC breaks ... would this change (adding a param with default value) be OK, if the method would be final?

Created at 1 week ago
issue comment
Extend yii\helpers\ArrayHelper::getValue() function to case-insensitive comparison

There should be additional and/or updated unit tests to check the existing behavior and the new one.

Created at 1 week ago
issue comment
walkpaper doesn't work on Gnome 42/f36

Duplicate of https://github.com/BlinkBP/walkpaper/issues/18

Created at 1 week ago
issue comment
Not working on gnome42

Duplicate of https://github.com/BlinkBP/walkpaper/issues/18

Created at 1 week ago
issue comment
maximum call stack exceed with 'max_depth=3'

Probably related: https://github.com/json-editor/json-editor/issues/1158

Created at 1 week ago
issue comment
maximum call stack exceed with 'max_depth=3'

Could you create a simpler example reproduction the problem?

Created at 2 weeks ago
issue comment
\yii\db\BaseActiveRecord::getDirtyAttributes causes Fatal Error in 2.0.46

also related https://github.com/yiisoft/yii2/issues/19531

Created at 2 weeks ago

fixed the format documentation to properly use SCEditor

Merge pull request #1204 from cszackrison/master

fixed the format documentation to properly use SCEditor

Created at 3 weeks ago
pull request closed
fixed the format documentation to properly use SCEditor

This is an update to the readme file. It incorrectly says to use the format html if you want to use SCEditor. It should be xhtml.

| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Is backward-compatible? | ✔️ | Tests pass? | ✔️ | Fixed issues | | Updated README/docs? | ✔️ | Added CHANGELOG entry? | ❌

Created at 3 weeks ago
issue comment
fixed the format documentation to properly use SCEditor

Thank you!

Created at 3 weeks ago
issue comment
Allow object editors to use the "categories" layout, but with "grid" or "grid-strict" in the "Basic" tab

@bassmanitram Could you post a simple example with the "Basic" object and a schema how the schema/data should be.

Created at 3 weeks ago
issue comment
Changed behavior of the `yii\base\BaseModel::attributes()` method in 2.0.46

I wonder if gii works with 2.0.46, since the bug described here would render it completely unusable - untested, it's just a thought.

Created at 3 weeks ago
issue comment
Changed behavior of the `yii\base\BaseModel::attributes()` method in 2.0.46

The only place where attributes() itself is tested: https://github.com/yiisoft/yii2/blob/master/tests/framework/base/ModelTest.php#L524

We could reuse Speaker https://github.com/yiisoft/yii2/blob/161526cd41beee62d0910333c3bd96034cf73186/tests/data/base/Speaker.php for testing this, by checking for firstName, lastName on a newly created instance.

Created at 3 weeks ago
issue comment
bower-asset/jsoneditor missing tags below 5.24.0

Seems to be working now, close at will.

Created at 3 weeks ago
issue comment
Reactive value in vue.js - how to fetch current data?

Closing, reopen or create a new issue if neccessary.

Created at 4 weeks ago
Reactive value in vue.js - how to fetch current data?

I am using the json-editor with vue.js and have a general question

import { JSONEditor } from '@json-editor/json-editor/dist/jsoneditor'
...
initEditor () {
      // initi editor via refs
      const element = this.$refs.jsonEditor
      const options = {
        form_name_root: '',
        schema: this.schema,
        // setting the start value
        startval: this.value,
        disable_array_add: true,
        disable_array_delete: true,
        disable_array_delete_all_rows: true,
        disable_array_delete_last_row: true,
        disable_array_reorder: true,
        enable_array_copy: false,
        disable_collapse: true,
        disable_edit_json: true,
        disable_properties: true,
        array_controls_top: true,
        no_additional_properties: true,
        theme: 'barebones'
      }
      this.editor = new JSONEditor(element, options)

      this.editor.on('change',() => {
        // how to catch current value here?
      });
    }

My goal is to send the current data of the editor to some other component. Thus I need to fetch the data in the same object structure which startval has. How can I achieve that? Unfortunately the docu does not state how to access the current value of the editor or I misread it. Thanks for help.

Created at 4 weeks ago
pull request closed
increased wait due to occasionally failing tests

| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ❌ | Is backward-compatible? | ✔️ | Tests pass? | ✔️

Created at 1 month ago
pull request opened
increased wait due to occasionally failing tests

| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ❌ | Is backward-compatible? | ✔️ | Tests pass? | ✔️

Created at 1 month ago
opened issue
bower-asset/jsoneditor missing tags below 5.24.0

The repo https://asset-packagist.org/package/bower-asset/jsoneditor is missing tags below v5.24.0

There are several of them in the repo: https://github.com/josdejong/jsoneditor/tags?after=v5.24.0


Temp workaround

    "repositories": {
        "bower-asset/jsoneditor": {
            "type": "package",
            "package": {
                "name": "bower-asset/jsoneditor",
                "version": "3.2.0",
                "dist": {
                    "type": "zip",
                    "url": "https://github.com/josdejong/jsoneditor/archive/refs/tags/v3.2.0.zip"
                }
            }
        },
        "ap": {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    },

CC: @amk0

Created at 1 month ago
issue comment
fixed the format documentation to properly use SCEditor

In my tests the editor is visible with xhtml but not usable, eg. you can't click into it or add text. With html it's not visible at all.

CC: @germanbisurgi

Created at 1 month ago
create branch
schmunk42 create branch feature/test-hardening-2022-08-31
Created at 1 month ago