repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/description/comp.py | kansha/card_addons/description/comp.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from kansha import validator
from kansha.board i... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/description/view.py | kansha/card_addons/description/view.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import presentation, var, security, a... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/description/models.py | kansha/card_addons/description/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from elixir import ManyToOne
from elixir import using_options
from nagare.d... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/description/__init__.py | kansha/card_addons/description/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .models import DataCardDescription
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/description/tests.py | kansha/card_addons/description/tests.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from kansha.cardextension.tests import CardExtensionTestCase
from .comp im... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/gallery/comp.py | kansha/card_addons/gallery/comp.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import random
from peak.rules import when
from cgi import FieldStorage
from webob.exc import HTTP... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/gallery/view.py | kansha/card_addons/gallery/view.py | # --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
from nagare.i18n import _
from nagare import presentation, ajax, security, component
from .comp... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/gallery/models.py | kansha/card_addons/gallery/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import datetime
from nagare.database import session
from sqlalchemy impor... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/gallery/__init__.py | kansha/card_addons/gallery/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .comp import Gallery
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/label/comp.py | kansha/card_addons/label/comp.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import random
from nagare import component, var, i18n
from kansha.toolbox... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/label/view.py | kansha/card_addons/label/view.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import component, presentation, ajax, var, security
from nagare... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/label/models.py | kansha/card_addons/label/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from elixir import using_options
from elixir import ManyToOne, ManyToMany
f... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/label/__init__.py | kansha/card_addons/label/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from .comp import Label, CardLabels
from .models import DataLabel
from . import view
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/label/tests.py | kansha/card_addons/label/tests.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from kansha.cardextension.tests import CardExtensionTestCase
from .comp im... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/comment/comp.py | kansha/card_addons/comment/comp.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import datetime
from peak.rules import when
from nagare.i18n import _
fro... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/comment/view.py | kansha/card_addons/comment/view.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _, _N, format_datetime
from nagare import ajax, pres... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/comment/models.py | kansha/card_addons/comment/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from elixir import using_options
from elixir import ManyToOne
from elixir i... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/comment/__init__.py | kansha/card_addons/comment/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .models import DataComment
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/comment/tests.py | kansha/card_addons/comment/tests.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import security
from kansha.cardextension.tests import CardExt... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/due_date/comp.py | kansha/card_addons/due_date/comp.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from datetime import date
from peak.rules import when
from nagare.security import common
from nag... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/due_date/view.py | kansha/card_addons/due_date/view.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import peak
import datetime
from nagare import presentation, security, ajax, i18n
from nagare.i18... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/due_date/models.py | kansha/card_addons/due_date/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from elixir import ManyToOne
from elixir import Field, Date
from elixir imp... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/due_date/__init__.py | kansha/card_addons/due_date/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from .models import DataCardDueDate
from . import view
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/due_date/tests.py | kansha/card_addons/due_date/tests.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from datetime import date, timedelta
from kansha.cardextension.tests impor... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/weight/comp.py | kansha/card_addons/weight/comp.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from peak.rules import when
from nagare import component, editor, valida... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/weight/view.py | kansha/card_addons/weight/view.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import ajax, presentation
from .comp import CardWeightEdito... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/weight/models.py | kansha/card_addons/weight/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from sqlalchemy import func
from elixir import ManyToOne
from elixir import... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/weight/__init__.py | kansha/card_addons/weight/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .models import DataCardWeight, DataBoardWeightConfig
from .comp import Car... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/weight/tests.py | kansha/card_addons/weight/tests.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from kansha.cardextension.tests import CardExtensionTestCase
from .comp im... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/checklist/comp.py | kansha/card_addons/checklist/comp.py | # --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import json
import random
from peak.rules import when
from nagare.i18n import _
from nagare.se... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/checklist/view.py | kansha/card_addons/checklist/view.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import presentation, security, var, ajax
from .comp import ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/checklist/models.py | kansha/card_addons/checklist/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from elixir import Boolean
from elixir import Field
from elixir import Inte... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/checklist/__init__.py | kansha/card_addons/checklist/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .models import DataChecklist, DataChecklistItem
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/checklist/tests.py | kansha/card_addons/checklist/tests.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from kansha.cardextension.tests import CardExtensionTestCase
from .comp im... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/members/comp.py | kansha/card_addons/members/comp.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from peak.rules import when
from nagare import component, security, log
... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/members/view.py | kansha/card_addons/members/view.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import presentation, security
from .comp import CardMembers... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/members/models.py | kansha/card_addons/members/models.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import database
from sqlalchemy import func
import sqlalchemy as sa
from sqlalchemy.ex... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card_addons/members/__init__.py | kansha/card_addons/members/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .comp import CardMembers, Membership
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/batch/send_notifications.py | kansha/batch/send_notifications.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import sys
APP = 'kansha'
global apps
app = apps[APP]
# call main
if len(sys.argv) < 3 or n... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/batch/create_index.py | kansha/batch/create_index.py | #--
# Copyright (c) 2008-2013 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
#--
# Copyright (c) 2012-2015 Net-ng.
# All rights reserved.
#
# This software is licensed under t... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/batch/create_demo.py | kansha/batch/create_demo.py | #--
# Copyright (c) 2008-2013 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
#--
# Copyright (c) 2012-2015 Net-ng.
# All rights reserved.
#
# This software is licensed under t... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/batch/clear_unconfirmed_users.py | kansha/batch/clear_unconfirmed_users.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from datetime import datetime, timedelta
from nagare import log
from nagare.database import sessi... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/batch/__init__.py | kansha/batch/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/batch/save_config.py | kansha/batch/save_config.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.admin import util, command
class SaveConfig(command.Command):
desc = 'Create a... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/mail.py | kansha/services/mail.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import smtplib
from email.mime.text import MIMEText
from email.mime.multipa... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/services_repository.py | kansha/services/services_repository.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.services import service, services
class Service(service.Service):
CATEGORY = 'se... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/assetsmanager.py | kansha/services/assetsmanager.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from paste import fileapp
from webob.exc import WSGIHTTPException
from naga... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/components_repository.py | kansha/services/components_repository.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.services import plugins
class CardExtensions(plugins.Plugins)... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/authentication_repository.py | kansha/services/authentication_repository.py | from __future__ import absolute_import, unicode_literals
from nagare.services import plugin, plugins
from .services_repository import Service
class Authentication(plugin.Plugin):
CATEGORY = 'authentication'
class AuthenticationsRepository(Service, plugins.Plugins):
ENTRY_POINTS = 'kansha.authentication'
... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/__init__.py | kansha/services/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from .services_repository import ServicesRepository
from .components_repository import CardExtensi... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/dummyassetsmanager/dummyassetsmanager.py | kansha/services/dummyassetsmanager/dummyassetsmanager.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import log
import pkg_resources
from ..assetsmanager import As... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/dummyassetsmanager/__init__.py | kansha/services/dummyassetsmanager/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/search/elasticengine.py | kansha/services/search/elasticengine.py | #-*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
"""
ElasticSearch based search engine plugin.
Depends on a running ElasticSea... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/search/query.py | kansha/services/search/query.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
"""
Abstract Query expressions.
Queries are not tied to a search engine. The... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/search/dummyengine.py | kansha/services/search/dummyengine.py | #-*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
"""
This engine does nothing but it works (i.e. it does not break)
It is he... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/search/schema.py | kansha/services/search/schema.py | #-*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
"""
Schemas are used to define Documents.
Example usage:
class MyDoc(Documen... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/search/__init__.py | kansha/services/search/__init__.py | #-*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2017 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
'''
Plugin based Seach Engine abstraction.
Available plugins are registered a... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/search/sqliteengine.py | kansha/services/search/sqliteengine.py | #-*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
"""
SQLite FTS based search engine plugin.
Zero dependency.
For usage, look a... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/simpleassetsmanager/simpleassetsmanager.py | kansha/services/simpleassetsmanager/simpleassetsmanager.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import json
import os
import uuid
from PIL import Image
from PIL import Im... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/simpleassetsmanager/__init__.py | kansha/services/simpleassetsmanager/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/actionlog/comp.py | kansha/services/actionlog/comp.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
from nagare import var
from .models import DataHistory
class ActionLog... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/actionlog/view.py | kansha/services/actionlog/view.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
from nagare import presentation, ajax
from nagare.i18n import format_date... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/actionlog/models.py | kansha/services/actionlog/models.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import json
from datetime import datetime, timedelta
from sqlalchemy.typ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/actionlog/__init__.py | kansha/services/actionlog/__init__.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
from . import view
from .comp import ActionLog, DummyActionLog | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/services/actionlog/messages.py | kansha/services/actionlog/messages.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
# messages
# FIXME: how can extensions use their own .mo files for tran... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/cardextension/comp.py | kansha/cardextension/comp.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.services import plugin
from kansha.events import EventHandlerMixIn
class CardExtens... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/cardextension/view.py | kansha/cardextension/view.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import presentation
from .comp import CardExtension
@presentation.render_for(CardExt... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/cardextension/__init__.py | kansha/cardextension/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .comp import CardExtension
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/cardextension/tests.py | kansha/cardextension/tests.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import unittest
from nagare import database
from elixir import metadata as... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/app/comp.py | kansha/app/comp.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import cgi
import sys
import json
import time
import pstats
import urlpar... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/app/view.py | kansha/app/view.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import datetime
from nagare.i18n import _
from nagare.namespaces.xhtml i... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/app/__init__.py | kansha/app/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from .comp import app
from .comp import run
from . import urls
import view
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/app/urls.py | kansha/app/urls.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import presentation, security, log, component
from nagare.i18n ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/user/user_profile.py | kansha/user/user_profile.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import imghdr
import peak.rules
from nagare.i18n import _, _L
from nagare ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/user/comp.py | kansha/user/comp.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import hashlib
from io import BytesIO
from datetime import datetime
impo... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/user/view.py | kansha/user/view.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import presentation, component, ajax,... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/user/usermanager.py | kansha/user/usermanager.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import random
from datetime import datetime, timedelta
from nagare.namespac... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/user/models.py | kansha/user/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import datetime
import hashlib
import random
import string
from elixir imp... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/user/__init__.py | kansha/user/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import view
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/login.py | kansha/authentication/login.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import datetime
from nagare.i18n import _
from nagare import presentation,... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/__init__.py | kansha/authentication/__init__.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/ldap/ldap_auth.py | kansha/authentication/ldap/ldap_auth.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
from nagare import log
try:
import ldap
except ImportError:
ldap ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/ldap/__init__.py | kansha/authentication/ldap/__init__.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/ldap/forms.py | kansha/authentication/ldap/forms.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import presentation, var, database, security
from nagare.i18n i... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/oauth/__init__.py | kansha/authentication/oauth/__init__.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/oauth/oauth_providers.py | kansha/authentication/oauth/oauth_providers.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import json
import urllib
import urllib2
import urlparse
import oauth2 as ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/oauth/forms.py | kansha/authentication/oauth/forms.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
from nagare import presentation, component, database, security, i18n
from ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/database/captcha.py | kansha/authentication/database/captcha.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import pkg_resources
import random
import os
import string
from cStringIO... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/database/__init__.py | kansha/authentication/database/__init__.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/authentication/database/forms.py | kansha/authentication/database/forms.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
import time
import hashlib
import textwrap
from datetime import datetime, t... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | true |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/title/comp.py | kansha/title/comp.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare import component
from kansha import validator
class Title(obj... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/title/view.py | kansha/title/view.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import presentation, var
from .comp ... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/title/__init__.py | kansha/title/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from .comp import EditableTitle
from .import view
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card/comp.py | kansha/card/comp.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import dateutil.parser
from nagare import component, security
from kans... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card/view.py | kansha/card/view.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
from nagare.i18n import _
from nagare import ajax, component, presentatio... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card/models.py | kansha/card/models.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from elixir import using_options
from elixir import ManyToMany, ManyToOne
f... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/card/__init__.py | kansha/card/__init__.py | #--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from . import view
from .comp import Card, NewCard
| python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/column/comp.py | kansha/column/comp.py | # -*- coding:utf-8 -*-
#--
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import component, editor, i18n, secur... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/column/view.py | kansha/column/view.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from nagare.i18n import _
from nagare import ajax, component, presentation... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Net-ng/kansha | https://github.com/Net-ng/kansha/blob/85b5816da126b1c7098707c98f217d8b2e524ff2/kansha/column/models.py | kansha/column/models.py | # -*- coding:utf-8 -*-
# --
# Copyright (c) 2012-2014 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
from datetime import datetime
from sqlalchemy import func
from elixir imp... | python | BSD-3-Clause | 85b5816da126b1c7098707c98f217d8b2e524ff2 | 2026-01-05T07:10:52.983810Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.