update import frappe - import jingrow
This commit is contained in:
parent
570743d5de
commit
1facfe4eb3
@ -1,5 +1,5 @@
|
|||||||
import plugin from 'tailwindcss/plugin';
|
import plugin from 'tailwindcss/plugin';
|
||||||
import frappeUIPreset from 'frappe-ui/src/tailwind/preset';
|
import jingrowUIPreset from 'frappe-ui/src/tailwind/preset';
|
||||||
import containerQueries from '@tailwindcss/container-queries';
|
import containerQueries from '@tailwindcss/container-queries';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import path from 'path';
|
|||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import vueJsx from '@vitejs/plugin-vue-jsx';
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
||||||
import frappeui from 'frappe-ui/vite';
|
import jingrowui from 'frappe-ui/vite';
|
||||||
import pluginRewriteAll from 'vite-plugin-rewrite-all';
|
import pluginRewriteAll from 'vite-plugin-rewrite-all';
|
||||||
import { sentryVitePlugin } from '@sentry/vite-plugin';
|
import { sentryVitePlugin } from '@sentry/vite-plugin';
|
||||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.access.support_access import ACTION_DF_MAP, TAB_DF_MAP, has_support_access
|
from press.access.support_access import ACTION_DF_MAP, TAB_DF_MAP, has_support_access
|
||||||
from press.utils import get_current_team
|
from press.utils import get_current_team
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import functools
|
import functools
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
from press.utils import get_current_team
|
from press.utils import get_current_team
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
import frappe.utils
|
import jingrow.utils
|
||||||
|
|
||||||
from press import utils as press_utils
|
from press import utils as press_utils
|
||||||
from press.access import utils as access_utils
|
from press.access import utils as access_utils
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
|
|
||||||
def is_public_resource(doctype: str, docname: str) -> bool:
|
def is_public_resource(doctype: str, docname: str) -> bool:
|
||||||
|
|||||||
@ -10,8 +10,8 @@ from contextlib import suppress
|
|||||||
from datetime import date
|
from datetime import date
|
||||||
from typing import TYPE_CHECKING, Any, Literal
|
from typing import TYPE_CHECKING, Any, Literal
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import frappe.utils
|
import jingrow.utils
|
||||||
import requests
|
import requests
|
||||||
from frappe.utils.password import get_decrypted_password
|
from frappe.utils.password import get_decrypted_password
|
||||||
from requests.exceptions import HTTPError
|
from requests.exceptions import HTTPError
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.api.client import dashboard_whitelist
|
from press.api.client import dashboard_whitelist
|
||||||
from press.utils import get_full_chain_cert_of_domain, get_minified_script, get_minified_script_2, log_error
|
from press.utils import get_full_chain_cert_of_domain, get_minified_script, get_minified_script_2, log_error
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
import frappe.utils
|
import jingrow.utils
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.utils import caching, typing_validations
|
from frappe.utils import caching, typing_validations
|
||||||
|
|
||||||
|
|||||||
@ -6,8 +6,8 @@ import json
|
|||||||
import re
|
import re
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import frappe.utils
|
import jingrow.utils
|
||||||
import pyotp
|
import pyotp
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.core.doctype.user.user import update_password
|
from frappe.core.doctype.user.user import update_password
|
||||||
|
|||||||
@ -8,8 +8,8 @@ from datetime import datetime, timedelta
|
|||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import TYPE_CHECKING, ClassVar, Final, TypedDict
|
from typing import TYPE_CHECKING, ClassVar, Final, TypedDict
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import frappe.utils
|
import jingrow.utils
|
||||||
import requests
|
import requests
|
||||||
import sqlparse
|
import sqlparse
|
||||||
from elasticsearch import Elasticsearch
|
from elasticsearch import Elasticsearch
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
import json
|
import json
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from press.press.doctype.app.app import new_app
|
from press.press.doctype.app.app import new_app
|
||||||
from press.utils import get_current_team
|
from press.utils import get_current_team
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import re
|
|||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find, find_all
|
from frappe.core.utils import find, find_all
|
||||||
from frappe.model.naming import append_number_if_name_exists
|
from frappe.model.naming import append_number_if_name_exists
|
||||||
from frappe.utils import flt, sbool
|
from frappe.utils import flt, sbool
|
||||||
|
|||||||
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from itertools import groupby
|
from itertools import groupby
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe import _ # Import this for translation functionality
|
from frappe import _ # Import this for translation functionality
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
from frappe.utils import fmt_money, get_request_site_address
|
from frappe.utils import fmt_money, get_request_site_address
|
||||||
|
|||||||
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.agent import Agent
|
from press.agent import Agent
|
||||||
from press.press.doctype.agent_job.agent_job import handle_polled_job
|
from press.press.doctype.agent_job.agent_job import handle_polled_job
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
|
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
from frappe.geo.country_info import get_country_timezone_info
|
from frappe.geo.country_info import get_country_timezone_info
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ from __future__ import annotations
|
|||||||
import inspect
|
import inspect
|
||||||
import typing
|
import typing
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.client import set_value as _set_value
|
from frappe.client import set_value as _set_value
|
||||||
from frappe.handler import run_pg_method as _run_pg_method
|
from frappe.handler import run_pg_method as _run_pg_method
|
||||||
from frappe.model import child_table_fields, default_fields
|
from frappe.model import child_table_fields, default_fields
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.utils import get_client_blacklisted_keys
|
from press.utils import get_client_blacklisted_keys
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import datetime
|
|||||||
import json
|
import json
|
||||||
from urllib.parse import unquote
|
from urllib.parse import unquote
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.auth import CookieManager
|
from frappe.auth import CookieManager
|
||||||
from frappe.oauth import get_cookie_dict_from_headers
|
from frappe.oauth import get_cookie_dict_from_headers
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.api.site import protected
|
from press.api.site import protected
|
||||||
from press.utils import get_current_team
|
from press.utils import get_current_team
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
|
|
||||||
class InvalidSecretKeyError(Exception):
|
class InvalidSecretKeyError(Exception):
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.utils import get_url
|
from frappe.utils import get_url
|
||||||
|
|
||||||
from press.api.developer import raise_invalid_key_error
|
from press.api.developer import raise_invalid_key_error
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import frappe.utils
|
import jingrow.utils
|
||||||
from frappe.rate_limiter import rate_limit
|
from frappe.rate_limiter import rate_limit
|
||||||
|
|
||||||
from press.api.developer import raise_invalid_key_error
|
from press.api.developer import raise_invalid_key_error
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import secrets
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import requests
|
import requests
|
||||||
from frappe.exceptions import OutgoingEmailError, TooManyRequestsError, ValidationError
|
from frappe.exceptions import OutgoingEmailError, TooManyRequestsError, ValidationError
|
||||||
from frappe.utils import validate_email_address
|
from frappe.utils import validate_email_address
|
||||||
|
|||||||
@ -9,7 +9,7 @@ from datetime import datetime, timedelta
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import jwt
|
import jwt
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from google.auth.transport.requests import Request
|
from google.auth.transport.requests import Request
|
||||||
from google.oauth2 import id_token
|
from google.oauth2 import id_token
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import datetime
|
|||||||
import re
|
import re
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.api.site import protected
|
from press.api.site import protected
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ from __future__ import annotations
|
|||||||
import json
|
import json
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
|
|
||||||
from press.api.bench import options
|
from press.api.bench import options
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
from frappe.rate_limiter import rate_limit
|
from frappe.rate_limiter import rate_limit
|
||||||
from werkzeug.wrappers import Response
|
from werkzeug.wrappers import Response
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
from itertools import groupby
|
from itertools import groupby
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.rate_limiter import rate_limit
|
from frappe.rate_limiter import rate_limit
|
||||||
|
|
||||||
from press.exceptions import AlertRuleNotEnabled
|
from press.exceptions import AlertRuleNotEnabled
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.guards import role_guard
|
from press.guards import role_guard
|
||||||
from press.utils import get_current_team
|
from press.utils import get_current_team
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
from frappe.utils import get_url
|
from frappe.utils import get_url
|
||||||
from frappe.utils.oauth import get_oauth2_authorize_url
|
from frappe.utils.oauth import get_oauth2_authorize_url
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
from frappe.desk.form.load import get_docinfo
|
from frappe.desk.form.load import get_docinfo
|
||||||
from frappe.utils import flt
|
from frappe.utils import flt
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
|
|||||||
@ -5,8 +5,8 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import random
|
import random
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import frappe.utils
|
import jingrow.utils
|
||||||
from frappe.rate_limiter import rate_limit
|
from frappe.rate_limiter import rate_limit
|
||||||
|
|
||||||
from press.api.account import get_account_request_from_key
|
from press.api.account import get_account_request_from_key
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import requests
|
import requests
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.query_builder import DocType
|
from frappe.query_builder import DocType
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
|
|
||||||
from press.api.account import get_account_request_from_key
|
from press.api.account import get_account_request_from_key
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
from frappe.utils import get_datetime
|
from frappe.utils import get_datetime
|
||||||
|
|
||||||
from press.agent import Agent
|
from press.agent import Agent
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from dns.resolver import Resolver
|
from dns.resolver import Resolver
|
||||||
from frappe.utils import strip
|
from frappe.utils import strip
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@ from datetime import datetime, timedelta
|
|||||||
from datetime import timezone as tz
|
from datetime import timezone as tz
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import requests
|
import requests
|
||||||
from frappe.utils import convert_utc_to_timezone, flt
|
from frappe.utils import convert_utc_to_timezone, flt
|
||||||
from frappe.utils.caching import redis_cache
|
from frappe.utils.caching import redis_cache
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
|
|
||||||
@frappe.whitelist(allow_guest=True)
|
@frappe.whitelist(allow_guest=True)
|
||||||
|
|||||||
@ -5,7 +5,7 @@ from __future__ import annotations
|
|||||||
import json
|
import json
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import requests
|
import requests
|
||||||
import wrapt
|
import wrapt
|
||||||
from boto3 import client
|
from boto3 import client
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.press.doctype.site_backup.site_backup import OngoingSnapshotError
|
from press.press.doctype.site_backup.site_backup import OngoingSnapshotError
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.rate_limiter import rate_limit
|
from frappe.rate_limiter import rate_limit
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.api.site import protected
|
from press.api.site import protected
|
||||||
from press.utils import get_current_team
|
from press.utils import get_current_team
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# Copyright (c) 2021, Frappe and contributors
|
# Copyright (c) 2021, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.telegram_utils import Telegram
|
from press.telegram_utils import Telegram
|
||||||
from press.utils import log_error
|
from press.utils import log_error
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
from unittest.mock import Mock, patch
|
from unittest.mock import Mock, patch
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.api.account import signup, validate_pincode
|
from press.api.account import signup, validate_pincode
|
||||||
from press.press.doctype.account_request.account_request import AccountRequest
|
from press.press.doctype.account_request.account_request import AccountRequest
|
||||||
|
|||||||
@ -5,7 +5,7 @@ from unittest import skip
|
|||||||
from unittest.mock import MagicMock, Mock, patch
|
from unittest.mock import MagicMock, Mock, patch
|
||||||
|
|
||||||
import docker
|
import docker
|
||||||
import frappe
|
import jingrow
|
||||||
import requests
|
import requests
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
from frappe.tests.utils import FrappeTestCase, timeout
|
from frappe.tests.utils import FrappeTestCase, timeout
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
|
|
||||||
from press.api.billing import (
|
from press.api.billing import (
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
from unittest.mock import Mock, patch
|
from unittest.mock import Mock, patch
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import responses
|
import responses
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from unittest.mock import MagicMock, Mock, patch
|
from unittest.mock import MagicMock, Mock, patch
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.model.naming import make_autoname
|
from frappe.model.naming import make_autoname
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
import datetime
|
import datetime
|
||||||
from unittest.mock import MagicMock, Mock, call, patch
|
from unittest.mock import MagicMock, Mock, call, patch
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import responses
|
import responses
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
from press.api.site import protected
|
from press.api.site import protected
|
||||||
from press.guards import role_guard
|
from press.guards import role_guard
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import json
|
|||||||
import os
|
import os
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
PRESS_AUTH_KEY = "press-auth-logs"
|
PRESS_AUTH_KEY = "press-auth-logs"
|
||||||
PRESS_AUTH_MAX_ENTRIES = 1000000
|
PRESS_AUTH_MAX_ENTRIES = 1000000
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.desk.page.setup_wizard.setup_wizard import setup_complete
|
from frappe.desk.page.setup_wizard.setup_wizard import setup_complete
|
||||||
|
|
||||||
ADMIN_EMAIL = ""
|
ADMIN_EMAIL = ""
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
|
|
||||||
import click
|
import click
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.commands import get_site, pass_context
|
from frappe.commands import get_site, pass_context
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2021, Frappe and contributors
|
# Copyright (c) 2021, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2021, Frappe and Contributors
|
# Copyright (c) 2021, Frappe and Contributors
|
||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import functools
|
import functools
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import pyotp
|
import pyotp
|
||||||
from frappe import auth
|
from frappe import auth
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ from collections import OrderedDict
|
|||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
from typing import Any, Literal
|
from typing import Any, Literal
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe import TYPE_CHECKING, _
|
from frappe import TYPE_CHECKING, _
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe.query_builder.functions import Count
|
from frappe.query_builder.functions import Count
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
from frappe.query_builder import Not
|
from frappe.query_builder import Not
|
||||||
from frappe.query_builder.functions import Count
|
from frappe.query_builder.functions import Count
|
||||||
from frappe.query_builder.terms import QueryBuilder
|
from frappe.query_builder.terms import QueryBuilder
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
from frappe.query_builder.functions import Count
|
from frappe.query_builder.functions import Count
|
||||||
from frappe.query_builder.terms import QueryBuilder
|
from frappe.query_builder.terms import QueryBuilder
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
from frappe.query_builder.functions import Count
|
from frappe.query_builder.functions import Count
|
||||||
from frappe.query_builder.terms import QueryBuilder
|
from frappe.query_builder.terms import QueryBuilder
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
from frappe.query_builder.functions import Count
|
from frappe.query_builder.functions import Count
|
||||||
from frappe.query_builder.terms import QueryBuilder
|
from frappe.query_builder.terms import QueryBuilder
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import frappe
|
import jingrow
|
||||||
from frappe.query_builder.functions import Count
|
from frappe.query_builder.functions import Count
|
||||||
from frappe.query_builder.terms import QueryBuilder
|
from frappe.query_builder.terms import QueryBuilder
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import functools
|
import functools
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
SETTINGS_DOCTYPE = "Press Settings"
|
SETTINGS_DOCTYPE = "Press Settings"
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import functools
|
import functools
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
|
|
||||||
def feature(key: str, site_key: str = "site", raise_error: bool = True):
|
def feature(key: str, site_key: str = "site", raise_error: bool = True):
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import inspect
|
|||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe import TYPE_CHECKING, _
|
from frappe import TYPE_CHECKING, _
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2025, Frappe and contributors
|
# Copyright (c) 2025, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import time
|
|||||||
import typing
|
import typing
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
import requests
|
import requests
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe.utils.password import get_decrypted_password
|
from frappe.utils.password import get_decrypted_password
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import re
|
|||||||
import typing
|
import typing
|
||||||
from unittest.mock import Mock, patch
|
from unittest.mock import Mock, patch
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
from prometheus_api_client import PrometheusConnect
|
from prometheus_api_client import PrometheusConnect
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2025, Frappe and contributors
|
# Copyright (c) 2025, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ from __future__ import annotations
|
|||||||
import json
|
import json
|
||||||
import typing
|
import typing
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
from press.agent import Agent
|
from press.agent import Agent
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
import typing
|
import typing
|
||||||
from unittest.mock import MagicMock, Mock, patch
|
from unittest.mock import MagicMock, Mock, patch
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
from press.press.doctype.app.test_app import create_test_app
|
from press.press.doctype.app.test_app import create_test_app
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2025, Frappe and contributors
|
# Copyright (c) 2025, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ from __future__ import annotations
|
|||||||
import json
|
import json
|
||||||
from functools import cached_property
|
from functools import cached_property
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from ansible import constants, context
|
from ansible import constants, context
|
||||||
from ansible.executor.task_queue_manager import TaskQueueManager
|
from ansible.executor.task_queue_manager import TaskQueueManager
|
||||||
from ansible.inventory.manager import InventoryManager
|
from ansible.inventory.manager import InventoryManager
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2025, Frappe and Contributors
|
# Copyright (c) 2025, Frappe and Contributors
|
||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2025, Frappe and contributors
|
# Copyright (c) 2025, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2025, Frappe and contributors
|
# Copyright (c) 2025, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2025, Frappe and Contributors
|
# Copyright (c) 2025, Frappe and Contributors
|
||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import typing
|
|||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
import botocore
|
import botocore
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find, find_all
|
from frappe.core.utils import find, find_all
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe and Contributors
|
# Copyright (c) 2024, Frappe and Contributors
|
||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import time
|
|||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import TYPE_CHECKING, Literal
|
from typing import TYPE_CHECKING, Literal
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.core.utils import find
|
from frappe.core.utils import find
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe and contributors
|
# Copyright (c) 2024, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe and contributors
|
# Copyright (c) 2024, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe and contributors
|
# Copyright (c) 2024, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe and contributors
|
# Copyright (c) 2024, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe and Contributors
|
# Copyright (c) 2024, Frappe and Contributors
|
||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import time
|
|||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
|
|
||||||
|
|
||||||
def after_install():
|
def after_install():
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2022, Frappe and contributors
|
# Copyright (c) 2022, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe and contributors
|
# Copyright (c) 2024, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2022, Frappe and contributors
|
# Copyright (c) 2022, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and Contributors
|
# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and Contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
import frappe
|
import jingrow
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2022, Frappe and Contributors
|
# Copyright (c) 2022, Frappe and Contributors
|
||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2023, Frappe and contributors
|
# Copyright (c) 2023, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2022, Frappe and contributors
|
# Copyright (c) 2022, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2022, Frappe and Contributors
|
# Copyright (c) 2022, Frappe and Contributors
|
||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.tests.utils import FrappeTestCase
|
from frappe.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2022, Frappe and contributors
|
# Copyright (c) 2022, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2022, Frappe and contributors
|
# Copyright (c) 2022, Frappe and contributors
|
||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
# import frappe
|
# import jingrow
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user