From 747896e0a368c25d6ca8d321884edff8608c730e Mon Sep 17 00:00:00 2001 From: haniljain Date: Mon, 12 Feb 2024 21:17:37 +0530 Subject: [PATCH 1/6] django_share_socail --- .pyproject.toml.swl | Bin 0 -> 4096 bytes .pyproject.toml.swm | Bin 0 -> 4096 bytes .pyproject.toml.swn | Bin 0 -> 12288 bytes .pyproject.toml.swo | Bin 0 -> 4096 bytes poetry.lock | 33 ++++++++++++++++++++++++++++++--- pyproject.toml | 3 ++- 6 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 .pyproject.toml.swl create mode 100644 .pyproject.toml.swm create mode 100644 .pyproject.toml.swn create mode 100644 .pyproject.toml.swo diff --git a/.pyproject.toml.swl b/.pyproject.toml.swl new file mode 100644 index 0000000000000000000000000000000000000000..7e0c6238459ba44fc115dc3a5c5e6646a7f79e06 GIT binary patch literal 4096 zcmYc?2=nw+u+TGN00IF923G4+sRvwH8E&#NFk~d=W#)jy2>>6*fDr!xUAJI2k5Hdb zL!7GXzy|6&`Gn{fR2CHFXQd{W=#}K>5@QEWLq{b>Ltr!nhztQ<24f>b1CU~6B}D~c np->|AjVc=rfzc2c4S~@R7!85Z5Eu=C(GVC7fzc2c4j}*lPfr(I literal 0 HcmV?d00001 diff --git a/.pyproject.toml.swm b/.pyproject.toml.swm new file mode 100644 index 0000000000000000000000000000000000000000..71d97ff063498a5d2a6ea91d5ba0a801b41bfad3 GIT binary patch literal 4096 zcmYc?2=nw+u+TGN00IF923G4+sRvwH8E&vLFk~d=W#)jy2>>6*fDr!xUAJI2k5Hdb zL!7GXzy|6&`Gn{fR2CHFXQd{W=#}K>5@QEWLq{b>Ltr!nhztQ<24f>b1CU~6B}D~c np->|AjVc=rfzc2c4S~@R7!85Z5Eu=C(GVC7fzc2c4j}*lKW7(P literal 0 HcmV?d00001 diff --git a/.pyproject.toml.swn b/.pyproject.toml.swn new file mode 100644 index 0000000000000000000000000000000000000000..61e2f9caece1ea510d430a46191b5d5d2329aae5 GIT binary patch literal 12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$(Gz3ONU^E0qLtr!nhD`_n0JkX_VgLXD literal 0 HcmV?d00001 diff --git a/poetry.lock b/poetry.lock index e01c06724..c5ca61c51 100644 --- a/poetry.lock +++ b/poetry.lock @@ -22,6 +22,9 @@ files = [ {file = "asgiref-3.7.2.tar.gz", hash = "sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed"}, ] +[package.dependencies] +typing-extensions = {version = ">=4", markers = "python_version < \"3.11\""} + [package.extras] tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] @@ -101,6 +104,8 @@ mypy-extensions = ">=0.4.3" packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -706,6 +711,17 @@ Pillow = ">=6.2.0" [package.extras] test = ["testfixtures"] +[[package]] +name = "django-social-share" +version = "2.3.0" +description = "Templatetags for 'tweet this' and 'share on facebook'" +optional = false +python-versions = "*" +files = [ + {file = "django-social-share-2.3.0.tar.gz", hash = "sha256:37844f3b4f88a2008604ece7eaedd52fd5914f111f13525200ce1101b750757f"}, + {file = "django_social_share-2.3.0-py2.py3-none-any.whl", hash = "sha256:13d0a1fbb2a90e3a6e7eb556315ececd1e93a906574a3284affbe2f43e2f7398"}, +] + [[package]] name = "django-star-ratings" version = "0.9.2" @@ -1786,7 +1802,6 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -2079,6 +2094,17 @@ files = [ {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, ] +[[package]] +name = "tomli" +version = "2.0.1" +description = "A lil' TOML parser" +optional = false +python-versions = ">=3.7" +files = [ + {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, + {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, +] + [[package]] name = "trio" version = "0.22.2" @@ -2093,6 +2119,7 @@ files = [ [package.dependencies] attrs = ">=20.1.0" cffi = {version = ">=1.14", markers = "os_name == \"nt\" and implementation_name != \"pypy\""} +exceptiongroup = {version = ">=1.0.0rc9", markers = "python_version < \"3.11\""} idna = "*" outcome = "*" sniffio = "*" @@ -2299,5 +2326,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "3.11.2" -content-hash = "eea0a20310e7ecfb191cb2f70632c5335970266a5afd132b37e4310f20d9d540" +python-versions = "3.10.12" +content-hash = "67a5ddf190582d254df9e63ef06d3c1be62ccfc9048ebae7b01e17d35bbbb61a" diff --git a/pyproject.toml b/pyproject.toml index dd3855370..a3a6e4313 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Your Name "] license = "AGPLv3" [tool.poetry.dependencies] -python = "3.11.2" +python = "3.10.12" toml = "^0.10.2" Django = "^5.0.2" dj-database-url = "^1.0.0" @@ -62,6 +62,7 @@ webdriver-manager = "^4.0.1" pillow = "^10.2.0" chromedriver-autoinstaller = "^0.6.4" sentry-sdk = "^1.40.3" +django-social-share = "^2.3.0" [tool.poetry.dev-dependencies] black = "^24.1.1" From 89dae9993f7a24325ab9e5d1431f1cf7f62c1151 Mon Sep 17 00:00:00 2001 From: HanilJain Date: Tue, 13 Feb 2024 14:54:04 +0530 Subject: [PATCH 2/6] pyproject.toml version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fb9ff114d..6926742df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Your Name "] license = "AGPLv3" [tool.poetry.dependencies] -python = "3.10.12" +python = "3.11.2" toml = "^0.10.2" Django = "^5.0.2" dj-database-url = "^1.0.0" From 07e2002046075fe2156058943f79f55c23163178 Mon Sep 17 00:00:00 2001 From: HanilJain Date: Tue, 13 Feb 2024 16:45:03 +0530 Subject: [PATCH 3/6] Revert "pyproject.toml version" This reverts commit 89dae9993f7a24325ab9e5d1431f1cf7f62c1151. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6926742df..fb9ff114d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Your Name "] license = "AGPLv3" [tool.poetry.dependencies] -python = "3.11.2" +python = "3.10.12" toml = "^0.10.2" Django = "^5.0.2" dj-database-url = "^1.0.0" From f0eda172f19a2f5408f43003cbc1efd0822ce912 Mon Sep 17 00:00:00 2001 From: HanilJain Date: Tue, 13 Feb 2024 16:48:21 +0530 Subject: [PATCH 4/6] Revert "django_share_socail" This reverts commit 747896e0a368c25d6ca8d321884edff8608c730e. --- .pyproject.toml.swl | Bin 4096 -> 0 bytes .pyproject.toml.swm | Bin 4096 -> 0 bytes .pyproject.toml.swn | Bin 12288 -> 0 bytes .pyproject.toml.swo | Bin 4096 -> 0 bytes poetry.lock | 33 ++------------------------------- pyproject.toml | 3 +-- 6 files changed, 3 insertions(+), 33 deletions(-) delete mode 100644 .pyproject.toml.swl delete mode 100644 .pyproject.toml.swm delete mode 100644 .pyproject.toml.swn delete mode 100644 .pyproject.toml.swo diff --git a/.pyproject.toml.swl b/.pyproject.toml.swl deleted file mode 100644 index 7e0c6238459ba44fc115dc3a5c5e6646a7f79e06..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmYc?2=nw+u+TGN00IF923G4+sRvwH8E&#NFk~d=W#)jy2>>6*fDr!xUAJI2k5Hdb zL!7GXzy|6&`Gn{fR2CHFXQd{W=#}K>5@QEWLq{b>Ltr!nhztQ<24f>b1CU~6B}D~c np->|AjVc=rfzc2c4S~@R7!85Z5Eu=C(GVC7fzc2c4j}*lPfr(I diff --git a/.pyproject.toml.swm b/.pyproject.toml.swm deleted file mode 100644 index 71d97ff063498a5d2a6ea91d5ba0a801b41bfad3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmYc?2=nw+u+TGN00IF923G4+sRvwH8E&vLFk~d=W#)jy2>>6*fDr!xUAJI2k5Hdb zL!7GXzy|6&`Gn{fR2CHFXQd{W=#}K>5@QEWLq{b>Ltr!nhztQ<24f>b1CU~6B}D~c np->|AjVc=rfzc2c4S~@R7!85Z5Eu=C(GVC7fzc2c4j}*lKW7(P diff --git a/.pyproject.toml.swn b/.pyproject.toml.swn deleted file mode 100644 index 61e2f9caece1ea510d430a46191b5d5d2329aae5..0000000000000000000000000000000000000000 GI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Luuv#reWNNyLtr!nMnhmU1V%$(Gz3ONU^E0qLtr!nhD`_n0JkX_VgLXD diff --git a/poetry.lock b/poetry.lock index dc4167bbb..f4ed94c5d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -22,9 +22,6 @@ files = [ {file = "asgiref-3.7.2.tar.gz", hash = "sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed"}, ] -[package.dependencies] -typing-extensions = {version = ">=4", markers = "python_version < \"3.11\""} - [package.extras] tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] @@ -104,8 +101,6 @@ mypy-extensions = ">=0.4.3" packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -711,17 +706,6 @@ Pillow = ">=6.2.0" [package.extras] test = ["testfixtures"] -[[package]] -name = "django-social-share" -version = "2.3.0" -description = "Templatetags for 'tweet this' and 'share on facebook'" -optional = false -python-versions = "*" -files = [ - {file = "django-social-share-2.3.0.tar.gz", hash = "sha256:37844f3b4f88a2008604ece7eaedd52fd5914f111f13525200ce1101b750757f"}, - {file = "django_social_share-2.3.0-py2.py3-none-any.whl", hash = "sha256:13d0a1fbb2a90e3a6e7eb556315ececd1e93a906574a3284affbe2f43e2f7398"}, -] - [[package]] name = "django-star-ratings" version = "0.9.2" @@ -1802,6 +1786,7 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -2094,17 +2079,6 @@ files = [ {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, ] -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - [[package]] name = "trio" version = "0.22.2" @@ -2119,7 +2093,6 @@ files = [ [package.dependencies] attrs = ">=20.1.0" cffi = {version = ">=1.14", markers = "os_name == \"nt\" and implementation_name != \"pypy\""} -exceptiongroup = {version = ">=1.0.0rc9", markers = "python_version < \"3.11\""} idna = "*" outcome = "*" sniffio = "*" @@ -2327,6 +2300,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "3.11.2" -content-hash = "375577610a2ed87cecedf8ed1ea72a813f1aedf0cb2da67eb1bacf20d85d20c0" -python-versions = "3.10.12" -content-hash = "67a5ddf190582d254df9e63ef06d3c1be62ccfc9048ebae7b01e17d35bbbb61a" +content-hash = "eea0a20310e7ecfb191cb2f70632c5335970266a5afd132b37e4310f20d9d540" diff --git a/pyproject.toml b/pyproject.toml index fb9ff114d..93c94e6ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Your Name "] license = "AGPLv3" [tool.poetry.dependencies] -python = "3.10.12" +python = "3.11.2" toml = "^0.10.2" Django = "^5.0.2" dj-database-url = "^1.0.0" @@ -62,7 +62,6 @@ webdriver-manager = "^4.0.1" pillow = "^10.2.0" chromedriver-autoinstaller = "^0.6.4" sentry-sdk = "^1.40.3" -django-social-share = "^2.3.0" [tool.poetry.dev-dependencies] black = "^24.2.0" From b16c8540d31021e46db208fb6a9c081b2e26c4ca Mon Sep 17 00:00:00 2001 From: HanilJain Date: Wed, 14 Feb 2024 22:08:05 +0530 Subject: [PATCH 5/6] feature added --- website/templates/includes/header.html | 132 ++++++++++++++++++++----- 1 file changed, 106 insertions(+), 26 deletions(-) diff --git a/website/templates/includes/header.html b/website/templates/includes/header.html index ad9f030e2..df4be57fe 100644 --- a/website/templates/includes/header.html +++ b/website/templates/includes/header.html @@ -11,6 +11,36 @@ color: black; } + \ No newline at end of file From fc0d1f371bf80821c6151741f2cbfa85f52483b1 Mon Sep 17 00:00:00 2001 From: HanilJain Date: Wed, 14 Feb 2024 22:38:27 +0530 Subject: [PATCH 6/6] drop down feature --- website/templates/includes/header.html | 134 ++++++++++++++++++++----- 1 file changed, 107 insertions(+), 27 deletions(-) diff --git a/website/templates/includes/header.html b/website/templates/includes/header.html index ad9f030e2..5edceca26 100644 --- a/website/templates/includes/header.html +++ b/website/templates/includes/header.html @@ -11,8 +11,38 @@ color: black; } + + + \ No newline at end of file